All of lore.kernel.org
 help / color / mirror / Atom feed
From: domg472@gmail.com (Dominick Grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/2] DHCPC daemon init network interface, try 2
Date: Mon, 20 Dec 2010 23:32:56 +0100	[thread overview]
Message-ID: <4D0FD998.3030408@gmail.com> (raw)
In-Reply-To: <1292884138-6533-1-git-send-email-gizmo@giz-works.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/20/2010 11:28 PM, gizmo at giz-works.com wrote:
> From: Chris Richards <gizmo@giz-works.com>
> 
> Allow dhcpcd DCHP Client daemon to start.  Add interface to allow
> hostname daemon to talk to dhcpcd.
> 
> Signed-off-by: Chris Richards <gizmo@giz-works.com>
> ---
>  policy/modules/system/sysnetwork.if |   18 ++++++++++++++++++
>  1 files changed, 18 insertions(+), 0 deletions(-)
> 
> diff --git a/policy/modules/system/sysnetwork.if b/policy/modules/system/sysnetwork.if
> index 8e71fb7..2fa6d98 100644
> --- a/policy/modules/system/sysnetwork.if
> +++ b/policy/modules/system/sysnetwork.if
> @@ -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">

-----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-----

  reply	other threads:[~2010-12-20 22:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 22:28 [refpolicy] [PATCH 1/2] DHCPC daemon init network interface, try 2 gizmo at giz-works.com
2010-12-20 22:32 ` Dominick Grift [this message]
2010-12-20 22:35 ` Dominick Grift

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D0FD998.3030408@gmail.com \
    --to=domg472@gmail.com \
    --cc=refpolicy@oss.tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.