gvisor/pkg/sentry
Adin Scannell c98e7f0d19 Signalfd support
Note that the exact semantics for these signalfds are slightly different from
Linux. These signalfds are bound to the process at creation time. Reads, polls,
etc. are all associated with signals directed at that task. In Linux, all
signalfd operations are associated with current, regardless of where the
signalfd originated.

In practice, this should not be an issue given how signalfds are used. In order
to fix this however, we will need to plumb the context through all the event
APIs. This gets complicated really quickly, because the waiter APIs are all
netstack-specific, and not generally exposed to the context.  Probably not
worthwhile fixing immediately.

PiperOrigin-RevId: 269901749
2019-09-18 15:16:42 -07:00
..
arch Add ARM64 support to pkg/sentry/loader 2019-07-21 19:30:18 -07:00
context Preallocate auth.NewAnonymousCredentials() in contexttest.TestContext. 2019-06-20 13:36:14 -07:00
control Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
device Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
fs gvisor: return ENOTDIR from the unlink syscall 2019-09-13 21:44:57 -07:00
fsimpl Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
hostcpu Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
hostmm Update canonical repository. 2019-06-13 16:50:15 -07:00
inet netstack: Don't start endpoint goroutines too soon on restore. 2019-08-08 12:33:11 -07:00
kernel Signalfd support 2019-09-18 15:16:42 -07:00
limits Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
loader Fix comment typo 2019-08-27 11:44:06 -07:00
memmap Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
mm Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
pgalloc Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
platform platform/ptrace: log exit code for stub processes 2019-09-17 12:45:22 -07:00
safemem Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
sighandling Update canonical repository. 2019-06-13 16:50:15 -07:00
socket Implement splice methods for pipes and sockets. 2019-09-12 17:43:27 -07:00
state netstack: Don't start endpoint goroutines too soon on restore. 2019-08-08 12:33:11 -07:00
strace Better strace logs for statx. 2019-09-05 18:03:53 -07:00
syscalls Signalfd support 2019-09-18 15:16:42 -07:00
time Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
unimpl Update canonical repository. 2019-06-13 16:50:15 -07:00
uniqueid Update canonical repository. 2019-06-13 16:50:15 -07:00
usage Remove support for non-incremental mapped accounting. 2019-08-30 19:06:55 -07:00
usermem Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
vfs Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
watchdog Add list of stuck tasks to panic message 2019-06-21 12:46:53 -07:00
BUILD go_marshal: Implement automatic generation of ABI marshalling code. 2019-09-09 13:36:39 -07:00