From: "Christopher J. PeBenito" <cpebenito@tresys.com>
To: Daniel J Walsh <dwalsh@redhat.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: Don't audit restart of nscd daemon in strict policy
Date: Wed, 07 Mar 2007 11:23:58 -0500 [thread overview]
Message-ID: <1173284638.10747.15.camel@sgc> (raw)
In-Reply-To: <45EDB652.90306@redhat.com>
On Tue, 2007-03-06 at 13:43 -0500, Daniel J Walsh wrote:
> Christopher J. PeBenito wrote:
> > On Mon, 2007-02-26 at 12:29 -0500, dwalsh@localhost.localdomain wrote:
> >> +',`
> >> + userdom_dontaudit_use_sysadm_ttys(nscd_t)
> >> + userdom_dontaudit_use_sysadm_ptys(nscd_t)
> >
> > This should go with a run interface, then you get the transition, the
> > role and these dontaudits.
> >
> Ok how about this one.
Yes, thats what I had in mind, but I thought that the purpose was that
nscd was restarted from usermanage_t. If so, the nscd_run() call should
go in usermanage_run_useradd(). See rpm_run() for what I was thinking.
> +interface(`nscd_run',`
> + gen_require(`
> + type nscd_t;
> + ')
> +
> + nscd_domtrans($1)
> + role $2 types nscd_t;
> + dontaudit nscd_t $3:chr_file rw_term_perms;
> +')
> +
> --- nsaserefpolicy/policy/modules/system/userdomain.te 2007-02-19 11:32:53.000000000 -0500
> +++ serefpolicy-2.5.8/policy/modules/system/userdomain.te 2007-03-06 13:33:25.000000000 -0500
> @@ -423,6 +438,10 @@
> ')
>
> optional_policy(`
> + nscd_run(sysadm_t,sysadm_r,admin_terminal)
> + ')
> +
> + optional_policy(`
> usermanage_run_admin_passwd(sysadm_t,sysadm_r,admin_terminal)
> usermanage_run_groupadd(sysadm_t,sysadm_r,admin_terminal)
> usermanage_run_useradd(sysadm_t,sysadm_r,admin_terminal)
--
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2007-03-07 16:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200702261729.l1QHTPdT030641@localhost.localdomain>
2007-03-06 15:56 ` Don't audit restart of nscd daemon in strict policy Christopher J. PeBenito
2007-03-06 15:57 ` Christopher J. PeBenito
2007-03-06 18:43 ` Daniel J Walsh
2007-03-07 16:23 ` Christopher J. PeBenito [this message]
2007-03-07 20:21 ` Daniel J Walsh
2007-03-08 14:11 ` Christopher J. PeBenito
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=1173284638.10747.15.camel@sgc \
--to=cpebenito@tresys.com \
--cc=dwalsh@redhat.com \
--cc=selinux@tycho.nsa.gov \
/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.