Home | History | Annotate | Download | only in sepolicy
      1 type inputeventfind, domain, domain_deprecated;
      2 type inputeventfind_exec, exec_type, file_type;
      3 
      4 init_daemon_domain(inputeventfind)
      5 
      6 # search for appropriate input device
      7 allow inputeventfind input_device:dir r_dir_perms;
      8 allow inputeventfind input_device:chr_file r_file_perms;
      9 
     10 # create symlink to /dev/stm_sensor
     11 allow inputeventfind device:dir { add_name write };
     12 allow inputeventfind video_device:lnk_file create;
     13 type_transition inputeventfind device:lnk_file video_device;
     14