1# For netutils to be able to write their stdout stderr to the pipes opened by netmgrd 2allow netutils_wrapper netmgrd:fd use; 3allow netutils_wrapper netmgrd:fifo_file { getattr ioctl read write append }; 4allowxperm netutils_wrapper netmgrd:fifo_file ioctl { TCGETS }; 5 6dontaudit netutils_wrapper netmgrd:socket { read write }; 7dontaudit netutils_wrapper netmgrd:unix_stream_socket { read write }; 8dontaudit netutils_wrapper netmgrd:netlink_socket { getattr read write append }; 9dontaudit netutils_wrapper kernel:system module_request; 10dontaudit netutils_wrapper self:capability sys_module; 11 12userdebug_or_eng(` 13 allow netutils_wrapper diag_device:chr_file rw_file_perms; 14') 15dontaudit netutils_wrapper diag_device:chr_file rw_file_perms; 16