gvisor/pkg/sentry/syscalls
Andrei Vagin 29955a4797 futex: wake one waiter if futex_wake is called with a non-positive value
This change is needed to be compatible with the Linux kernel.

There is no glibc wrapper for the futex system call, so it is easy to
make a mistake and call syscall(__NR_futex, FUTEX_WAKE, addr) without
the fourth argument. This works on Linux, because it wakes one waiter
even if val is nonpositive.

PiperOrigin-RevId: 286494396
2019-12-19 17:26:44 -08:00
..
linux futex: wake one waiter if futex_wake is called with a non-positive value 2019-12-19 17:26:44 -08: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