blob: 1c69706950a097c412d0391fe8e0645ecf06a8c3 [file] [log] [blame]
Hyejin Kimc15ba1c2015-03-26 20:15:10 +09001# Qualcomm Management Interface Multiplexer
Jeff Vander Stoepdea9ae72016-05-20 10:15:14 -07002type qmux, domain, device_domain_deprecated;
Hyejin Kimc15ba1c2015-03-26 20:15:10 +09003type 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
jaejyn.shindc109c82015-06-30 09:36:35 +090016# /dev/smdcntl0 node access
17allow qmux smd_device:chr_file rw_file_perms;
18
Hyejin Kimc15ba1c2015-03-26 20:15:10 +090019# 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;