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

Commit 78668ac7 authored by Chong Zhang's avatar Chong Zhang
Browse files

allow mremap to use MEMRMREMAP_MAYMOVE flag

bug: 151163101
test: see bug, shouldn't see crash in mediacodec minijail

Change-Id: If25dc5a56fe2f549d7867aa5a459b949be7e6947
parent 6b4d9a1f
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
@@ -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