mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Allow TcMalloc to use membarrier syscall.
PiperOrigin-RevId: 348604579 Change-Id: Ibe54acc51597f36d1682368eb6baf1f8d45cf3dd
This commit is contained in:
parent
d0c8224e61
commit
142c35898c
|
@ -125,7 +125,8 @@ PolicyBuilder& PolicyBuilder::AllowScudoMalloc() {
|
|||
|
||||
PolicyBuilder& PolicyBuilder::AllowTcMalloc() {
|
||||
AllowTime();
|
||||
AllowSyscalls({__NR_munmap, __NR_nanosleep, __NR_brk, __NR_mincore});
|
||||
AllowSyscalls(
|
||||
{__NR_munmap, __NR_nanosleep, __NR_brk, __NR_mincore, __NR_membarrier});
|
||||
AllowFutexOp(FUTEX_WAKE);
|
||||
AllowLimitedMadvise();
|
||||
#ifdef __NR_rseq
|
||||
|
|
Loading…
Reference in New Issue
Block a user