All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Darrel Goeddel <dgoeddel@TrustedCS.com>,
	janak@us.ibm.com, sgrubb@redhat.com, tmraz@redhat.com,
	ltcgcw@us.ibm.com, klaus@atsec.com, selinux@tycho.nsa.gov
Subject: Re: [PATCH] newrole: use pam session management services - v4
Date: Fri, 08 Sep 2006 13:28:33 -0400	[thread overview]
Message-ID: <4501A841.4060006@redhat.com> (raw)
In-Reply-To: <1157736146.31695.145.camel@moss-spartans.epoch.ncsc.mil>

Stephen Smalley wrote:
> On Thu, 2006-09-07 at 11:30 -0500, Darrel Goeddel wrote:
>   
>> Could we untangle the pam/lspp bits like I have below if we include
>> pam_permit as a session module in the "regular" pam config?  I think
>> that should take care of the case where we use pam, but do not have
>> any session management needs.  The use of pam_permit in this situation
>> seems perfectly acceptable to me.  This would give us real session
>> management capabilities via pam even if we are not using the lspp
>> configuration which requires privilege for pam_namespace.so.
>>     
>
> Even better would be if there was an easy way for newrole to dynamically
> probe for whether pam_namespace is in its pam config, and to only enable
> those capabilities if it is there.  Then we can have a single newrole
> binary built with the LSPP support, but it will still drop all
> capabilities other than CAP_AUDIT_WRITE at startup if there is no
> pam_namespace in its config (as in a non-LSPP system).
>
>   
Could we label it differently.  So if it runs in newrole_lspp_t domain 
it does not drop, otherwise it does.

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

  reply	other threads:[~2006-09-08 17:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-04 21:01 [PATCH] newrole: use pam session management services - v4 Janak Desai
2006-09-05 12:20 ` Joshua Brindle
2006-09-05 12:53   ` Stephen Smalley
2006-09-05 13:00     ` Joshua Brindle
2006-09-05 14:30       ` Stephen Smalley
2006-09-05 14:41 ` Stephen Smalley
2006-09-08 14:35   ` Janak Desai
2006-09-07 16:30 ` Darrel Goeddel
2006-09-07 16:52   ` Stephen Smalley
2006-09-08 14:40     ` Janak Desai
2006-09-08 17:22   ` Stephen Smalley
2006-09-08 17:28     ` Daniel J Walsh [this message]
2006-09-08 18:40       ` Stephen Smalley
2006-09-08 18:50         ` Daniel J Walsh
2006-09-09  0:56           ` Russell Coker
2006-09-09  1:01         ` Russell Coker

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=4501A841.4060006@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=dgoeddel@TrustedCS.com \
    --cc=janak@us.ibm.com \
    --cc=klaus@atsec.com \
    --cc=ltcgcw@us.ibm.com \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    --cc=sgrubb@redhat.com \
    --cc=tmraz@redhat.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.