All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/3] Fix some multiqueue TUN problems
@ 2012-12-05 20:25 Paul Moore
  2012-12-05 20:26 ` [RFC PATCH v2 1/3] tun: correctly report an error in tun_flow_init() Paul Moore
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Paul Moore @ 2012-12-05 20:25 UTC (permalink / raw)
  To: netdev, linux-security-module, selinux; +Cc: jasowang, mst

Second draft of the LSM/SELinux fixes to the upcoming multiqueue TUN
functionality.  This draft incorporates all the comments/decisions
from the first draft, notably the new LSM and SELinux hook for the
TUNSETQUEUE operation.  Other LSMs do not provide TUN controls so they
are not affected.

Once we decide this is the right approach I'll push the associated
SELinux policy FLASK definitions upstream; for those who are interested
the SELinux policy diff in included in the description of patch 1/2.

I don't expect this to be the final patch, just a starting point for
further discussion so I didn't really do any testing, simply making
sure that it compiled cleanly.

---

Paul Moore (3):
      tun: correctly report an error in tun_flow_init()
      selinux: add the "create_queue" permission to the "tun_socket" class
      tun: fix LSM/SELinux labeling of tun/tap devices


 drivers/net/tun.c                   |   29 +++++++++++++----
 include/linux/security.h            |   59 +++++++++++++++++++++++++++--------
 security/capability.c               |   24 ++++++++++++--
 security/security.c                 |   28 ++++++++++++++---
 security/selinux/hooks.c            |   50 +++++++++++++++++++++++-------
 security/selinux/include/classmap.h |    2 +
 security/selinux/include/objsec.h   |    4 ++
 7 files changed, 156 insertions(+), 40 deletions(-)

--
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-12-12 18:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 20:25 [RFC PATCH v2 0/3] Fix some multiqueue TUN problems Paul Moore
2012-12-05 20:26 ` [RFC PATCH v2 1/3] tun: correctly report an error in tun_flow_init() Paul Moore
     [not found]   ` <2215330.qi9iHRh0XG@jason-thinkpad-t430s>
2012-12-06 15:46     ` Paul Moore
2012-12-05 20:26 ` [RFC PATCH v2 2/3] selinux: add the "create_queue" permission to the "tun_socket" class Paul Moore
2012-12-05 20:26 ` [RFC PATCH v2 3/3] tun: fix LSM/SELinux labeling of tun/tap devices Paul Moore
     [not found]   ` <9040763.QsllgCP7TP@jason-thinkpad-t430s>
2012-12-06 15:36     ` Paul Moore
     [not found]   ` <20121206103325.GG10837@redhat.com>
2012-12-06 15:46     ` Paul Moore
     [not found]       ` <20121206161200.GA4340@redhat.com>
2012-12-06 16:56         ` Paul Moore
     [not found]           ` <20121206205716.GA6576@redhat.com>
2012-12-06 21:09             ` Paul Moore
     [not found]               ` <20121207122516.GA16577@redhat.com>
2012-12-10 17:04                 ` Paul Moore
     [not found]                   ` <20121210172656.GA30775@redhat.com>
2012-12-10 17:33                     ` Paul Moore
     [not found]                       ` <20121210175035.GA31856@redhat.com>
2012-12-10 18:42                         ` Eric Paris
2012-12-10 22:21                           ` Paul Moore
2012-12-10 22:43                         ` Paul Moore
     [not found]   ` <20121212092236.GB4354@redhat.com>
2012-12-12 18:49     ` Paul Moore

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.