diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te index c34a68075..2df3c432c 100644 --- a/policy/modules/system/sysnetwork.te +++ b/policy/modules/system/sysnetwork.te @@ -62,6 +62,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t self:netlink_generic_socket create_socket_perms; allow dhcpc_t self:netlink_route_socket create_netlink_socket_perms; allow dhcpc_t self:rawip_socket create_socket_perms; +allow dhcpc_t self:unix_dgram_socket { create_socket_perms sendto }; allow dhcpc_t dhcp_etc_t:dir list_dir_perms; read_lnk_files_pattern(dhcpc_t, dhcp_etc_t, dhcp_etc_t) @@ -74,6 +75,7 @@ allow dhcpc_t dhcpc_state_t:file map; # create pid file manage_files_pattern(dhcpc_t, dhcpc_runtime_t, dhcpc_runtime_t) +manage_sock_files_pattern(dhcpc_t, dhcpc_runtime_t, dhcpc_runtime_t) create_dirs_pattern(dhcpc_t, dhcpc_runtime_t, dhcpc_runtime_t) files_runtime_filetrans(dhcpc_t, dhcpc_runtime_t, { file dir })