summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortunturn <arbiter1000@gmail.com>2017-04-12 17:06:06 +1000
committernailyk-fr <nailyk_git@nailyk.fr>2017-04-21 19:08:28 +0000
commit8a9c19a16a7c2cd2f883d1a89976f86c96fa1d5f (patch)
tree339c6cdfc6d4ecc6e250f47416b2b274e70f0ac5
parent8c360fd846e5d175405cef934de267c536bd24ef (diff)
sepolicy: fix more scd denials
Change-Id: I1bdee42245e2cbf22ff030e0879064880ba90c0c
-rw-r--r--sepolicy/workarounds.te4
1 files changed, 2 insertions, 2 deletions
diff --git a/sepolicy/workarounds.te b/sepolicy/workarounds.te
index 7b0b6ab..686d5cb 100644
--- a/sepolicy/workarounds.te
+++ b/sepolicy/workarounds.te
@@ -21,8 +21,8 @@ allow thermanager sysfs_battery_supply:dir search;
allow thermanager sysfs_battery_supply:file { open read write };
#============= scd ==============
-allow scd scd_data:dir { getattr search };
-allow scd scd_data:file { getattr open read write };
+allow scd scd_data:dir { getattr search write add_name };
+allow scd scd_data:file { getattr open read write create };
allow scd socket_device:dir { add_name remove_name write };
allow scd socket_device:sock_file { create getattr setattr unlink write };
allow scd sysfs:file { getattr open read };