Skip to content

Labeled IPsec cleanups

Paul Moore selinux 1 version New

Get series with b4
b4 am 20130614185950.30803.17359.stgit@localhost

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lsm: split the xfrm_state_alloc_security() hook implementationinclude/linux/security.h security/capability.c security/security.c +3 more+128 -1320 replies
2/8selinux: cleanup and consolidate the XFRM alloc/clone/delete/free codesecurity/selinux/xfrm.c+40 -310 replies
3/8selinux: cleanup selinux_xfrm_policy_lookup() and selinux_xfrm_state_pol_flow_match()security/selinux/xfrm.c+18 -360 replies
4/8selinux: cleanup selinux_xfrm_sock_rcv_skb() and selinux_xfrm_postroute_last()security/selinux/include/xfrm.h security/selinux/xfrm.c+42 -600 replies
5/8selinux: cleanup some comment and whitespace issues in the XFRM codesecurity/selinux/xfrm.c+10 -130 replies
6/8selinux: cleanup selinux_xfrm_decode_session()security/selinux/xfrm.c+12 -110 replies
7/8selinux: cleanup the XFRM headersecurity/selinux/include/xfrm.h+5 -140 replies
8/8selinux: remove the BUG_ON() from selinux_skb_xfrm_sid()security/selinux/hooks.c security/selinux/include/xfrm.h+8 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Labeled IPsec cleanups

The SELinux labeled IPsec has languished for a few years without any housekeeping, this patchset attempts to tidy up the code and sweep away the dust bunnies hiding in the corners.

Most of the patchset is fairly trivial with the exception of the first patch (1/8) which has some substance to it but doesn't actually affect the behavior of the labeled IPsec code, it just makes it more sensible.

---

Paul Moore (8):
lsm: split the xfrm_state_alloc_security() hook implementation
selinux: cleanup and consolidate the XFRM alloc/clone/delete/free code
selinux: cleanup selinux_xfrm_policy_lookup() and selinux_xfrm_state_pol_flow_match()
selinux: cleanup selinux_xfrm_sock_rcv_skb() and selinux_xfrm_postroute_last()
selinux: cleanup some comment and whitespace issues in the XFRM code
selinux: cleanup selinux_xfrm_decode_session()
selinux: cleanup the XFRM header
selinux: remove the BUG_ON() from selinux_skb_xfrm_sid()

 include/linux/security.h        |   26 ++
 security/capability.c           |   15 +
 security/security.c             |   13 -
 security/selinux/hooks.c        |   11 +
 security/selinux/include/xfrm.h |   45 ++--
 security/selinux/xfrm.c         |  453 +++++++++++++++++----------------------
 6 files changed, 262 insertions(+), 301 deletions(-)

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.