Merge tag 'selinux-pr-20210629' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
Pull SELinux updates from Paul Moore: - The slow_avc_audit() function is now non-blocking so we can remove the AVC_NONBLOCKING tricks; this also includes the 'flags' variant of avc_has_perm(). - Use kmemdup() instead of kcalloc()+copy when copying parts of the SELinux policydb. - The InfiniBand device name is now passed by reference when possible in the SELinux code, removing a strncpy(). - Minor cleanups including: constification of avtab function args, removal of useless LSM/XFRM function args, SELinux kdoc fixes, and removal of redundant assignments. * tag 'selinux-pr-20210629' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux: selinux: kill 'flags' argument in avc_has_perm_flags() and avc_audit() selinux: slow_avc_audit has become non-blocking selinux: Fix kernel-doc selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC lsm_audit,selinux: pass IB device name by reference selinux: Remove redundant assignment to rc selinux: Corrected comment to match kernel-doc comment selinux: delete selinux_xfrm_policy_lookup() useless argument selinux: constify some avtab function arguments selinux: simplify duplicate_policydb_cond_list() by using kmemdup()
Showing
- include/linux/lsm_audit.h 4 additions, 4 deletionsinclude/linux/lsm_audit.h
- include/linux/lsm_hook_defs.h 1 addition, 2 deletionsinclude/linux/lsm_hook_defs.h
- include/linux/security.h 2 additions, 2 deletionsinclude/linux/security.h
- net/xfrm/xfrm_policy.c 2 additions, 4 deletionsnet/xfrm/xfrm_policy.c
- security/security.c 2 additions, 2 deletionssecurity/security.c
- security/selinux/avc.c 16 additions, 45 deletionssecurity/selinux/avc.c
- security/selinux/hooks.c 6 additions, 16 deletionssecurity/selinux/hooks.c
- security/selinux/include/avc.h 1 addition, 12 deletionssecurity/selinux/include/avc.h
- security/selinux/include/xfrm.h 1 addition, 1 deletionsecurity/selinux/include/xfrm.h
- security/selinux/ss/avtab.c 15 additions, 13 deletionssecurity/selinux/ss/avtab.c
- security/selinux/ss/avtab.h 9 additions, 7 deletionssecurity/selinux/ss/avtab.h
- security/selinux/ss/conditional.c 8 additions, 6 deletionssecurity/selinux/ss/conditional.c
- security/selinux/ss/policydb.c 0 additions, 1 deletionsecurity/selinux/ss/policydb.c
- security/selinux/ss/services.c 22 additions, 5 deletionssecurity/selinux/ss/services.c
- security/selinux/xfrm.c 1 addition, 1 deletionsecurity/selinux/xfrm.c
Please register or sign in to comment