Jeff Vander Stoep | a89e969 | 2016-02-01 13:08:17 -0800 | [diff] [blame] | 1 | # init.hikey.usb.rc writes to /config/* to set up USB |
Yongqin Liu | 6050940 | 2016-06-14 19:34:32 +0800 | [diff] [blame] | 2 | allow init configfs:dir create_dir_perms; |
Jeff Vander Stoep | a89e969 | 2016-02-01 13:08:17 -0800 | [diff] [blame] | 3 | allow init configfs:file write; |
Yongqin Liu | 6050940 | 2016-06-14 19:34:32 +0800 | [diff] [blame] | 4 | allow init configfs:lnk_file { create unlink }; |
Yongqin Liu | c63edee | 2016-06-15 13:45:23 +0800 | [diff] [blame] | 5 | # for symlink /sdcard /mnt/sdcard |
| 6 | allow init tmpfs:lnk_file create; |
John Stultz | 80a8317 | 2018-04-27 17:09:43 -0700 | [diff] [blame] | 7 | allow init configfs:lnk_file create; |
| 8 | |
| 9 | dontaudit init kernel:system module_request; |