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