All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Morris <jmorris@namei.org>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: selinux@tycho.nsa.gov, Eric Paris <eparis@parisplace.org>,
	Daniel J Walsh <dwalsh@redhat.com>
Subject: Re: [PATCH v4] selinux:  support deferred mapping of contexts
Date: Wed, 7 May 2008 08:31:23 +1000 (EST)	[thread overview]
Message-ID: <Xine.LNX.4.64.0805070830480.20128@us.intercode.com.au> (raw)
In-Reply-To: <1210105048.25678.799.camel@moss-spartans.epoch.ncsc.mil>

On Tue, 6 May 2008, Stephen Smalley wrote:

> So, the question is should we just drop this hunk of the patch and only
> support this functionality for setxattr, or do we need
> selinux_inode_init_security() to recover the original context string
> (which is available in the SID table, just not returned by
> security_sid_to_context when it isn't defined by policy) and use that
> for the on-disk xattr value?

I think we need to use the "alternative" context if it exists, so yes.


- James
-- 
James Morris
<jmorris@namei.org>

--
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:[~2008-05-06 22:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 15:43 [PATCH v3] selinux: support deferred mapping of contexts Stephen Smalley
2008-05-05 17:49 ` Stephen Smalley
2008-05-05 23:31 ` James Morris
2008-05-06 15:40   ` [PATCH v4] " Stephen Smalley
2008-05-06 20:17     ` Stephen Smalley
2008-05-06 22:31       ` James Morris [this message]
2008-05-07 12:45         ` Stephen Smalley
2008-05-07 13:45           ` James Morris
2008-05-07 15:12             ` Stephen Smalley
2008-05-07 17:03               ` [PATCH v5] " Stephen Smalley
2008-05-07 17:14                 ` Stephen Smalley
2008-05-08  0:08                   ` James Morris
2008-05-07 15:17           ` [PATCH v4] " Eric Paris
2008-05-07 15:23             ` Stephen Smalley
2008-05-07 15:29               ` Eric Paris
2008-05-07 15:29                 ` Eric Paris
2008-05-07 16:48                 ` Steve Grubb
2008-05-07 16:48                   ` Steve Grubb
2008-05-07 17:20                   ` Stephen Smalley
2008-05-07 17:20                     ` Stephen Smalley
2008-05-07 18:45                     ` Steve Grubb
2008-05-07 18:45                       ` Steve Grubb
2008-05-08 15:10                       ` Stephen Smalley
2008-05-08 15:10                         ` Stephen Smalley
2008-05-07 17:04               ` Daniel J Walsh

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=Xine.LNX.4.64.0805070830480.20128@us.intercode.com.au \
    --to=jmorris@namei.org \
    --cc=dwalsh@redhat.com \
    --cc=eparis@parisplace.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.