mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Allow TCMalloc to access the rseq syscall.
PiperOrigin-RevId: 243441655 Change-Id: I82918459c20f164b56cc0c5b621b004315a011ec
This commit is contained in:
parent
e2eb0597cb
commit
d90b2c6328
|
@ -114,6 +114,9 @@ PolicyBuilder& PolicyBuilder::AllowTcMalloc() {
|
|||
AllowSyscalls({__NR_munmap, __NR_nanosleep, __NR_brk, __NR_mincore});
|
||||
AllowFutexOp(FUTEX_WAKE);
|
||||
AllowLimitedMadvise();
|
||||
#ifdef __NR_rseq
|
||||
AllowSyscall(__NR_rseq);
|
||||
#endif
|
||||
|
||||
AddPolicyOnSyscall(__NR_mprotect, {
|
||||
ARG_32(2),
|
||||
|
|
Loading…
Reference in New Issue
Block a user