commit | 61811a640bd60321324b436069531a4409ca13ef | [log] [tgz] |
---|---|---|
author | Hirokazu Honda <hiroh@google.com> | Tue Jul 17 10:12:44 2018 +0900 |
committer | Hirokazu Honda <hiroh@google.com> | Thu Jul 19 00:06:06 2018 +0900 |
tree | 4e3e0ef8fa38f832c5a3163e9ec9f90b320c46db | |
parent | a0b8b596ebe7c608c6ffb66da697262f9e46f49b [diff] |
mediacodec-x86.policy: Allow media.omx to call statfs64 on x86 platform After using std::thread in MojoThread, 'statfs64' needs to be called in media.omx initialization. This adds statfs64 to system calls list that media.omx process is allowed to execute. Bug: 110722333 Test: m Change-Id: I79d9223cb4189941001abdce5456c4c5e9f9ffe1
diff --git a/services/mediacodec/seccomp_policy/mediacodec-x86.policy b/services/mediacodec/seccomp_policy/mediacodec-x86.policy index 6e6b276..4031b11 100644 --- a/services/mediacodec/seccomp_policy/mediacodec-x86.policy +++ b/services/mediacodec/seccomp_policy/mediacodec-x86.policy
@@ -24,6 +24,7 @@ mmap2: 1 fstat64: 1 stat64: 1 +statfs64: 1 madvise: 1 fstatat64: 1 futex: 1