1# /dev/tty* I/O. Needed for /dev/ttyS0 2allow init serial_device:chr_file rw_file_perms; 3 4# Write to /configfs files. Needed only for /config/usb_gadget subtree. 5allow init configfs:file w_file_perms; 6allow init configfs:lnk_file create; 7 8# Add loadable modules. Needed for usbfunc:diag, usbfunc:diag, usbfunc:gsi, usbfunc:qdss modules. 9allow init kernel:system module_request; 10 11# binfmt_misc arm for ndk translator 12allow init binfmt_miscfs:file w_file_perms; 13allow init proc:dir mounton; 14 15# init relabel vbmeta* symlinks 16allow init ab_block_device:lnk_file relabelto; 17 18# /mnt/sdcard -> /storage/self/primary symlink is deprecated. Ignore attempts to 19# create it. This denial is fixed in core policy in Android R aosp/943799. 20dontaudit init tmpfs:lnk_file create; 21 22# permit mount of virtiofs on /mnt/vendor/shared 23allow init mnt_vendor_file:dir mounton; 24