DHCPC daemon init network interface, try 2
PATCH 1/2 DHCPC daemon init network interface, try 2
From: Chris Richards <[email protected]>
Allow dhcpcd DCHP Client daemon to start. Add interface to allow hostname daemon to talk to dhcpcd.
--- policy/modules/system/sysnetwork.if | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)
policy/modules/system/sysnetwork.if +18 -0
@@ -196,6 +196,24 @@ interface(`sysnet_dbus_chat_dhcpc',` ######################################## ## <summary> +## Read and write the dhcp client unix +## stream socket +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`sysnet_rw_dhcpc_stream_sockets',` + gen_require(` + type dhcpc_t; + ') + allow $1 dhcpc_t:unix_stream_socket { read write }; +') + +######################################## +## <summary> ## Read and write dhcp configuration files. ## </summary> ## <param name="domain">
Signature · 1 line
1.7.3.2
PATCH 1/2 DHCPC daemon init network interface, try 2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 29 lines · gizmo at giz-works.com
From: Chris Richards <[email protected]>
Allow dhcpcd DCHP Client daemon to start. Add interface to allow hostname daemon to talk to dhcpcd.
Signed-off-by Chris Richards <[email protected]>--- policy/modules/system/sysnetwork.if | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)policy/modules/system/sysnetwork.if +11
-0@@ -196,6 +196,24 @@ interface(`sysnet_dbus_chat_dhcpc',` ######################################## ## <summary> +## Read and write the dhcp client unix +## stream socket +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`sysnet_rw_dhcpc_stream_sockets',` + gen_require(`
policy/modules/system/sysnetwork.if interface(`sysnet_dbus_chat_dhcpc',` · line 219
Quoted 10 lines
policy/modules/system/sysnetwork.if +7
-0+ type dhcpc_t; + ') + allow $1 dhcpc_t:unix_stream_socket { read write }; +') + +######################################## +## <summary> ## Read and write dhcp configuration files. ## </summary> ## <param name="domain">
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk0P2ZgACgkQMlxVo39jgT8cygCgoCYMrt1mGooBPAk8crEL91kQ 8nIAoJnjNzdlkvE+iKupWWzj4Jn02Z2m
=afFS
-----END PGP SIGNATURE-----
PATCH 1/2 DHCPC daemon init network interface, try 2
In reply to gizmo at giz-works.com-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 23 lines · gizmo at giz-works.com
From: Chris Richards <[email protected]>
Allow dhcpcd DCHP Client daemon to start. Add interface to allow hostname daemon to talk to dhcpcd.
Signed-off-by Chris Richards <[email protected]>--- policy/modules/system/sysnetwork.if | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)policy/modules/system/sysnetwork.if +5
-0@@ -196,6 +196,24 @@ interface(`sysnet_dbus_chat_dhcpc',` ######################################## ## <summary> +## Read and write the dhcp client unix +## stream socket +## </summary> +## <param name="domain"> +## <summary>
policy/modules/system/sysnetwork.if interface(`sysnet_dbus_chat_dhcpc',` · line 213
Quoted 10 lines
policy/modules/system/sysnetwork.if +10
-0+## Domain allowed access. +## </summary> +## </param> +# +interface(`sysnet_rw_dhcpc_stream_sockets',` + gen_require(` + type dhcpc_t; + ') + allow $1 dhcpc_t:unix_stream_socket { read write }; +')
This is, in my experience, usually a side effect is stream connect. but i cannot find any "sysnet_stream_connect_dhcpc_stream_connect". can this be dontaudited without losing functionality?
policy/modules/system/sysnetwork.if interface(`sysnet_dbus_chat_dhcpc',` · line 219
Quoted 5 lines
policy/modules/system/sysnetwork.if +2
-0+######################################## +## <summary> ## Read and write dhcp configuration files. ## </summary> ## <param name="domain">
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk0P2iAACgkQMlxVo39jgT9TwwCgoUKe+ghCdt+UxZP/vOKK//Oq fyMAoJXu60jT05lVt8ouqxW7utYaor0d
=TPb3
-----END PGP SIGNATURE-----