diff options
author | Avinash Malipatil <avinashmp@google.com> | 2023-11-06 05:13:50 +0000 |
---|---|---|
committer | Avinash Malipatil <avinashmp@google.com> | 2023-11-08 05:36:42 +0000 |
commit | a468ce1cf4707d17ba65508b3f28c93a562fc94d (patch) | |
tree | 9a4eda6bee4abc41d50bd75408942cadb3b60018 | |
parent | b60e65b48c60ffd5541b13fa2d94be7877f4a611 (diff) | |
download | shusky-sepolicy-a468ce1cf4707d17ba65508b3f28c93a562fc94d.tar.gz |
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
-rw-r--r-- | husky/radio.te | 1 | ||||
-rw-r--r-- | shiba/radio.te | 1 |
2 files changed, 2 insertions, 0 deletions
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; |