Hyejin Kim | c15ba1c | 2015-03-26 20:15:10 +0900 | [diff] [blame] | 1 | # Qualcomm Management Interface Multiplexer |
| 2 | type qmux, domain; |
| 3 | type qmux_exec, exec_type, file_type; |
| 4 | net_domain(qmux) |
| 5 | |
| 6 | # Started by init |
| 7 | init_daemon_domain(qmux) |
| 8 | |
| 9 | # Create sockets under each /dev/socket/qmux_* directory. |
| 10 | allow qmux qmuxd_socket:dir w_dir_perms; |
| 11 | allow qmux qmuxd_socket:sock_file { create setattr getattr unlink }; |
| 12 | |
| 13 | # /dev/hsicctl* node access |
| 14 | allow qmux radio_device:chr_file rw_file_perms; |
| 15 | |
jaejyn.shin | dc109c8 | 2015-06-30 09:36:35 +0900 | [diff] [blame^] | 16 | # /dev/smdcntl0 node access |
| 17 | allow qmux smd_device:chr_file rw_file_perms; |
| 18 | |
Hyejin Kim | c15ba1c | 2015-03-26 20:15:10 +0900 | [diff] [blame] | 19 | # wake lock access |
| 20 | wakelock_use(qmux) |
| 21 | |
| 22 | # Access to /sys/devices/virtual/smdpkt/smdcntl*/open_timeout |
| 23 | allow qmux sysfs_smdcntl_open_timeout:file rw_file_perms; |