aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxkeita <keita_nya@live.jp>2017-06-28 08:06:21 +0000
committerxkeita <keita_nya@live.jp>2017-06-28 08:08:53 +0000
commita3068383a77f12c6dea75ff0adfb4a85cfee1371 (patch)
tree6c3bc1206f1c01889c4acf928d6434e584f24b0f
parent6225587a968e7e13aee02ec16829b021575e1a52 (diff)
shinano: Address TFA amp sepolicy denial
Change-Id: I6e93799b92a66b514da186b249155795408b2e08
-rw-r--r--sepolicy/tfa_amp.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/tfa_amp.te b/sepolicy/tfa_amp.te
index 9191e40..ca64588 100644
--- a/sepolicy/tfa_amp.te
+++ b/sepolicy/tfa_amp.te
@@ -4,5 +4,7 @@ type tfa_amp_exec, exec_type, file_type;
# Started by init
init_daemon_domain(tfa_amp)
+allow tfa_amp self:capability dac_override;
+
# Access to /dev/tfa98xx
allow tfa_amp audio_device:chr_file rw_file_perms;