summaryrefslogtreecommitdiff
path: root/sepolicy/tad.te
blob: 496dc9faf58ede0b8a3fe78a73c9065230c21166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
init_daemon_domain(tad)

allow tad block_device:dir search;
allow tad proc_stat:file r_file_perms;
allow tad self:capability setgid;
allow tad self:socket create_socket_perms;
allow tad self:unix_stream_socket create_socket_perms;
allow tad tad_block_device:blk_file rw_file_perms;
allow tad tad_socket:sock_file rw_file_perms;
allow tad sysfs_wake_lock:file rw_file_perms;

allowxperm tad tad_block_device:blk_file ioctl BLKGETSIZE;

set_prop(tad, ta_prop)