Home | History | Annotate | Download | only in sepolicy
      1 # Qualcomm Management Interface Multiplexer
      2 type qmux, domain, domain_deprecated;
      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 
     16 # /dev/smdcntl0 node access
     17 allow qmux smd_device:chr_file rw_file_perms;
     18 
     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;
     24