Remove arg filter on rt_sigprocmask in AllowStaticStartup

PiperOrigin-RevId: 414692179
Change-Id: If2a5f741ad38f626287988911b85bef7a711f80a
This commit is contained in:
Wiktor Garbacz 2021-12-07 05:03:35 -08:00 committed by Copybara-Service
parent 8e8ce0955f
commit 8979b47d7f

View File

@ -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.