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.4 KiB
38 lines
1.4 KiB
# ==============================================
|
|
# Policy File of /system/binstp_dump3 Executable File
|
|
|
|
|
|
# ==============================================
|
|
# Type Declaration
|
|
# ==============================================
|
|
|
|
type bt_dump_exec, vendor_file_type, exec_type, file_type;
|
|
type bt_dump, domain;
|
|
|
|
# ==============================================
|
|
# Android Policy Rule
|
|
# ==============================================
|
|
|
|
# ==============================================
|
|
# NSA Policy Rule
|
|
# ==============================================
|
|
|
|
# ==============================================
|
|
# MTK Policy Rule
|
|
# ==============================================
|
|
allow bt_dump self:capability { net_admin };
|
|
allow bt_dump self:netlink_socket { read write getattr bind create setopt };
|
|
allow bt_dump self:netlink_generic_socket { read write getattr bind create setopt };
|
|
allow bt_dump conninfra_device:chr_file rw_file_perms;
|
|
allow bt_dump stpwmt_device:chr_file rw_file_perms;
|
|
allow bt_dump tmpfs:lnk_file r_file_perms;
|
|
allow bt_dump mnt_user_file:dir search;
|
|
allow bt_dump mnt_user_file:lnk_file read;
|
|
allow bt_dump storage_file:lnk_file read;
|
|
allow bt_dump stp_dump_data_file:dir create_dir_perms;
|
|
allow bt_dump stp_dump_data_file:file create_file_perms;
|
|
allow bt_dump connsyslog_data_vendor_file:dir create_dir_perms;
|
|
allow bt_dump connsyslog_data_vendor_file:file create_file_perms;
|
|
get_prop(bt_dump, vendor_mtk_coredump_prop)
|
|
init_daemon_domain(bt_dump)
|