summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorjaejyn.shin <jaejyn.shin@lge.com>2015-06-16 20:12:01 +0900
committerThierry Strudel <tstrudel@google.com>2015-06-17 14:26:02 -0700
commit6d130f9e00d166f1588d0fe47d4ae5a9527171bd (patch)
tree02b9a2292c6c32d8a627b5de70c841c88d259ea9 /sepolicy/file_contexts
parent44247da2019b2eafa5d1444d62cb84ed9d161e1d (diff)
downloadbullhead-6d130f9e00d166f1588d0fe47d4ae5a9527171bd.tar.gz
bullhead/sepolicy : domain trans init to init-power-sh and auditallow about init-power-sh.
avc: denied { read } for pid=4831 comm="init.bullhead.p" path="/system/bin/sh" dev="dm-0" ino=518 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=1 avc: denied { search } for pid=4831 comm="init.bullhead.p" name="msm_thermal" dev="sysfs" ino=6817 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=1 avc: denied { write } for pid=4831 comm="init.bullhead.p" name="enabled" dev="sysfs" ino=26053 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=1 avc: denied { open } for pid=4831 comm="init.bullhead.p" path="/sys/module/msm_thermal/core_control/enabled" dev="sysfs" ino=26053 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=1 avc: denied { write } for pid=4831 comm="init.bullhead.p" name="mode" dev="sysfs" ino=25974 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 avc: denied { write } for pid=4831 comm="init.bullhead.p" name="online" dev="sysfs" ino=6317 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=1 avc: denied { search } for pid=4831 comm="init.bullhead.p" name="msm_performance" dev="sysfs" ino=6516 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_performance:s0 tclass=dir permissive=1 avc: denied { write } for pid=4831 comm="init.bullhead.p" name="cpu_max_freq" dev="sysfs" ino=6531 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_performance:s0 tclass=file permissive=1 avc: denied { open } for pid=4831 comm="init.bullhead.p" path="/sys/module/msm_performance/parameters/cpu_max_freq" dev="sysfs" ino=6531 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_performance:s0 tclass=file permissive=1 avc: denied { dac_override } for pid=4831 comm="init.bullhead.p" capability=1 scontext=u:r:init-power-sh:s0 tcontext=u:r:init-power-sh:s0 tclass=capability permissive=1 avc: denied { write } for pid=4831 comm="init.bullhead.p" name="sched_migration_fixup" dev="proc" ino=36866 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 avc: denied { net_admin } for pid=4831 comm="init.bullhead.p" capability=12 scontext=u:r:init-power-sh:s0 tcontext=u:r:init-power-sh:s0 tclass=capability permissive=1 Change-Id: I98cb86b06bf1764f60624543196db4ba2b523f85
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index ebb9573..e7d2d8d 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -90,6 +90,7 @@
/system/bin/ims_rtp_daemon u:object_r:ims_exec:s0
/system/bin/imscmservice u:object_r:imscm_exec:s0
/system/bin/cnd u:object_r:cnd_exec:s0
+/system/bin/init.bullhead.power.sh u:object_r:init-power-sh_exec:s0
# Sysfs files used by qmuxd
/sys/devices/virtual/smdpkt/smdcntl([0-9])+/open_timeout u:object_r:sysfs_smdcntl_open_timeout:s0
@@ -114,6 +115,8 @@
/sys/bus/msm_subsys/devices/subsys4/restart_level u:object_r:sysfs_ssr_toggle:s0
/sys/devices/soc0/.* u:object_r:sysfs_socinfo:s0
/sys/module/msm_serial_hs/parameters/debug_mask u:object_r:sysfs_msmuart_file:s0
+/sys/devices/soc.0/qcom,bcl[^/]*(/.*)? u:object_r:sysfs_thermal:s0
+/sys/module/lpm_levels(/.*)? u:object_r:sysfs_power_management:s0
# Fingerprint device
/dev/fpc1020 u:object_r:fpc_device:s0