gvisor/pkg
Michael Pratt b52cbd6028 Don't allow sigtimedwait to catch unblockable signals
The existing logic attempting to do this is incorrect. Unary ^ has
higher precedence than &^, so mask always has UnblockableSignals
cleared, allowing dequeueSignalLocked to dequeue unblockable signals
(which allows userspace to ignore them).

Switch the logic so that unblockable signals are always masked.

PiperOrigin-RevId: 244058487
Change-Id: Ib19630ac04068a1fbfb9dc4a8eab1ccbdb21edc3
2019-04-17 13:43:20 -07:00
..
abi Fix index out of bounds in tty implementation. 2019-04-03 13:00:34 -07:00
amutex Remove license comments 2019-01-31 11:12:53 -08:00
atomicbitops Remove license comments 2019-01-31 11:12:53 -08:00
binary Internal change. 2019-04-17 11:40:11 -07:00
bits Remove license comments 2019-01-31 11:12:53 -08:00
bpf Remove license comments 2019-01-31 11:12:53 -08:00
compressio Remove license comments 2019-01-31 11:12:53 -08:00
control Remove license comments 2019-01-31 11:12:53 -08:00
cpuid Set fixed field in CPUID function 2 2019-04-04 18:01:56 -07:00
dhcp Resolve stringer TODO 2019-03-25 14:59:58 -07:00
eventchannel Internal change. 2019-04-03 22:02:51 -07:00
fd Keep FilePayloads open on server side until after RPC completed. 2019-02-08 10:51:24 -08:00
fdnotifier Convert poll/select to operate more directly on linux.PollFD 2019-04-17 12:15:01 -07:00
gate Remove license comments 2019-01-31 11:12:53 -08:00
ilist Use (*testing.T).Helper to clean up test failures 2019-04-09 05:17:32 -07:00
linewriter Remove license comments 2019-01-31 11:12:53 -08:00
log Remove license comments 2019-01-31 11:12:53 -08:00
metric Remove license comments 2019-01-31 11:12:53 -08:00
p9 Fix typo 2019-02-28 18:47:13 -08:00
rand Remove license comments 2019-01-31 11:12:53 -08:00
refs Remove license comments 2019-01-31 11:12:53 -08:00
seccomp Add profiling commands to runsc 2019-03-11 11:47:30 -07:00
secio Remove license comments 2019-01-31 11:12:53 -08:00
segment Remove license comments 2019-01-31 11:12:53 -08:00
sentry Don't allow sigtimedwait to catch unblockable signals 2019-04-17 13:43:20 -07:00
sleep Remove license comments 2019-01-31 11:12:53 -08:00
state Remove license comments 2019-01-31 11:12:53 -08:00
syserr Implement IP_MULTICAST_LOOP. 2019-03-08 15:49:17 -08:00
syserror Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
tcpip Return error from fdbased.New 2019-04-17 11:16:35 -07:00
tmutex Remove license comments 2019-01-31 11:12:53 -08:00
unet Internal change. 2019-02-24 17:31:59 -08:00
urpc Internal change. 2019-02-08 14:14:14 -08:00
waiter Convert poll/select to operate more directly on linux.PollFD 2019-04-17 12:15:01 -07:00