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

Commit 42186a36 authored by Robin Lee's avatar Robin Lee Committed by Ray Essick
Browse files

Give 32-bit mediaextractor permission to mremap()

Test: Boot device, see if setup video plays
Test: atp/tv_***_video_playback_smoke_test
Bug: 151156096
Bug: 151163101
Bug: 152908945
Change-Id: I768bf36765fdc5dbd81c4c7632741f47e148147b
Merged-In: I768bf36765fdc5dbd81c4c7632741f47e148147b
parent f8dfe576
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -45,6 +45,14 @@ getrandom: 1
# for dynamically loading extractors
pread64: 1

# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
# parser support for '<' is in this needs to be modified to also prevent
# |old_address| and |new_address| from touching the exception vector page, which
# 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 || arg3 == MREMAP_MAYMOVE

# for FileSource
readlinkat: 1
_llseek: 1