commit | 00fc5578dbbc66e1a25739f67d4ecfa62c16366f | [log] [tgz] |
---|---|---|
author | Ray Essick <essick@google.com> | Mon Apr 06 20:20:31 2020 -0700 |
committer | Ray Essick <essick@google.com> | Mon Apr 06 20:31:15 2020 -0700 |
tree | d574d9bfe7e99e9848eed4f2e40cece6649babe4 | |
parent | 42186a36a98ca88ab5dabbaab433b8c02e39ac00 [diff] [blame] |
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
diff --git a/services/mediacodec/seccomp_policy/mediacodec-arm.policy b/services/mediacodec/seccomp_policy/mediacodec-arm.policy index 3870a11..51564ca 100644 --- a/services/mediacodec/seccomp_policy/mediacodec-arm.policy +++ b/services/mediacodec/seccomp_policy/mediacodec-arm.policy
@@ -23,7 +23,7 @@ # 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