From: Karl MacMillan <kmacmillan@mentalrootkit.com>
To: jwcart2@tycho.nsa.gov
Cc: Chad Sellers <csellers@tresys.com>,
SELinux <selinux@tycho.nsa.gov>,
Steve Smalley <sds@epoch.ncsc.mil>
Subject: Re: Are the reference policy abstractions the right ones?
Date: Fri, 12 Oct 2007 15:59:09 -0400 [thread overview]
Message-ID: <1192219149.3294.54.camel@localhost.localdomain> (raw)
In-Reply-To: <1192218818.28398.45.camel@moss-lions.epoch.ncsc.mil>
On Fri, 2007-10-12 at 15:53 -0400, James Carter wrote:
> On Fri, 2007-10-12 at 12:45 -0400, Chad Sellers wrote:
[...]
> > >
> > > So - I'd like to hear from some other people. Are these ideas worth
> > > pursuing? The proposals:
> > >
> > > 1) remove the distinction between attributes / types.
> > > 2) allow nested types / attributes.
> > > 3) type_class / type_group
> > > 4) exceptions
> > >
> > I think these are all very nice features that could definitely come in
> > handy. But I'm not sure I see how they address our fundamental problems. I
> > agree with you guys that our fundamental problem is the leaky abstractions
> > in reference policy. I really don't see how these would solve that problem,
> > unless you're proposing that these would negate the need for any
> > abstractions. And I don't think that's what you're saying (or is it?).
> >
> I am trying to argue that all resources are labeled with types, so it
> does no good to try and hide them. While I don't want to see types used
> all over the policy like they were in the old example policy, a few here
> and there for inheritance or attribute purposes doesn't seem harmful.
> (Famous last words that will probably come back to haunt me.)
>
> I am not arguing that we dump reference policy and get rid of
> interfaces. I do, however, think that nested types and the ability to
> inherit with exceptions would give Chris and other policy developers the
> ability to write interfaces that fit the common case instead of having
> to target the lowest common denominator. I just don't know how much
> they would help.
>
That sounds about right to me - I think we should prototype the language
extensions and see what problems they solve. Then we can understand
better how they fit with the reference policy in its current form. I
thought the plan was to add language features to enable the reference
policy anyway. To me, we are just trying to take lessons learned from
the reference policy to continue to move it forward.
Karl
--
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-10-12 19:59 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-09 15:08 Are the reference policy abstractions the right ones? James Carter
2007-10-09 17:10 ` Karl MacMillan
2007-10-09 18:54 ` James Carter
2007-10-09 19:07 ` Karl MacMillan
2007-10-09 19:44 ` James Carter
2007-10-09 20:00 ` Karl MacMillan
2007-10-10 15:23 ` Karl MacMillan
2007-10-10 15:47 ` Joshua Brindle
2007-10-10 16:52 ` James Carter
2007-10-10 20:39 ` Karl MacMillan
2007-10-11 17:00 ` Karl MacMillan
2007-10-11 17:32 ` James Carter
2007-10-12 16:45 ` Chad Sellers
2007-10-12 19:53 ` James Carter
2007-10-12 19:59 ` Karl MacMillan [this message]
2007-10-12 20:48 ` Chad Sellers
2007-10-15 2:50 ` James Morris
2007-10-15 3:45 ` Joe Nall
2007-10-15 4:06 ` James Morris
2007-10-15 14:30 ` David P. Quigley
2007-10-15 18:55 ` Karl MacMillan
2007-10-15 21:15 ` James Morris
2007-10-15 22:23 ` Karl MacMillan
2007-10-11 23:30 ` Daniel J Walsh
2007-10-09 17:34 ` Joshua Brindle
2007-10-09 18:18 ` Christopher J. PeBenito
2007-10-10 15:09 ` Karl MacMillan
2007-10-10 16:25 ` Casey Schaufler
2007-10-10 18:26 ` Paul Moore
2007-10-11 7:18 ` Frank L. Mayer
2007-10-11 20:26 ` James Carter
2007-10-12 16:45 ` Chad Sellers
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=1192219149.3294.54.camel@localhost.localdomain \
--to=kmacmillan@mentalrootkit.com \
--cc=csellers@tresys.com \
--cc=jwcart2@tycho.nsa.gov \
--cc=sds@epoch.ncsc.mil \
--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.