aboutsummaryrefslogtreecommitdiffstats
path: root/watchdogd.te
diff options
context:
space:
mode:
Diffstat (limited to 'watchdogd.te')
-rw-r--r--watchdogd.te7
1 files changed, 1 insertions, 6 deletions
diff --git a/watchdogd.te b/watchdogd.te
index ab93560..00292a9 100644
--- a/watchdogd.te
+++ b/watchdogd.te
@@ -1,9 +1,4 @@
# watchdogd seclabel is specified in init.<board>.rc
type watchdogd, domain;
-allow watchdogd self:capability mknod;
-allow watchdogd device:dir { add_name write remove_name };
allow watchdogd watchdog_device:chr_file rw_file_perms;
-# because of /dev/__kmsg__ and /dev/__null__
-write_klog(watchdogd)
-type_transition watchdogd device:chr_file null_device "__null__";
-allow watchdogd null_device:chr_file { create unlink };
+allow watchdogd kmsg_device:chr_file rw_file_perms;