Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00fc5578 authored by Ray Essick's avatar Ray Essick
Browse files

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
parent 42186a36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ ftruncate64: 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
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ ftruncate64: 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
prctl: 1
getuid32: 1
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ ftruncate: 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
prctl: 1
writev: 1