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 6userdebug_or_eng(` 7 allow netutils_wrapper diag_device:chr_file rw_file_perms; 8') 9 10dontaudit netutils_wrapper netmgrd:unix_stream_socket { read write }; 11dontaudit netutils_wrapper netmgrd:socket { read write }; 12dontaudit netutils_wrapper netmgrd:netlink_socket { getattr read write append }; 13dontaudit netutils_wrapper kernel:system module_request; 14dontaudit netutils_wrapper self:capability sys_module; 15