aboutsummaryrefslogtreecommitdiffstats
path: root/system.te
blob: 432ae3630f27411be015ffa5060579993821e704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
type system_app, domain;
permissive system_app;
app_domain(system_app)
unconfined_domain(system_app)

type system, domain;
permissive system;
unconfined_domain(system);
relabelto_domain(system);

# Create a socket for receiving info from wpa.
type_transition system wifi_data_file:sock_file system_wpa_socket;
allow system self:zygote { specifyids specifyrlimits specifyseinfo };

allow system backup_data_file:dir relabelto;
allow system cache_backup_file:dir relabelto;
allow system apk_data_file:file relabelto;
allow system apk_tmp_file:file relabelto;
allow system apk_private_tmp_file:file relabelto;

# Access to wake locks
allow system sysfs_wake_lock:file rw_file_perms;