1# Qualcomm Management Interface Multiplexer
2type qmux, domain, device_domain_deprecated;
3type qmux_exec, exec_type, file_type;
4net_domain(qmux)
5
6# Started by init
7init_daemon_domain(qmux)
8
9# Create sockets under each /dev/socket/qmux_* directory.
10allow qmux qmuxd_socket:dir w_dir_perms;
11allow qmux qmuxd_socket:sock_file { create setattr getattr unlink };
12
13# /dev/hsicctl* node access
14allow qmux radio_device:chr_file rw_file_perms;
15
16# /dev/smdcntl0 node access
17allow qmux smd_device:chr_file rw_file_perms;
18
19# wake lock access
20wakelock_use(qmux)
21
22# Access to /sys/devices/virtual/smdpkt/smdcntl*/open_timeout
23allow qmux sysfs_smdcntl_open_timeout:file rw_file_perms;
24