seccomp: Allow mremap to use MEMRMREMAP_MAYMOVE flag

Bug: 151163101
Bug: 152908945
Test: see bug, shouldn't see crash in mediacodec minijail

Merged-In: If25dc5a56fe2f549d7867aa5a459b949be7e6947
Change-Id: I9835b0e8ef2e8286b5142c6bec9fb7796d3947cc
Signed-off-by: DennySPb <dennyspb@gmail.com>
This commit is contained in:
Ray Essick 2020-04-06 20:20:31 -07:00 committed by Giammarco Senatore
parent 974954b682
commit 7e231d0a53
No known key found for this signature in database
GPG key ID: 661348FC1E144F04

View file

@ -34,7 +34,7 @@ getrandom: 1
# on ARM is statically loaded at 0xffff 0000. See
# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html
# for more details.
mremap: arg3 == 3
mremap: arg3 == 3 || arg3 == MREMAP_MAYMOVE
munmap: 1
mprotect: 1
madvise: 1