From: dominick.grift@gmail.com (grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 2/9] Allow system_dbusd_t to transition to networkmanager_initrc_t
Date: Mon, 17 Dec 2012 21:18:08 +0100 [thread overview]
Message-ID: <1355775488.2269.12.camel@localhost> (raw)
In-Reply-To: <1355774297-13606-2-git-send-email-bigon@debian.org>
On Mon, 2012-12-17 at 20:58 +0100, Laurent Bigonville wrote:
> From: Laurent Bigonville <bigon@bigon.be>
>
> nm-dispatcher.action executable is labeled as
> NetworkManager_initrc_exec_t and will be executed by the system dbus
> ---
> dbus.te | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/dbus.te b/dbus.te
> index ad29d6f..2ed2d6e 100644
> --- a/dbus.te
> +++ b/dbus.te
> @@ -148,6 +148,10 @@ optional_policy(`
> ')
>
> optional_policy(`
> + networkmanager_initrc_domtrans(system_dbusd_t)
> +')
> +
> +optional_policy(`
> policykit_read_lib(system_dbusd_t)
> ')
>
This is a better solution (which i am about to commit instead):
> From 3629eb16814fa4ea3542892508250dd1b5e00c9d Mon, 17 Dec 2012 21:16:33 +0100
> From: Dominick Grift <dominick.grift@gmail.com>
> Date: Mon, 17 Dec 2012 21:16:23 +0100
> Subject: [PATCH] Changes to the dbus policy module
>
>
> System bus needs to be able to transition to init script domain on any
> init script file type instead of only the generic init script file type
>
> Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
> diff --git a/dbus.te b/dbus.te
> index ad29d6f..4f75f33 100644
> --- a/dbus.te
> +++ b/dbus.te
> @@ -1,4 +1,4 @@
> -policy_module(dbus, 1.18.6)
> +policy_module(dbus, 1.18.7)
>
> gen_require(`
> class dbus all_dbus_perms;
> @@ -125,7 +125,7 @@
>
> init_use_fds(system_dbusd_t)
> init_use_script_ptys(system_dbusd_t)
> -init_domtrans_script(system_dbusd_t)
> +init_all_labeled_script_domtrans(system_dbusd_t)
>
> init_use_fds(system_dbusd_t)
> init_use_script_ptys(system_dbusd_t)
next prev parent reply other threads:[~2012-12-17 20:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-17 19:58 [refpolicy] [PATCH 1/9] Properly label nm-dispatcher.action on Debian Laurent Bigonville
2012-12-17 19:58 ` [refpolicy] [PATCH 2/9] Allow system_dbusd_t to transition to networkmanager_initrc_t Laurent Bigonville
2012-12-17 20:18 ` grift [this message]
2012-12-17 19:58 ` [refpolicy] [PATCH 3/9] policykit.fc: Properly label polkit-agent-helper-1 on Debian Laurent Bigonville
2012-12-17 20:39 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 4/9] cups.fc: Properly label cups-pk-helper-mechanism " Laurent Bigonville
2012-12-17 20:40 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 5/9] Allow pcscd the fsetid capability Laurent Bigonville
2012-12-17 20:40 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 6/9] Allow networkmanager_t to read crypto_sysctl_t Laurent Bigonville
2012-12-17 20:41 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 7/9] Allow virsh_t context to read sysctl_crypto_t Laurent Bigonville
2012-12-17 20:42 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 8/9] Allow capability block_suspend to system_dbusd_t Laurent Bigonville
2012-12-17 20:38 ` grift
2012-12-18 8:31 ` Laurent Bigonville
2012-12-18 8:44 ` grift
2012-12-18 9:18 ` Laurent Bigonville
2012-12-18 16:20 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 9/9] Allow cupsd_t to read cupsd_log_t Laurent Bigonville
2012-12-17 20:43 ` grift
2012-12-17 20:39 ` [refpolicy] [PATCH 1/9] Properly label nm-dispatcher.action on Debian 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=1355775488.2269.12.camel@localhost \
--to=dominick.grift@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.