Adam Shih 0f84ba2bb5 Put gs_watchdog settings to one place
Bug: 248428203
Test: gs_watchdog is still in system_ext
Change-Id: Iaa0e1871a4459af02a004f7b3b2861b53709c608
2022-09-28 10:30:51 +08:00

10 lines
350 B
Plaintext

# gs_watchdogd seclabel is specified in init.<board>.rc
type gs_watchdogd, domain, coredomain;
type gs_watchdogd_exec, system_file_type, exec_type, file_type;
init_daemon_domain(gs_watchdogd)
allow gs_watchdogd watchdog_device:chr_file rw_file_perms;
allow gs_watchdogd kmsg_device:chr_file rw_file_perms;
allow gs_watchdogd sysfs:dir r_dir_perms;