summaryrefslogtreecommitdiff
path: root/sepolicy/stp_dump3.te
blob: 5cb036c3c26a550796b7fab6e12b202d6f38d158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ==============================================
# Policy File of /system/binstp_dump3 Executable File


# ==============================================
# Type Declaration
# ==============================================

type stp_dump3_exec , exec_type, file_type;
type stp_dump3 ,domain;

# ==============================================
# Android Policy Rule
# ==============================================

# ==============================================
# NSA Policy Rule
# ==============================================

# ==============================================
# MTK Policy Rule
# ==============================================
file_type_auto_trans(stp_dump3,system_data_file,stp_dump_data_file)
allow stp_dump3 self:capability { net_admin fowner chown fsetid dac_override };
allow stp_dump3 self:netlink_socket { read write getattr bind create setopt };
allow stp_dump3 stp_dump_data_file:sock_file { write create unlink setattr };
allow stp_dump3 stp_dump_data_file:dir { add_name setattr };
allow stp_dump3 stp_dump_data_file:dir rmdir;
allow stp_dump3 stp_dump_data_file:dir { open read write create setattr getattr add_name remove_name search};
allow stp_dump3 stp_dump_data_file:file { open read write create setattr getattr append unlink rename};
allow stp_dump3 wmtdetect_device:chr_file { read write ioctl open };
allow stp_dump3 stpwmt_device:chr_file { read write ioctl open };
init_daemon_domain(stp_dump3)