Per discussions with security, Mojo should expose a basic ability to impose and monitor quotas on its primitives.
As a starting point we should support receive queue length and memory size quotas on message pipe endpoints.
Exceeding a quota should raise a signal on its handle so that monitoring can be done efficiently using the existing Mojo traps API, with no need to schedule further async work in response.
Comment 1 by roc...@chromium.org
, Jul 12