netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: David Miller <davem@davemloft.net>
Cc: sds@tycho.nsa.gov, tgraf@suug.ch, netdev@vger.kernel.org,
	jmorris@namei.org, johnpol@2ka.mipt.ru
Subject: Re: Refactor Netlink connector?
Date: Mon, 29 May 2006 08:11:26 -0400	[thread overview]
Message-ID: <1148904686.27078.20.camel@jzny2> (raw)
In-Reply-To: <20060528.233649.22498001.davem@davemloft.net>

On Sun, 2006-28-05 at 23:36 -0700, David Miller wrote:
[..]
> 
> More to the point I think that none of this will be handled
> transparently unless the onus is put on new netlink module users.
> Ie. make the register of a netlink subsystem user (either direct
> netlink or via generic netlink) fail if the operations don't
> provide the SELinux handlers.
>
> Otherwise, the SELinux folks will continually be playing catchup
> writing the handlers.  That doesn't scale.

The scaling problem may be more related to SELinux trying to have
ultimate knowledge of all the subsystems classification. It breaks when
it is something that is not simple as a type (as in this case).

If SELinux should provide ways to add "filters" more dynamically at its
hooks - instead of having people go and look for that table and update
it then it would simplify things and we may be able to easily have
netlink users to register such filters at startup; infact we may be able
to hide this from the users in genetlink. 
One could argue that if SELinux is capable of adding such filters at its
hooks, then the problem could be moved to user space policy perhaps? 

cheers,
jamal


  reply	other threads:[~2006-05-29 12:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-26 20:04 Refactor Netlink connector? James Morris
2006-05-26 23:06 ` Patrick McHardy
2006-05-27 13:46 ` Evgeniy Polyakov
2006-05-27 16:45   ` James Morris
2006-05-27 17:21     ` James Morris
2006-05-28 15:33       ` Evgeniy Polyakov
2006-05-29  6:36         ` David Miller
2006-05-29 12:11           ` jamal [this message]
2006-05-30 14:22             ` James Morris
2006-05-31 12:00               ` jamal
2006-05-31 13:09                 ` Thomas Graf
2006-05-30 14:18         ` James Morris
2006-05-30 18:03           ` Evgeniy Polyakov
2006-05-30 18:58             ` James Morris
2006-05-30 19:09               ` Evgeniy Polyakov
2006-05-31  3:00       ` Thomas Graf
2006-05-31 12:20         ` jamal
2006-05-31 13:06           ` Thomas Graf
2006-05-31 13:22             ` jamal
2006-05-31 15:42               ` James Morris
2006-06-01 10:45                 ` Thomas Graf
2006-06-01 14:24                   ` James Morris
2006-06-14 12:36                     ` jamal
2006-06-14 15:19                       ` James Morris

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=1148904686.27078.20.camel@jzny2 \
    --to=hadi@cyberus.ca \
    --cc=davem@davemloft.net \
    --cc=jmorris@namei.org \
    --cc=johnpol@2ka.mipt.ru \
    --cc=netdev@vger.kernel.org \
    --cc=sds@tycho.nsa.gov \
    --cc=tgraf@suug.ch \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).