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