mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Remove arg filter on rt_sigprocmask
in AllowStaticStartup
PiperOrigin-RevId: 414692179 Change-Id: If2a5f741ad38f626287988911b85bef7a711f80a
This commit is contained in:
parent
8e8ce0955f
commit
8979b47d7f
|
@ -611,10 +611,7 @@ PolicyBuilder& PolicyBuilder::AllowStaticStartup() {
|
|||
JEQ32(__SIGRTMIN + 1, ALLOW),
|
||||
});
|
||||
|
||||
AddPolicyOnSyscall(__NR_rt_sigprocmask, {
|
||||
ARG_32(0),
|
||||
JEQ32(SIG_UNBLOCK, ALLOW),
|
||||
});
|
||||
AllowSyscall(__NR_rt_sigprocmask);
|
||||
|
||||
#ifdef SAPI_X86_64
|
||||
// The second argument is a pointer.
|
||||
|
|
Loading…
Reference in New Issue
Block a user