sepolicy: add time_daemon domain to allow service to boot

Bug: 36813405
Change-Id: Ied27aaf28631117749b395c2aee225c32ee76298
Signed-off-by: Thierry Strudel <tstrudel@google.com>
This commit is contained in:
Thierry Strudel
2017-03-31 16:54:46 -07:00
parent dab7846483
commit a724e0a68f
2 changed files with 5 additions and 0 deletions

View File

@@ -131,6 +131,7 @@
/vendor/bin/hw/android\.hardware\.usb@1\.0-service.device u:object_r:hal_usb_default_exec:s0
/vendor/bin/chre u:object_r:chre_exec:s0
/vendor/bin/folio_daemon u:object_r:folio_daemon_exec:s0
/vendor/bin/time_daemon u:object_r:time_daemon_exec:s0
# data files
/data/misc/radio(/.*)? u:object_r:radio_data_file:s0

4
sepolicy/time_daemon.te Normal file
View File

@@ -0,0 +1,4 @@
type time_daemon, domain;
type time_daemon_exec, exec_type, file_type;
init_daemon_domain(time_daemon)