mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Allow FUTEX_WAKE
for recent libc allocators
PiperOrigin-RevId: 353827808 Change-Id: I6d1509016297fd16bec0ae6ea263896a1af9dc37
This commit is contained in:
parent
1459cc612e
commit
6f33cef716
|
@ -165,6 +165,7 @@ PolicyBuilder& PolicyBuilder::AllowTcMalloc() {
|
|||
|
||||
PolicyBuilder& PolicyBuilder::AllowSystemMalloc() {
|
||||
AllowSyscalls({__NR_munmap, __NR_brk});
|
||||
AllowFutexOp(FUTEX_WAKE);
|
||||
AddPolicyOnSyscall(__NR_mremap, {
|
||||
ARG_32(3),
|
||||
JEQ32(MREMAP_MAYMOVE, ALLOW),
|
||||
|
|
Loading…
Reference in New Issue
Block a user