-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsepolicy.rule
15 lines (11 loc) · 827 Bytes
/
sepolicy.rule
1
2
3
4
5
6
7
8
9
10
11
12
13
# debug
allow system_server system_file file write
# context
create { system_lib_file vendor_file vendor_configs_file same_process_hal_file }
allow { system_file system_lib_file vendor_file vendor_configs_file same_process_hal_file } labeledfs filesystem associate
allow init { system_file system_lib_file vendor_file vendor_configs_file } { dir file } relabelfrom
allow init same_process_hal_file file relabelfrom
# file
allow { system_app priv_app platform_app untrusted_app_29 untrusted_app_27 untrusted_app } { vendor_audio_prop vendor_display_prop } file { read open getattr map }
allow { system_app priv_app platform_app untrusted_app_29 untrusted_app_27 untrusted_app } vendor_displayfeature_prop file read
allow { system_app priv_app platform_app untrusted_app_29 untrusted_app_27 untrusted_app } cgroup file write