From 8d9a91edf7265c998cebe2bc20c05260038094ae Mon Sep 17 00:00:00 2001 From: ZhuChenyanX Date: Tue, 19 Nov 2024 08:42:39 +0000 Subject: [PATCH] Fix media driver debug mode runtime error Tracked-On: Signed-off-by: ZhuChenyanX --- .../android.hardware.media.c2@1.0-x86_64.policy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/c2_store/seccomp_policy/android.hardware.media.c2@1.0-x86_64.policy b/c2_store/seccomp_policy/android.hardware.media.c2@1.0-x86_64.policy index e5581eed..91d3f520 100644 --- a/c2_store/seccomp_policy/android.hardware.media.c2@1.0-x86_64.policy +++ b/c2_store/seccomp_policy/android.hardware.media.c2@1.0-x86_64.policy @@ -77,4 +77,9 @@ getegid32: 1 getpgid: 1 sigkill: 1 +# Required by media_driver debug mode +mkdirat: 1 +semget: 1 +semtimedop: 1 + @include /system/etc/seccomp_policy/crash_dump.x86_64.policy