All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: Eric Paris <eparis@parisplace.org>,
	James Morris <jmorris@namei.org>,
	selinux@tycho.nsa.gov
Subject: Re: [PATCH v4] selinux: support deferred mapping of contexts
Date: Wed, 7 May 2008 12:48:12 -0400	[thread overview]
Message-ID: <200805071248.13439.sgrubb@redhat.com> (raw)
In-Reply-To: <7e0fb38c0805070829q1bda9233h1f71865634776e71@mail.gmail.com>

On Wednesday 07 May 2008 11:29:36 Eric Paris wrote:
> On Wed, May 7, 2008 at 11:23 AM, Stephen Smalley <sds@tycho.nsa.gov> wrote:
> >  On Wed, 2008-05-07 at 11:17 -0400, Eric Paris wrote:
> >  > >  I assume we do NOT want to use this variant interface when getting
> >  > >  contexts to display in audit messages, as we want the audit
> >  > > messages to correspond to the actual denial and to yield proper
> >  > > policy if turned into an allow rule.
> >  >
> >  > Is there any way we could get them both displayed if there is a
> >  > denial?  Might be interesting to know both that the denial was
> >  > actually unlabeled_t object but also what the 'incorrect' label
> >  > was.....
> >
> >  Easy to do kernel-side, but requires a new avc audit field that won't
> >  cause any complaints by audit userland or tools like audit2allow.

What would be the proposed name of this new field? Would it hold just a 
context string? FWIW, audit user land doesn't really care except that we 
don't have name collisions on fields.

-Steve

WARNING: multiple messages have this Message-ID (diff)
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: "Eric Paris" <eparis@parisplace.org>,
	"Stephen Smalley" <sds@tycho.nsa.gov>,
	James Morris <jmorris@namei.org>,
	selinux@tycho.nsa.gov
Subject: Re: [PATCH v4] selinux: support deferred mapping of contexts
Date: Wed, 7 May 2008 12:48:12 -0400	[thread overview]
Message-ID: <200805071248.13439.sgrubb@redhat.com> (raw)
In-Reply-To: <7e0fb38c0805070829q1bda9233h1f71865634776e71@mail.gmail.com>

On Wednesday 07 May 2008 11:29:36 Eric Paris wrote:
> On Wed, May 7, 2008 at 11:23 AM, Stephen Smalley <sds@tycho.nsa.gov> wrote:
> >  On Wed, 2008-05-07 at 11:17 -0400, Eric Paris wrote:
> >  > >  I assume we do NOT want to use this variant interface when getting
> >  > >  contexts to display in audit messages, as we want the audit
> >  > > messages to correspond to the actual denial and to yield proper
> >  > > policy if turned into an allow rule.
> >  >
> >  > Is there any way we could get them both displayed if there is a
> >  > denial?  Might be interesting to know both that the denial was
> >  > actually unlabeled_t object but also what the 'incorrect' label
> >  > was.....
> >
> >  Easy to do kernel-side, but requires a new avc audit field that won't
> >  cause any complaints by audit userland or tools like audit2allow.

What would be the proposed name of this new field? Would it hold just a 
context string? FWIW, audit user land doesn't really care except that we 
don't have name collisions on fields.

-Steve

--
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-07 16:48 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
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 [this message]
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=200805071248.13439.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=eparis@parisplace.org \
    --cc=jmorris@namei.org \
    --cc=linux-audit@redhat.com \
    --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.