mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Allow TCMalloc to call madvise with MADV_NOHUGEPAGE
PiperOrigin-RevId: 240555428 Change-Id: I05fd61ecd09fc0a3f76dade0341d35b04a590b90
This commit is contained in:
parent
dda0daa449
commit
137f772f2b
|
@ -176,6 +176,7 @@ PolicyBuilder& PolicyBuilder::AllowLimitedMadvise() {
|
|||
ARG_32(2),
|
||||
JEQ32(MADV_DONTNEED, ALLOW),
|
||||
JEQ32(MADV_REMOVE, ALLOW),
|
||||
JEQ32(MADV_NOHUGEPAGE, ALLOW),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user