Allow MADV_HUGEPAGE used by tcmalloc

PiperOrigin-RevId: 501815420
Change-Id: I22d6408e4e6ca375823b7b9448547cc082fe5421
This commit is contained in:
Wiktor Garbacz 2023-01-13 04:40:47 -08:00 committed by Copybara-Service
parent 2ae5370cfb
commit 58c3f80d57

View File

@ -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),
});
}