summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authornailyk-fr <nailyk_git@nailyk.fr>2017-02-12 13:31:17 +0100
committernailyk-fr <nailyk_git@nailyk.fr>2017-02-21 20:24:25 +0100
commit181043c8705f2f7576f1a1e21bafd7e14cde3f06 (patch)
tree79dd4d1b26ec6abe225c2a31c0ca321038973c79 /sepolicy/file_contexts
parent91b15b8584a12ebd8e321d32536ed8ced1e321d7 (diff)
shinano-common: sepolicies: Add camera related entries
Change-Id: Icfc6a998c6c5615351ed59111284858b9f27893c shinano-common: Rework credmgrd sepolicies Change-Id: Id922021b05ed0313b5cd7e506641632277a82105 shinano-common: Fix last camera denials Change-Id: Ibf96ebf0a136ffa40be85369896f57645c24157c
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts20
1 files changed, 14 insertions, 6 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 07853c1..22d0c1a 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -14,8 +14,8 @@
#iddd
/system/bin/iddd u:object_r:iddd_exec:s0
/idd(/.*)? u:object_r:iddd_file:s0
-
-/system/bin/credmgrd u:object_r:credmgr_exec:s0
+/mnt/idd u:object_r:iddd_file:s0
+/system/bin/idd-logreader u:object_r:iddd_exec:s0
# Taimport
/data/etc(/.*) u:object_r:ta_data_file:s0
@@ -24,8 +24,6 @@
/dev/socket/secd_credmgr_sock u:object_r:secd_socket:s0
/dev/socket/secd_devsec_sock u:object_r:secd_socket:s0
/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
/data/scd u:object_r:scd_data:s0
@@ -34,6 +32,16 @@
/system/bin/wvkbd u:object_r:wv_exec:s0
+
+
+###########
+#credmgrd
+/system/bin/credmgrd u:object_r:credmgrd_exec:s0
+/dev/socket/credmgr u:object_r:credmgrd_socket:s0
+/data/credmgr(/.*)? u:object_r:credmgrd_data_file:s0
+/cache/CredentialManagerData u:object_r:credmgrd_data_file:s0
+
+
#cam_socket
-/data/misc/camera/cam_socket1 u:object_r:camera_socket:s0
-/data/misc/camera/cam_socket2 u:object_r:camera_socket:s0
+/data/misc/camera(/.*) u:object_r:camera_data_file:s0
+/dev/block/mmcblk0p1 u:object_r:tad_block_device:s0