blob: 1b8ea88fbadc7291117387bc83c9fb1ce0a52d81 [file] [log] [blame]
Hyejin Kimc15ba1c2015-03-26 20:15:10 +09001# Qualcomm Management Interface Multiplexer
2type qmux, domain;
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
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;