summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/contexttest
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-04-17 13:42:16 -0700
committerShentubot <shentubot@google.com>2019-04-17 13:43:20 -0700
commitb52cbd60280342f25411561702e97fe650fdaa9c (patch)
tree66cdc3cc800c07b708ab282d9323f11886834d83 /pkg/sentry/kernel/contexttest
parentc8cee7108f1a1b37e89961c6dd69ccab97952c86 (diff)
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
Diffstat (limited to 'pkg/sentry/kernel/contexttest')
0 files changed, 0 insertions, 0 deletions