aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/smc_pa.te
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2015-07-18 17:59:44 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-07-31 11:18:17 -0700
commitd9b58b74350bfa8ef34b5634d847097708bb0446 (patch)
tree20ef8f8b9133ba44da7b93fafaa36f0e13acb564 /sepolicy/smc_pa.te
parent1a5fa045b5cac4c39bc044d4c226ec9a3448116d (diff)
downloaddevice_samsung_espressowifi-d9b58b74350bfa8ef34b5634d847097708bb0446.zip
device_samsung_espressowifi-d9b58b74350bfa8ef34b5634d847097708bb0446.tar.gz
device_samsung_espressowifi-d9b58b74350bfa8ef34b5634d847097708bb0446.tar.bz2
P31XX: Update SELinux Policies [2/2]
- Move common policies to omap4-common - remove redundant seclabel in init.espresso.rc - address some denials Change-Id: I396215f3eb1316c3ba96e5eb98a03b98b77543fd
Diffstat (limited to 'sepolicy/smc_pa.te')
-rw-r--r--sepolicy/smc_pa.te8
1 files changed, 8 insertions, 0 deletions
diff --git a/sepolicy/smc_pa.te b/sepolicy/smc_pa.te
new file mode 100644
index 0000000..de15f41
--- /dev/null
+++ b/sepolicy/smc_pa.te
@@ -0,0 +1,8 @@
+# smc_pa
+type smc_pa, domain;
+type smc_pa_exec, exec_type, file_type;
+
+init_daemon_domain(smc_pa)
+
+allow smc_pa self:capability { dac_override };
+allow smc_pa smc_device:chr_file { read write open ioctl };