commit | 5863a69b2bfc5a24978623e7d45bd8b65b0e4e39 | [log] [tgz] |
---|---|---|
author | Joel Fernandes <joelaf@google.com> | Thu Feb 07 11:10:41 2019 -0800 |
committer | android-build-merger <android-build-merger@google.com> | Thu Feb 07 11:10:41 2019 -0800 |
tree | c6fd85d6c2c90ca2be1b94a7def7f1ec41d2b84b | |
parent | 5dd3130076526467611a374d32e2a4f81b49f38d [diff] | |
parent | 5812a529e486b2bd5a90ae8183fc4291bb9a905d [diff] |
Merge "Add syscalls to the allowed list" am: b4e48f1c6d am: 5812a529e4 Change-Id: I90d21fe98ec6e1ebcab5798ff787681b01385c55
diff --git a/services/mediacodec/seccomp_policy/mediacodec-arm.policy b/services/mediacodec/seccomp_policy/mediacodec-arm.policy index 56d7f27..3870a11 100644 --- a/services/mediacodec/seccomp_policy/mediacodec-arm.policy +++ b/services/mediacodec/seccomp_policy/mediacodec-arm.policy
@@ -14,6 +14,7 @@ mmap2: 1 getrandom: 1 memfd_create: 1 +ftruncate: 1 ftruncate64: 1 # mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
diff --git a/services/mediacodec/seccomp_policy/mediacodec-x86.policy b/services/mediacodec/seccomp_policy/mediacodec-x86.policy index 821e69f..b4f5ee9 100644 --- a/services/mediacodec/seccomp_policy/mediacodec-x86.policy +++ b/services/mediacodec/seccomp_policy/mediacodec-x86.policy
@@ -50,6 +50,9 @@ nanosleep: 1 sched_setscheduler: 1 uname: 1 +memfd_create: 1 +ftruncate: 1 +ftruncate64: 1 # Required by AddressSanitizer gettid: 1