Sync SELinux/LSM code with upstream up to v5.18-rc5
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2083580
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2050966
This MR backports minor fixes and cleanups in the SELinux and LSM subsystems from upstream to keep the code in sync.
All commits cherry-picked cleanly without conflicts.
Signed-off-by: Ondrej Mosnacek omosnace@redhat.com
Edited by Ondrej Mosnáček