add mediacodec seccomp policy
authorStricted <info@stricted.net>
Tue, 1 May 2018 23:44:03 +0000 (01:44 +0200)
committerStricted <info@stricted.net>
Tue, 1 May 2018 23:53:56 +0000 (01:53 +0200)
Change-Id: Ic631d67c2ef400eba486ea41a7b99dd43f36e563

seccomp/mediacodec-seccomp.policy [new file with mode: 0644]

diff --git a/seccomp/mediacodec-seccomp.policy b/seccomp/mediacodec-seccomp.policy
new file mode 100644 (file)
index 0000000..2fc621b
--- /dev/null
@@ -0,0 +1,14 @@
+# device specific syscalls
+# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy
+sched_getscheduler: 1
+sched_setaffinity: 1
+sched_getparam: 1
+sendto: 1
+getdents64: 1
+gettid: 1
+geteuid32: 1
+getgid32: 1
+getegid32: 1
+getpid: 1
+uname: 1
+fsync : 1