From: James Morris <jmorris@namei.org>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Casey Schaufler <casey@schaufler-ca.com>,
Nicholas Franck <nhfran2@tycho.nsa.gov>,
paul@paul-moore.com, selinux@vger.kernel.org,
linux-security-module@vger.kernel.org, luto@amacapital.net,
keescook@chromium.org, serge@hallyn.com,
john.johansen@canonical.com, mortonm@chromium.org
Subject: Re: [RFC PATCH] security, capability: pass object information to security_capable
Date: Sat, 13 Jul 2019 14:35:44 +1000 (AEST) [thread overview]
Message-ID: <alpine.LRH.2.21.1907131430030.3804@namei.org> (raw)
In-Reply-To: <4fb3a599-b1d8-7cc2-759a-02195251e344@tycho.nsa.gov>
On Fri, 12 Jul 2019, Stephen Smalley wrote:
> > > If we want to apply least privilege, then this is a desirable facility.
> >
> > The capability mechanism is object agnostic by design.
>
> Some might argue that's a flawed design.
Narrator: it's a flawed design.
> > > I understand that doesn't mesh with Smack's mental modelbut it would
> > > probably be useful to both SELinux and AppArmor, among others.
> >
> > I'm perfectly happy to have the information transmitted.
> > I think a separate interface for doing so is appropriate.
>
> As above, I don't see any way to do that that isn't just adding overhead.
>
Agreed, and even so, part of the point of LSM is to allow existing
security models to be extended to meet a wider range of security
requirements.
--
James Morris
<jmorris@namei.org>
next prev parent reply other threads:[~2019-07-13 4:35 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-12 17:34 [RFC PATCH] security,capability: pass object information to security_capable Nicholas Franck
2019-07-12 17:50 ` James Morris
2019-07-12 18:02 ` [RFC PATCH] security, capability: " Stephen Smalley
2019-07-15 18:42 ` Richard Guy Briggs
2019-07-12 17:58 ` [RFC PATCH] security,capability: " Casey Schaufler
2019-07-12 18:25 ` [RFC PATCH] security, capability: " Stephen Smalley
2019-07-12 19:54 ` Casey Schaufler
2019-07-12 20:21 ` Stephen Smalley
2019-07-12 22:37 ` Casey Schaufler
2019-07-13 4:35 ` James Morris [this message]
2019-07-13 18:46 ` Casey Schaufler
2019-07-13 4:29 ` James Morris
2019-07-16 14:03 ` Serge E. Hallyn
2019-07-16 14:21 ` Andy Lutomirski
2019-07-16 15:03 ` Casey Schaufler
2019-07-16 15:08 ` Stephen Smalley
2019-07-16 14:43 ` Casey Schaufler
2019-07-24 20:12 ` Paul Moore
2019-07-16 14:16 ` [RFC PATCH] security,capability: " Serge E. Hallyn
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=alpine.LRH.2.21.1907131430030.3804@namei.org \
--to=jmorris@namei.org \
--cc=casey@schaufler-ca.com \
--cc=john.johansen@canonical.com \
--cc=keescook@chromium.org \
--cc=linux-security-module@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mortonm@chromium.org \
--cc=nhfran2@tycho.nsa.gov \
--cc=paul@paul-moore.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@vger.kernel.org \
--cc=serge@hallyn.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).