summaryrefslogtreecommitdiffstats
path: root/sepolicy/healthd.te
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2014-11-27 22:54:43 +0000
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-11-27 22:57:21 +0000
commitd22efb80e1bd1aea3710041fd6cd9b0dfd808149 (patch)
tree9701d0a526234c821f0ffc1b6da310d8a1bfb4c1 /sepolicy/healthd.te
parent58f88184d585c70b6c12599215e2a618663487ca (diff)
downloadvendor_replicant-d22efb80e1bd1aea3710041fd6cd9b0dfd808149.tar.gz
vendor_replicant-d22efb80e1bd1aea3710041fd6cd9b0dfd808149.tar.bz2
vendor_replicant-d22efb80e1bd1aea3710041fd6cd9b0dfd808149.zip
selinux: Fix healthd's access to /dev nodes
Our healthd's support for power-on alarms adds some steps that imply reading files its user doesn't own. Let it. Change-Id: I3d4735aaab8fbec7acc460f812bc21f1dfa516ab
Diffstat (limited to 'sepolicy/healthd.te')
-rw-r--r--sepolicy/healthd.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/healthd.te b/sepolicy/healthd.te
new file mode 100644
index 00000000..4711cf5c
--- /dev/null
+++ b/sepolicy/healthd.te
@@ -0,0 +1 @@
+allow healthd self:capability { dac_override dac_read_search };