From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [ patch 1/1] [retry] su: wants to read inits script keyring.
Date: Mon, 11 Oct 2010 09:37:14 -0400 [thread overview]
Message-ID: <4CB3130A.4040204@tresys.com> (raw)
In-Reply-To: <20101008130853.GA6175@localhost.localdomain>
On 10/08/10 09:08, Dominick Grift wrote:
>
> Signed-off-by: Dominick Grift<domg472@gmail.com>
Merged.
> :100644 100644 a0aa8c5... d20bdfc... M policy/modules/admin/su.if
> :100644 100644 8419a01... cdd18b4... M policy/modules/system/init.if
> policy/modules/admin/su.if | 1 +
> policy/modules/system/init.if | 18 ++++++++++++++++++
> 2 files changed, 19 insertions(+), 0 deletions(-)
>
> diff --git a/policy/modules/admin/su.if b/policy/modules/admin/su.if
> index a0aa8c5..d20bdfc 100644
> --- a/policy/modules/admin/su.if
> +++ b/policy/modules/admin/su.if
> @@ -85,6 +85,7 @@ template(`su_restricted_domain_template', `
> init_dontaudit_use_script_ptys($1_su_t)
> # Write to utmp.
> init_rw_utmp($1_su_t)
> + init_search_script_key($1_su_t)
>
> logging_send_syslog_msg($1_su_t)
>
> diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if
> index 8419a01..cdd18b4 100644
> --- a/policy/modules/system/init.if
> +++ b/policy/modules/system/init.if
> @@ -1176,6 +1176,24 @@ interface(`init_dontaudit_use_script_fds',`
>
> ########################################
> ##<summary>
> +## Search init script keys.
> +##</summary>
> +##<param name="domain">
> +## <summary>
> +## Domain allowed access.
> +## </summary>
> +##</param>
> +#
> +interface(`init_search_script_key',`
> + gen_require(`
> + type initrc_t;
> + ')
> +
> + allow $1 initrc_t:key search;
> +')
> +
> +########################################
> +##<summary>
> ## Get the process group ID of init scripts.
> ##</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:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-08 13:08 [refpolicy] [ patch 1/1] [retry] su: wants to read inits script keyring Dominick Grift
2010-10-11 13:37 ` 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=4CB3130A.4040204@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.