aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/qmuxd.te
blob: a69ee6c74fdee6a03a6d4381392ea1f49ab85e20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type qmuxd, domain;
type qmuxd_exec, exec_type, file_type;
init_daemon_domain(qmuxd)
domain_trans(init, rootfs, qmuxd)

allow qmuxd radio_device:chr_file { read write open };
allow qmuxd self:capability { setuid dac_override };
allow qmuxd socket_device:dir { write add_name };
allow qmuxd socket_device:sock_file { create setattr };
allow qmuxd sysfs:file write;
allow qmuxd sysfs_wake_lock:file { open append };
allow qmuxd socket_device:dir remove_name;
allow qmuxd socket_device:sock_file { getattr unlink };