All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: nfs-discuss@opensolaris.org, labeled-nfs@linux-nfs.org,
	nfsv4@ietf.org, selinux@tycho.nsa.gov,
	Jarrett Lu <Jarrett.Lu@sun.com>
Subject: Re: [nfsv4] my thoughts on how Labeled NFSv4 draft should move forward
Date: Mon, 13 Apr 2009 10:31:29 -0500	[thread overview]
Message-ID: <20090413153129.GQ1500@Sun.COM> (raw)
In-Reply-To: <1239628757.6129.5.camel@localhost.localdomain>

On Mon, Apr 13, 2009 at 09:19:17AM -0400, Stephen Smalley wrote:
> On Fri, 2009-04-10 at 15:17 -0500, Nicolas Williams wrote:
> > After that long thread on SAAG and a subsequent off-list discussion with
> > Casey (plus my reading Smack documentation) I'm almost ready to reach
> > the following conclusions:
> > 
> >  - We don't need policy agreement for MLS.  Servers have all the
> >    necessary information when comparing labels without reference to a
> >    policy.  However, clients have to be sharing a common MLS policy.
> 
> That is too limiting.  Think coalitions.

I wrote that we don't _need_ policy agreement for MLS, not that we
couldn't use it if it were available.  A subtle distinction, I know :)
But you're right of course, that when label equivalencies come in we
then need policy agreement.

> >    I.e., for DTE we can only have "dumb" servers.
> 
> Why?  While it is certainly true that a given client may be authorized
> to assert numerous discrete domains, that does not mean that a server
> cannot limit a client to a specific set of domains.  That can be modeled
> via a permission check on a label pair and security class, just like
> everything else.

If the set of domains that a policy defines is enormous then it may be
difficult to limit the set of domains that a user@client could
reasonably claim when referring to objects on given file server.  IF
(and this is a big 'if' for me) the number of domains that a user@client
could assert cannot be constrained meaningfully then I don't see the
point of the server enforcing MAC: the server wouldn't be meaningfully
limiting what the client can do, therefore we might as well let the
client enforce MAC.

However, I imagine that much of any DTE policy is local-only -- that it
relates to system components like, say, passwd(1), or to user apps that
won't be straying outside a home directory or a sandbox therein.  If
local-only subsets of a DTE policy can be identified as such, and if
it's possible for the remainder to be shared by a DOI, and if it's
possible to ascertain what domains any user and any client can assert,
then we're back to where we can have a smart server.

Nico
-- 

--
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:[~2009-04-13 15:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 21:07 my thoughts on how Labeled NFSv4 draft should move forward Jarrett Lu
2009-04-06 22:08 ` [nfsv4] " Nicolas Williams
2009-04-10 19:43   ` David P. Quigley
2009-04-10 19:43 ` David P. Quigley
2009-04-10 20:17 ` [nfsv4] " Nicolas Williams
2009-04-10 20:38   ` Nicolas Williams
2009-04-14 15:59     ` David P. Quigley
2009-04-14 17:10       ` Nicolas Williams
2009-04-13 13:19   ` Stephen Smalley
2009-04-13 15:31     ` Nicolas Williams [this message]
2009-04-14  4:02     ` Casey Schaufler
2009-04-14 17:26       ` Nicolas Williams

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=20090413153129.GQ1500@Sun.COM \
    --to=nicolas.williams@sun.com \
    --cc=Jarrett.Lu@sun.com \
    --cc=labeled-nfs@linux-nfs.org \
    --cc=nfs-discuss@opensolaris.org \
    --cc=nfsv4@ietf.org \
    --cc=sds@tycho.nsa.gov \
    --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.