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

Commit 3c49347c authored by Joel Fernandes's avatar Joel Fernandes
Browse files

Add memfd related missing syscalls to allowed list



Bug: 113362644
Change-Id: I7ae3305ad12600a38faebf0b66cb5b954862df5e
Signed-off-by: default avatarJoel Fernandes <joelaf@google.com>
parent caac4484
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ ppoll: 1
mmap2: 1
getrandom: 1
memfd_create: 1
ftruncate: 1
ftruncate64: 1

# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
+3 −0
Original line number Diff line number Diff line
@@ -55,6 +55,9 @@ write: 1
nanosleep: 1
sched_setscheduler: 1
uname: 1
memfd_create: 1
ftruncate: 1
ftruncate64: 1

# Required by AddressSanitizer
gettid: 1
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ ppoll: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
memfd_create: 1
ftruncate: 1
ftruncate64: 1

# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ fstat: 1
newfstatat: 1
fstatfs: 1
memfd_create: 1
ftruncate: 1
ftruncate64: 1

# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail