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

Commit c6eacf4a authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Update seccomp policy to support crash dumps

Bug: 129426284
Test: manual
Change-Id: Ic25ac665e5ff16ac98311f91bf598404313b0616
parent 11df024f
Loading
Loading
Loading
Loading
+18 −1
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@ newfstatat: 1
fstatfs: 1
memfd_create: 1
ftruncate: 1
ftruncate64: 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
@@ -62,3 +61,21 @@ rt_sigreturn: 1
getrandom: 1
madvise: 1

# crash dump policy additions
clock_gettime: 1
getpid: 1
gettid: 1
pipe2: 1
recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
#mprotect: arg2 in 0x1|0x2
munmap: 1
#mmap: arg2 in 0x1|0x2
geteuid: 1
getgid: 1
getegid: 1
getgroups: 1