android_device_samsung_msm8.../sepolicy/macloader.te
Deokgyu Yang f13f4f6966 gts3l: selinux: Overwrite files from gts4lv-common with tiny edits
Because it is much similar to use the same family

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic988274c7848c6ea0c9949b8caa63495515c1804
2021-05-21 01:41:01 +09:00

37 lines
1.2 KiB
Text

type macloader, domain;
type macloader_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(macloader)
allow macloader self:capability { chown fowner fsetid net_admin net_raw sys_module };
allow macloader self:udp_socket { ioctl create };
allowxperm macloader self:udp_socket ioctl { SIOCGIFFLAGS SIOCSIFFLAGS };
allow macloader efs_file:dir search;
allow macloader mnt_vendor_file:dir r_dir_perms;
allow macloader sec_poc_file:dir search;
allow macloader wifi_efs_file:dir create_dir_perms;
allow macloader wifi_efs_file:file create_file_perms;
allow macloader vendor_convergence_data_file:dir create_dir_perms;
allow macloader vendor_convergence_data_file:file create_file_perms;
allow macloader kernel:key search;
allow macloader kernel:system module_request;
allow macloader kmsg_device:chr_file rw_file_perms;
allow macloader system_file:system module_load;
allow macloader vendor_shell_exec:file rx_file_perms;
allow macloader sysfs:file { read write open getattr };
allow macloader sysfs_net:dir r_dir_perms;
allow macloader sysfs_wlan_fwpath:file w_file_perms;
allow macloader sysfs_wifi:dir r_dir_perms;
allow macloader sysfs_wifi:file rw_file_perms;
get_prop(macloader, sec_cnss_diag_prop)