From 181043c8705f2f7576f1a1e21bafd7e14cde3f06 Mon Sep 17 00:00:00 2001 From: nailyk-fr Date: Sun, 12 Feb 2017 13:31:17 +0100 Subject: 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 --- sepolicy/file_contexts | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'sepolicy/file_contexts') 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 -- cgit v1.2.3