Home | History | Annotate | Download | only in sepolicy
      1 # bootio command
      2 type bootio, domain;
      3 type bootio_exec, exec_type, file_type;
      4 
      5 init_daemon_domain(bootio)
      6 
      7 # Allow persistent storage in /data/misc/bootio.
      8 allow bootio bootio_data_file:dir rw_dir_perms;
      9 allow bootio bootio_data_file:file create_file_perms;
     10 
     11 # Read access to pseudo filesystems (for /proc/stats, proc/io/io, etc).
     12 r_dir_file(bootio, proc)
     13