Home | History | Annotate | Download | only in sepolicy
      1 allow init tmpfs:lnk_file create_file_perms;
      2 # set attributes on /sys/class/gpio sym link
      3 # chmod 0770 /sys/class/gpio/gpio66
      4 allow init sysfs:lnk_file setattr;
      5 
      6 # userspace cannot create files in sys. ignore denial
      7 dontaudit init sysfs_devices_system_cpu:dir write;
      8 
      9 allow init { cache_file storage_file }:dir mounton;
     10 
     11 # /config
     12 allow init configfs:{ file lnk_file } create_file_perms;
     13