From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [ patch 1/1] [RETRY] consoletype: needs to use system dbus file descriptors.
Date: Mon, 11 Oct 2010 09:23:13 -0400 [thread overview]
Message-ID: <4CB30FC1.5080905@tresys.com> (raw)
In-Reply-To: <20101006132125.GA2160@localhost.localdomain>
On 10/06/10 09:21, Dominick Grift wrote:
>
> Signed-off-by: Dominick Grift<domg472@gmail.com>
Merged.
> :100644 100644 e41f830... 5b0021f... M policy/modules/admin/consoletype.te
> :100644 100644 39e901a... 0d5711c... M policy/modules/services/dbus.if
> policy/modules/admin/consoletype.te | 4 ++++
> policy/modules/services/dbus.if | 18 ++++++++++++++++++
> 2 files changed, 22 insertions(+), 0 deletions(-)
>
> diff --git a/policy/modules/admin/consoletype.te b/policy/modules/admin/consoletype.te
> index e41f830..5b0021f 100644
> --- a/policy/modules/admin/consoletype.te
> +++ b/policy/modules/admin/consoletype.te
> @@ -75,6 +75,10 @@ optional_policy(`
> ')
>
> optional_policy(`
> + dbus_use_system_bus_fds(consoletype_t)
> +')
> +
> +optional_policy(`
> files_read_etc_files(consoletype_t)
> firstboot_use_fds(consoletype_t)
> firstboot_rw_pipes(consoletype_t)
> diff --git a/policy/modules/services/dbus.if b/policy/modules/services/dbus.if
> index 39e901a..0d5711c 100644
> --- a/policy/modules/services/dbus.if
> +++ b/policy/modules/services/dbus.if
> @@ -445,6 +445,24 @@ interface(`dbus_system_domain',`
>
> ########################################
> ##<summary>
> +## Use and inherit system DBUS file descriptors.
> +##</summary>
> +##<param name="domain">
> +## <summary>
> +## Domain allowed access.
> +## </summary>
> +##</param>
> +#
> +interface(`dbus_use_system_bus_fds',`
> + gen_require(`
> + type system_dbusd_t;
> + ')
> +
> + allow $1 system_dbusd_t:fd use;
> +')
> +
> +########################################
> +##<summary>
> ## Dontaudit Read, and write system dbus TCP sockets.
> ##</summary>
> ##<param name="domain">
>
>
>
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
prev parent reply other threads:[~2010-10-11 13:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-06 13:21 [refpolicy] [ patch 1/1] [RETRY] consoletype: needs to use system dbus file descriptors Dominick Grift
2010-10-11 13:23 ` Christopher J. PeBenito [this message]
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=4CB30FC1.5080905@tresys.com \
--to=cpebenito@tresys.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.