From a468ce1cf4707d17ba65508b3f28c93a562fc94d Mon Sep 17 00:00:00 2001 From: Avinash Malipatil Date: Mon, 6 Nov 2023 05:13:50 +0000 Subject: [PATCH] SEPolicy change to allow ImsMedia to set priority of audio threads. Setting real-time thread priority for audio threads is a must to handle voice stream during vowifi calls. AVC Error: auditd : avc: denied { find } for pid=9346 uid=1001 name=scheduling_policy scontext=u:r:radio:s0 tcontext=u:object_r:scheduling_policy_service:s0 tclass=service_manager permissive=0 Bug: 308517246 Test: adb shell 'ps -Tl -p ' Change-Id: I5feff99d17e7933ff1a463900d43c14754f6cd26 --- husky/radio.te | 1 + shiba/radio.te | 1 + 2 files changed, 2 insertions(+) create mode 100644 husky/radio.te create mode 100644 shiba/radio.te diff --git a/husky/radio.te b/husky/radio.te new file mode 100644 index 0000000..a2c40a1 --- /dev/null +++ b/husky/radio.te @@ -0,0 +1 @@ +allow radio scheduling_policy_service:service_manager find; diff --git a/shiba/radio.te b/shiba/radio.te new file mode 100644 index 0000000..a2c40a1 --- /dev/null +++ b/shiba/radio.te @@ -0,0 +1 @@ +allow radio scheduling_policy_service:service_manager find;