aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/sensorhubd.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/sensorhubd.te')
-rw-r--r--sepolicy/sensorhubd.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/sensorhubd.te b/sepolicy/sensorhubd.te
index d856a2b..bc0c928 100644
--- a/sepolicy/sensorhubd.te
+++ b/sepolicy/sensorhubd.te
@@ -11,6 +11,7 @@ allow sensorhubd sensor_sysfs_file:file rw_file_perms;
allow sensorhubd sysfs:dir r_dir_perms;
allow sensorhubd sysfs:file r_file_perms;
allow sensorhubd rootfs:lnk_file r_file_perms;
+allow sensorhubd self:capability dac_override;
# Note: sensorhubd tries to exec a script to update the firmware, we
# specifically do not allow that since we don't ship the script