blob: f1bec3b89c3756d43ad313887bcb4b14d57e3cd5 [file] [log] [blame]
# For netutils to be able to write their stdout stderr to the pipes opened by netmgrd
allow netutils_wrapper netmgrd:fd use;
allow netutils_wrapper netmgrd:fifo_file { getattr read write append };
dontaudit netutils_wrapper netmgrd:socket { read write };
dontaudit netutils_wrapper netmgrd:unix_stream_socket { read write };
dontaudit netutils_wrapper netmgrd:netlink_socket { getattr read write append };
dontaudit netutils_wrapper kernel:system module_request;
dontaudit netutils_wrapper self:capability sys_module;
userdebug_or_eng(`
allow netutils_wrapper diag_device:chr_file rw_file_perms;
')
dontaudit netutils_wrapper diag_device:chr_file rw_file_perms;