am 69d3b897: am 4127a4c8: Merge "Add rules for /system/bin/tzdatacheck"

* commit '69d3b89756465122f7afe859447161d660c57791':
  Add rules for /system/bin/tzdatacheck
This commit is contained in:
Neil Fuller 2015-04-13 12:18:36 +00:00 committed by Android Git Automerger
commit ae4b79cefd
2 changed files with 9 additions and 0 deletions

View file

@ -175,6 +175,7 @@
/system/bin/patchoat u:object_r:dex2oat_exec:s0
/system/bin/sgdisk u:object_r:sgdisk_exec:s0
/system/bin/blkid u:object_r:blkid_exec:s0
/system/bin/tzdatacheck u:object_r:tzdatacheck_exec:s0
#############################
# Vendor files

8
tzdatacheck.te Normal file
View file

@ -0,0 +1,8 @@
# The tzdatacheck command run by init.
type tzdatacheck, domain;
type tzdatacheck_exec, exec_type, file_type;
init_daemon_domain(tzdatacheck)
allow tzdatacheck zoneinfo_data_file:dir create_dir_perms;
allow tzdatacheck zoneinfo_data_file:file unlink;