You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.5 KiB

# ==============================================
# Policy File of /system/binstp_dump3 Executable File
# ==============================================
# Type Declaration
# ==============================================
type wifi_dump_exec, vendor_file_type, exec_type, file_type;
type wifi_dump, domain;
# ==============================================
# Android Policy Rule
# ==============================================
# ==============================================
# NSA Policy Rule
# ==============================================
# ==============================================
# MTK Policy Rule
# ==============================================
allow wifi_dump self:capability { net_admin };
allow wifi_dump self:netlink_socket { read write getattr bind create setopt };
allow wifi_dump self:netlink_generic_socket { read write getattr bind create setopt };
allow wifi_dump conninfra_device:chr_file rw_file_perms;
allow wifi_dump stpwmt_device:chr_file rw_file_perms;
allow wifi_dump tmpfs:lnk_file r_file_perms;
allow wifi_dump mnt_user_file:dir search;
allow wifi_dump mnt_user_file:lnk_file read;
allow wifi_dump storage_file:lnk_file read;
allow wifi_dump stp_dump_data_file:dir create_dir_perms;
allow wifi_dump stp_dump_data_file:file create_file_perms;
allow wifi_dump connsyslog_data_vendor_file:dir create_dir_perms;
allow wifi_dump connsyslog_data_vendor_file:file create_file_perms;
get_prop(wifi_dump, vendor_mtk_coredump_prop)
init_daemon_domain(wifi_dump)