summaryrefslogtreecommitdiff
path: root/seccomp/mediacodec-seccomp.policy
diff options
context:
space:
mode:
Diffstat (limited to 'seccomp/mediacodec-seccomp.policy')
-rw-r--r--seccomp/mediacodec-seccomp.policy12
1 files changed, 12 insertions, 0 deletions
diff --git a/seccomp/mediacodec-seccomp.policy b/seccomp/mediacodec-seccomp.policy
new file mode 100644
index 0000000..81d042b
--- /dev/null
+++ b/seccomp/mediacodec-seccomp.policy
@@ -0,0 +1,12 @@
+# 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
+inotify_init1: 1
+inotify_add_watch: 1