mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Allow MADV_HUGEPAGE used by tcmalloc
PiperOrigin-RevId: 501815420 Change-Id: I22d6408e4e6ca375823b7b9448547cc082fe5421
This commit is contained in:
parent
2ae5370cfb
commit
58c3f80d57
|
@ -340,6 +340,7 @@ PolicyBuilder& PolicyBuilder::AllowLimitedMadvise() {
|
|||
ARG_32(2),
|
||||
JEQ32(MADV_DONTNEED, ALLOW),
|
||||
JEQ32(MADV_REMOVE, ALLOW),
|
||||
JEQ32(MADV_HUGEPAGE, ALLOW),
|
||||
JEQ32(MADV_NOHUGEPAGE, ALLOW),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user