summaryrefslogtreecommitdiff
path: root/sepolicy/qmux.te
blob: 716a87fba9867d86e6c23ac5507cdcbbaad62a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Qualcomm Management Interface Multiplexer
type qmux, domain;
type qmux_exec, exec_type, file_type;

# Started by init
init_daemon_domain(qmux)

# Create sockets under each /dev/socket/qmux_* directory.
allow qmux qmuxd_socket:dir w_dir_perms;
allow qmux qmuxd_socket:sock_file { create setattr getattr unlink };

# /dev/hsicctl* node access
allow qmux radio_device:chr_file rw_file_perms;

# wake lock access
wakelock_use(qmux)