All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Paris <eparis@parisplace.org>
To: Karl MacMillan <kmacmillan@mentalrootkit.com>
Cc: James Morris <jmorris@namei.org>,
	selinux@tycho.nsa.gov, Joshua Brindle <method@manicmethod.com>,
	Daniel J Walsh <dwalsh@redhat.com>
Subject: Re: secmark integration
Date: Fri, 30 Mar 2007 16:25:09 -0400	[thread overview]
Message-ID: <1175286309.20396.13.camel@localhost.localdomain> (raw)
In-Reply-To: <1175284031.3602.24.camel@localhost.localdomain>

On Fri, 2007-03-30 at 15:47 -0400, Karl MacMillan wrote:
> On Mon, 2007-03-19 at 10:57 -0400, James Morris wrote:
> > Following some discussion of secmark integration at the developer summit, 
> > one of the ideas proposed by Joshua (IIRC) was that it would be desirable 
> > to have a separate table for managing the secmark rules.
> > 
> > This is technically possible (and we could also look at adding hooks for 
> > the load_policy permission to be called for manipulating rules in this 
> > table), but probably difficult to justify upstream: you should only do 
> > something in the kernel if it can't be done in userspace.
> > 
> > I think we can make a good argument, though, based on it being for MAC 
> > rules rather than DAC, in that the _type_ of security being managed is 
> > fundamentally different, and that the table is likely being managed in 
> > conjunction with SELinux policy.
> > 
> > Is there a consensus, particularly from distro folk, that having a 
> > separate table would be of great benefit ?  I can post a rudimentary patch 
> > soon, if needed.
> > 
> 
> Is this really needed as long as the distro provides a way to customize
> the iptables rules?

It's not just that.  The reason a new table was proposed was because
people may want to iptables -F and flush their rules.  If the secmark
stuff is on the main tables (filter and nat) that people use it will get
blown away and there will be no automation of a boolean setting you talk
about later.


--
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:[~2007-03-30 20:25 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-19 14:57 secmark integration James Morris
2007-03-30 19:47 ` Karl MacMillan
2007-03-30 20:25   ` Eric Paris [this message]
2007-03-30 20:36     ` Karl MacMillan
2007-03-30 21:47       ` Eric Paris
2007-04-02 17:23         ` Karl MacMillan
2007-04-02 19:44           ` James Morris
2007-03-31  2:09     ` James Morris
2007-04-02 14:45       ` Daniel J Walsh
2007-04-02 14:55         ` Eric Paris
2007-04-02 15:15           ` Christopher J. PeBenito
2007-04-02 17:15             ` Karl MacMillan
2007-04-04 17:22               ` Christopher J. PeBenito
2007-04-04 20:08                 ` Karl MacMillan
2007-04-04 20:51                   ` Daniel J Walsh
2007-04-05 15:48                     ` Karl MacMillan
2007-04-05 17:06                       ` Christopher J. PeBenito
2007-04-05 17:40                         ` Karl MacMillan
2007-04-05 17:47                           ` Stephen Smalley
2007-04-05 18:02                             ` Christopher J. PeBenito
2007-04-05 17:59                               ` Stephen Smalley
2007-04-05 18:46                                 ` Christopher J. PeBenito
2007-04-05 18:48                                   ` Joshua Brindle
2007-04-05 19:22                                   ` Stephen Smalley
2007-04-05 19:53                                     ` Eamon Walsh
2007-04-05 19:59                                       ` Stephen Smalley
2007-04-05 18:49                                 ` Stephen Smalley
2007-04-02 16:16           ` James Morris
2007-04-02 17:14             ` Joshua Brindle
2007-04-02 17:28               ` Karl MacMillan
2007-04-02 19:47                 ` James Morris
2007-04-02 19:52                   ` Karl MacMillan
2007-04-02 14:52       ` Paul Moore

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=1175286309.20396.13.camel@localhost.localdomain \
    --to=eparis@parisplace.org \
    --cc=dwalsh@redhat.com \
    --cc=jmorris@namei.org \
    --cc=kmacmillan@mentalrootkit.com \
    --cc=method@manicmethod.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.