summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authornailyk-fr <nailyk_git@nailyk.fr>2017-02-09 12:46:00 +0100
committernailyk-fr <nailyk_git@nailyk.fr>2017-02-21 20:15:18 +0100
commitb286cc9e9453297e668ce342e39bf48a1afd9f92 (patch)
treed3898687d10d1b2466a1ae9ba9d6a78be0a130e3 /sepolicy
parentcdb21d2ec2a55a6b4d37b5249d47e4ab7ce95a0e (diff)
shinano-common: Adjust idd perms
Change-Id: If920b5e5265aca89020bd000904d586cd879cc85
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/file_contexts5
-rw-r--r--sepolicy/idd.te9
2 files changed, 14 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 7b54068..69b759b 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -26,3 +26,8 @@
/dev/socket/secd_ebl_sock u:object_r:secd_socket:s0
/data/credmgr u:object_r:secd_data_file:s0
/data/credmgr(/.*) u:object_r:secd_data_file:s0
+
+/system/bin/scd u:object_r:scd_exec:s0
+/system/bin/scdnotifier u:object_r:scd_exec:s0
+
+/system/bin/wvkbd u:object_r:wv_exec:s0
diff --git a/sepolicy/idd.te b/sepolicy/idd.te
index 218bc0c..a840e9b 100644
--- a/sepolicy/idd.te
+++ b/sepolicy/idd.te
@@ -13,3 +13,12 @@ type_transition iddd system_data_file:file iddd_file;
type credmgr, domain;
type credmgr_exec, exec_type, file_type;
init_daemon_domain(credmgr);
+
+
+type scd, domain;
+type scd_exec, exec_type, file_type;
+init_daemon_domain(scd)
+
+type wv,domain;
+type wv_exec, exec_type, file_type;
+init_daemon_domain(wv)