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