sm8250-common: Import seccomp policy

Change-Id: I37ce3ffb096b18e08f994d0dc327456f850e35eb
This commit is contained in:
LuK1337
2021-01-04 22:28:07 +01:00
parent 5a92c56a82
commit 5e1e5980eb
8 changed files with 480 additions and 0 deletions

21
seccomp/mediacodec.policy Normal file
View File

@@ -0,0 +1,21 @@
# device specific syscalls
# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
ARM_cacheflush: 1
inotify_init1: 1
inotify_add_watch: 1
inotify_rm_watch: 1
uname: 1
ueventd: 1
timer_create: 1
timer_settime: 1
rt_sigtimedwait: 1
readlink: 1
open: 1