Skip to content

New LSM hooks for the TUN driver

Paul Moore netdev selinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lsm: Add hooks to the TUN driverdrivers/net/tun.c include/linux/security.h security/capability.c +1 more+83 -72 replies
2/2selinux: Support for the new TUN LSM hookssecurity/selinux/hooks.c security/selinux/include/av_inherit.h security/selinux/include/av_permissions.h +2 more+83 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchEric ParisSerge HallynDavid S. Miller
1/2A-b A-b A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] New LSM hooks for the TUN driver

This is the third, and hopefully final, version of the new LSM TUN hooks. This version incorporates all outstanding feedback as well as my sign-off and ACKs from both Eric and Serge (see patches). However, the patches are still missing an ACK from netdev - I haven't heard any objections but I'm not certain anyone from netdev has really taken a look yet.

Dave and James - these patches once again straddle that line between networking and security; while James has usually ushered these types of patches upstream in the past I'll let you two fight it out again for the honors (assuming you are both okay with the patches).

The patches can also be found in git form here:

* git://git.infradead.org/users/pcmoore/lblnet-2.6_next

Thanks.

---

Paul Moore (2):
selinux: Support for the new TUN LSM hooks
lsm: Add hooks to the TUN driver

 drivers/net/tun.c                          |   22 +++++++---
 include/linux/security.h                   |   31 ++++++++++++++
 security/capability.c                      |   19 +++++++++
 security/security.c                        |   18 ++++++++
 security/selinux/hooks.c                   |   60 +++++++++++++++++++++++++++-
 security/selinux/include/av_inherit.h      |    1 
 security/selinux/include/av_permissions.h  |   22 ++++++++++
 security/selinux/include/class_to_string.h |    1 
 security/selinux/include/flask.h           |    1 
 9 files changed, 166 insertions(+), 9 deletions(-)