Files
device_google_wahoo/sepolicy/time_daemon.te
Thierry Strudel 4e18dc435b Import common file from device specific directory
Test: boot, basic functionality
Change-Id: I9c07718b481730c3388f99c5e1eff17c9fd75a7b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-04 23:34:45 -08:00

18 lines
432 B
Plaintext

type time_daemon, domain;
type time_daemon_exec, exec_type, file_type;
init_daemon_domain(time_daemon)
type time_data_file, file_type, data_file_type;
allow time_daemon self:socket create_socket_perms;
allowxperm time_daemon self:socket ioctl IPC_ROUTER_IOCTL_LOOKUP_SERVER;
allow time_daemon rtc_device:chr_file r_file_perms;
allow time_daemon self:capability { setuid setgid };
userdebug_or_eng(`
permissive time_daemon;
')