mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Allow restartable sequences access to poll.
This is used as part of reading the proc files that tell us how many CPUs are present. PiperOrigin-RevId: 602953725 Change-Id: I0b64c8d3992119bb956d262cd0f39500a680cc60
This commit is contained in:
parent
0e98cceb32
commit
b9c84a1f75
|
@ -772,6 +772,7 @@ PolicyBuilder& PolicyBuilder::AllowRestartableSequences(
|
|||
AllowFutexOp(FUTEX_WAKE);
|
||||
AllowRead();
|
||||
AllowOpen();
|
||||
AllowPoll();
|
||||
AllowSyscall(__NR_close);
|
||||
AddPolicyOnSyscall(__NR_rt_sigprocmask, {
|
||||
ARG_32(0),
|
||||
|
|
Loading…
Reference in New Issue
Block a user