Merge "Label /data/misc/zoneinfo"
This commit is contained in:
commit
8b0ce1b189
3 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,9 @@ allow domain cache_file:dir r_dir_perms;
|
|||
allow domain cache_file:file { getattr read };
|
||||
allow domain cache_file:lnk_file read;
|
||||
|
||||
# Read timezone related information
|
||||
r_dir_file(domain, zoneinfo_data_file)
|
||||
|
||||
# For /acct/uid/*/tasks.
|
||||
allow domain cgroup:dir { search write };
|
||||
allow domain cgroup:file w_file_perms;
|
||||
|
|
1
file.te
1
file.te
|
@ -65,6 +65,7 @@ type radio_data_file, file_type, data_file_type;
|
|||
type systemkeys_data_file, file_type, data_file_type;
|
||||
type vpn_data_file, file_type, data_file_type;
|
||||
type wifi_data_file, file_type, data_file_type;
|
||||
type zoneinfo_data_file, file_type, data_file_type;
|
||||
|
||||
# Compatibility with type names used in vanilla Android 4.3 and 4.4.
|
||||
typealias audio_data_file alias audio_firmware_file;
|
||||
|
|
|
@ -180,6 +180,7 @@
|
|||
/data/misc/systemkeys(/.*)? u:object_r:systemkeys_data_file:s0
|
||||
/data/misc/vpn(/.*)? u:object_r:vpn_data_file:s0
|
||||
/data/misc/wifi(/.*)? u:object_r:wifi_data_file:s0
|
||||
/data/misc/zoneinfo(/.*)? u:object_r:zoneinfo_data_file:s0
|
||||
|
||||
# App sandboxes
|
||||
/data/data/.* u:object_r:app_data_file:s0
|
||||
|
|
Loading…
Reference in a new issue