From 79f1e6d62f91213ca55f20e31d8f4d7edcf4a84c Mon Sep 17 00:00:00 2001 From: Stricted Date: Wed, 2 May 2018 01:44:03 +0200 Subject: [PATCH] add mediacodec seccomp policy Change-Id: Ic631d67c2ef400eba486ea41a7b99dd43f36e563 --- seccomp/mediacodec-seccomp.policy | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 seccomp/mediacodec-seccomp.policy diff --git a/seccomp/mediacodec-seccomp.policy b/seccomp/mediacodec-seccomp.policy new file mode 100644 index 0000000..2fc621b --- /dev/null +++ b/seccomp/mediacodec-seccomp.policy @@ -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 -- 2.20.1