Merge "Add rules for /system/bin/tzdatacheck"

This commit is contained in:
Neil Fuller 2015-04-13 11:41:24 +00:00 committed by Gerrit Code Review
commit 4127a4c890
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;