2012-12-03 12:07:45 +01:00
|
|
|
# watchdogd seclabel is specified in init.<board>.rc
|
|
|
|
type watchdogd, domain;
|
2013-05-15 06:02:55 +02:00
|
|
|
permissive watchdogd;
|
2012-12-03 12:07:45 +01:00
|
|
|
allow watchdogd rootfs:file { entrypoint r_file_perms };
|
|
|
|
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__
|
|
|
|
allow watchdogd device:chr_file create_file_perms;
|