diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-09-16 16:55:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-09-16 16:55:42 +0200 |
commit | ad060dbbcfcfcba624ef1a75e1d71365a98b86d8 (patch) | |
tree | 4f872b9266bbab1540dbc5b5010d64e0a7b5aafd /security/integrity/evm/evm_main.c | |
parent | Merge tag 'audit-pr-20240911' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
parent | selinux: fix style problems in security/selinux/include/audit.h (diff) | |
download | linux-ad060dbbcfcfcba624ef1a75e1d71365a98b86d8.tar.xz linux-ad060dbbcfcfcba624ef1a75e1d71365a98b86d8.zip |
Merge tag 'selinux-pr-20240911' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
Pull selinux updates from Paul Moore:
- Ensure that both IPv4 and IPv6 connections are properly initialized
While we always properly initialized IPv4 connections early in their
life, we missed the necessary IPv6 change when we were adding IPv6
support.
- Annotate the SELinux inode revalidation function to quiet KCSAN
KCSAN correctly identifies a race in __inode_security_revalidate()
when we check to see if an inode's SELinux has been properly
initialized. While KCSAN is correct, it is an intentional choice made
for performance reasons; if necessary, we check the state a second
time, this time with a lock held, before initializing the inode's
state.
- Code cleanups, simplification, etc.
A handful of individual patches to simplify some SELinux kernel
logic, improve return code granularity via ERR_PTR(), follow the
guidance on using KMEM_CACHE(), and correct some minor style
problems.
* tag 'selinux-pr-20240911' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
selinux: fix style problems in security/selinux/include/audit.h
selinux: simplify avc_xperms_audit_required()
selinux: mark both IPv4 and IPv6 accepted connection sockets as labeled
selinux: replace kmem_cache_create() with KMEM_CACHE()
selinux: annotate false positive data race to avoid KCSAN warnings
selinux: refactor code to return ERR_PTR in selinux_netlbl_sock_genattr
selinux: Streamline type determination in security_compute_sid
Diffstat (limited to 'security/integrity/evm/evm_main.c')
0 files changed, 0 insertions, 0 deletions