All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: "David P. Quigley" <dpquigl@tycho.nsa.gov>
Cc: Jarrett Lu <Jarrett.Lu@sun.com>,
	selinux@tycho.nsa.gov, labeled-nfs@linux-nfs.org,
	nfs-discuss@opensolaris.org, nfsv4@ietf.org
Subject: Re: [nfsv4] my thoughts on how Labeled NFSv4 draft should move forward
Date: Tue, 14 Apr 2009 12:10:19 -0500	[thread overview]
Message-ID: <20090414171019.GB1500@Sun.COM> (raw)
In-Reply-To: <1239724769.9761.126.camel@moss-terrapins.epoch.ncsc.mil>

On Tue, Apr 14, 2009 at 11:59:29AM -0400, David P. Quigley wrote:
> On Fri, 2009-04-10 at 15:38 -0500, Nicolas Williams wrote:
> > Of course, it's not clear yet that it will be of much practical value to
> > have such smart servers (e.g., if all the clients would be fully trusted
> > anyways).  It may be possible that "dumb" servers are good enough, in
> > which case we don't need to complicate RPCSEC_GSSv3 with process label
> > assertions (though it's not much of a complication, but the client does
> > need to know, via an NFS operation, whether the server is smart or
> > dumb).
> 
> It is unclear to me why an NFS operation is needed for this. Why can't

It could be an attribute.  That's how a variety of things are negotiated
already.

> this be something that is negotiated in the GSS context? When the GSS
> context is created they can decide if the server is smart or not and if
> it is then the process label is something that is part of the context.
> Then when the server is making a decision if it is Smart it will use the
> credential from the GSS context if not it will ignore it.

I'm thinking that the server could even be selectively smart or dumb.
For example, for objects labeled with MLS the server could be smart.
For objects labeled with Smack the server could be smart if it can
retrieve the rules matched by the client process' label's DOI.  For
objects with DTE labels in a DOI where the number of domains is too
large for it to be meaningful for the server to be smart then the server
could be dumb.

A filesystem attribute seems potentially too coarse for this, but it
could be a per-object attribute.

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-14 17:10 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 [this message]
2009-04-13 13:19   ` Stephen Smalley
2009-04-13 15:31     ` Nicolas Williams
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=20090414171019.GB1500@Sun.COM \
    --to=nicolas.williams@sun.com \
    --cc=Jarrett.Lu@sun.com \
    --cc=dpquigl@tycho.nsa.gov \
    --cc=labeled-nfs@linux-nfs.org \
    --cc=nfs-discuss@opensolaris.org \
    --cc=nfsv4@ietf.org \
    --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.