netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v3 0/2] Fix some multiqueue TUN problems
@ 2012-12-18 22:53 Paul Moore
  2012-12-18 22:53 ` [RFC PATCH v3 1/2] selinux: add the "attach_queue" permission to the "tun_socket" class Paul Moore
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paul Moore @ 2012-12-18 22:53 UTC (permalink / raw)
  To: netdev, linux-security-module, selinux; +Cc: jasowang, mst

A refresh/respin of the LSM/SELinux fixes to work on top of Jason's
latest API tweak (now living in DaveM's net tree).  In general, I
believe the hooks and thinking behind the v2 patchset still make sense
so no changes there, although I did change the SELinux permission from
"create_queue" to "attach_queue" to match the API changes.

Comments are welcome and encouraged; we need to get this fixed before
3.8 is released.

---

Paul Moore (2):
      selinux: add the "attach_queue" permission to the "tun_socket" class
      tun: fix LSM/SELinux labeling of tun/tap devices


 drivers/net/tun.c                   |   27 ++++++++++++----
 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, 155 insertions(+), 39 deletions(-)

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

end of thread, other threads:[~2012-12-20 21:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18 22:53 [RFC PATCH v3 0/2] Fix some multiqueue TUN problems Paul Moore
2012-12-18 22:53 ` [RFC PATCH v3 1/2] selinux: add the "attach_queue" permission to the "tun_socket" class Paul Moore
2012-12-18 22:53 ` [RFC PATCH v3 2/2] tun: fix LSM/SELinux labeling of tun/tap devices Paul Moore
2012-12-18 23:08   ` Michael S. Tsirkin
2012-12-19  5:46     ` Jason Wang
2012-12-19 16:58       ` Paul Moore
2012-12-20 21:58         ` Eric Paris
2012-12-19 16:59 ` [RFC PATCH v3 0/2] Fix some multiqueue TUN problems Paul Moore

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