From: Russell Coker <russell@coker.com.au>
To: James Morris <jmorris@redhat.com>
Cc: Casey Schaufler <casey@schaufler-ca.com>,
Darrel Goeddel <dgoeddel@TrustedCS.com>,
"selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>
Subject: Re: [patch] selinux_capget()
Date: Mon, 20 Dec 2004 12:10:20 +1100 [thread overview]
Message-ID: <200412201210.25544.russell@coker.com.au> (raw)
In-Reply-To: <Xine.LNX.4.44.0412140104020.30724-100000@thoron.boston.redhat.com>
On Tuesday 14 December 2004 17:09, James Morris <jmorris@redhat.com> wrote:
> How does the application determine the real effective set?
> (confusing enough terms ? :-)
>
> Surely it is a reasonable thing to expect to be able to do. I'm not sure
> that your example is valid here as euid==0 doesn't mean anything in
> SELinux (if it did, the application could check that first and infer that
> it has all capabilities).
If program A calls capget() and determines that it does not have a certain
capability then it does not need to drop that capability before executing
program B which should not have it.
However if executing program B causes a domain transition to a domain that is
permitted the capability in question then it might suddenly acquire access to
a capability that program A thought was unavailable.
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
--
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:[~2004-12-20 1:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-13 22:32 [patch] selinux_capget() Darrel Goeddel
2004-12-14 0:05 ` James Morris
2004-12-14 0:48 ` Casey Schaufler
2004-12-14 6:09 ` James Morris
2004-12-14 14:37 ` Stephen Smalley
2004-12-14 15:14 ` Stephen Smalley
2004-12-14 15:53 ` Darrel Goeddel
2004-12-14 16:11 ` Stephen Smalley
2004-12-14 16:22 ` Casey Schaufler
2004-12-20 1:16 ` Russell Coker
2004-12-20 4:51 ` Casey Schaufler
2004-12-20 1:10 ` Russell Coker [this message]
2004-12-21 20:32 ` Valdis.Kletnieks
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=200412201210.25544.russell@coker.com.au \
--to=russell@coker.com.au \
--cc=casey@schaufler-ca.com \
--cc=dgoeddel@TrustedCS.com \
--cc=jmorris@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.