gvisor/pkg/sentry/syscalls
Nicolas Lacasse 5fdb945a0d Rate limit the unimplemented syscall event handler.
This introduces two new types of Emitters:
1. MultiEmitter, which will forward events to other registered Emitters, and
2. RateLimitedEmitter, which will forward events to a wrapped Emitter, subject
	to given rate limits.

The methods in the eventchannel package itself act like a multiEmitter, but is
not actually an Emitter. Now we have a DefaultEmitter, and the methods in
eventchannel simply forward calls to the DefaultEmitter.

The unimplemented syscall handler now uses a RateLimetedEmitter that wraps the
DefaultEmitter.

PiperOrigin-RevId: 260612770
2019-07-29 17:12:50 -07:00
..
linux Rate limit the unimplemented syscall event handler. 2019-07-29 17:12:50 -07:00
BUILD Remove map from fd_map, change to fd_table. 2019-07-02 19:28:59 -07:00
epoll.go Cleanup straggling syscall dependencies. 2019-07-09 16:18:02 -07:00
syscalls.go Cleanup straggling syscall dependencies. 2019-07-09 16:18:02 -07:00