blob: ab9356000f1c28f4a01079145e7347201d1f225e [file] [log] [blame]
rpcraigbac99922012-12-03 06:07:45 -05001# watchdogd seclabel is specified in init.<board>.rc
2type watchdogd, domain;
Stephen Smalley043b9022013-10-29 14:42:41 -04003allow watchdogd self:capability mknod;
4allow watchdogd device:dir { add_name write remove_name };
5allow watchdogd watchdog_device:chr_file rw_file_perms;
6# because of /dev/__kmsg__ and /dev/__null__
7write_klog(watchdogd)
8type_transition watchdogd device:chr_file null_device "__null__";
9allow watchdogd null_device:chr_file { create unlink };