1# for diag over socket 2userdebug_or_eng(` 3 allow kernel self:socket create; 4') 5 6dontaudit kernel kernel:system module_request; 7 8# Read FDs from /vendor/firmware 9allow kernel vendor_file:file r_file_perms; 10 11allow kernel debugfs_ipc:dir search; 12allow kernel persist_file:dir search; 13 14allow kernel debugfs_wlan:dir search; 15