Merge pull request #309 from yizhao1/dhcpcd
This commit is contained in:
commit
941620c89c
|
@ -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_generic_socket create_socket_perms;
|
||||||
allow dhcpc_t self:netlink_route_socket create_netlink_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: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;
|
allow dhcpc_t dhcp_etc_t:dir list_dir_perms;
|
||||||
read_lnk_files_pattern(dhcpc_t, dhcp_etc_t, dhcp_etc_t)
|
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
|
# create pid file
|
||||||
manage_files_pattern(dhcpc_t, dhcpc_runtime_t, dhcpc_runtime_t)
|
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)
|
create_dirs_pattern(dhcpc_t, dhcpc_runtime_t, dhcpc_runtime_t)
|
||||||
files_runtime_filetrans(dhcpc_t, dhcpc_runtime_t, { file dir })
|
files_runtime_filetrans(dhcpc_t, dhcpc_runtime_t, { file dir })
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue