26 lines
1007 B
Plaintext
26 lines
1007 B
Plaintext
|
# ==============================================
|
||
|
# Policy File of /vendor/bin/DcxoSetCap Executable File
|
||
|
|
||
|
# ==============================================
|
||
|
# Type Declaration
|
||
|
# ==============================================
|
||
|
type DcxoSetCap, domain;
|
||
|
type DcxoSetCap_exec, exec_type, file_type, vendor_file_type;
|
||
|
|
||
|
# ==============================================
|
||
|
# Common SEPolicy Rule
|
||
|
# ==============================================
|
||
|
init_daemon_domain(DcxoSetCap)
|
||
|
|
||
|
#============= DcxoSetCap ==============
|
||
|
allow DcxoSetCap nvdata_file:dir rw_dir_perms;
|
||
|
allow DcxoSetCap nvdata_file:file rw_file_perms;
|
||
|
allow DcxoSetCap proc_cmdline:file r_file_perms;
|
||
|
allow DcxoSetCap sysfs_dcxo:file rw_file_perms;
|
||
|
allow DcxoSetCap sysfs_boot_mode:file r_file_perms;
|
||
|
allow DcxoSetCap sysfs_dt_firmware_android:dir r_dir_perms;
|
||
|
allow DcxoSetCap sysfs_dt_firmware_android:file r_file_perms;
|
||
|
|
||
|
allow DcxoSetCap metadata_file:dir search;
|
||
|
allow DcxoSetCap gsi_metadata_file:dir search;
|
||
|
allow DcxoSetCap mnt_vendor_file:dir search;
|