Centos-kernel-stream-9/security/selinux
Patrick Talbert 9039cec1ed Merge: landlock enablement
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/5490

JIRA: https://issues.redhat.com/browse/RHEL-8810

Depends on: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3454

Landlock allows unprivileged user processes to build security sandboxes. It is used by various user-space programs so it's beneficial to enable it also for RHEL users. This backport moves landlock in line with Linux v6.10-rc1, as further improvements will require more extensive backports to the Linux filesystem.

Requested by Mickaël Salaün <mic@digikod.net> during LPC this year.

Omitted-fix: 39ba2b9ac6fd ("ubifs: add support for FS_IOC_GETFSSYSFSPATH")
Omitted-fix: 9e3f1c593675 ("selftests/move_mount_set_group:Make tests build with old libc")
Omitted-fix: 4cfa8a873d3e ("tools/include: Sync uapi/linux/fs.h with the kernel sources")
Omitted-fix: 54a6e6bbf3be ("landlock: Add signal scoping")

Signed-off-by: Ryan Sullivan <rysulliv@redhat.com>

Approved-by: Marcelo Ricardo Leitner <mleitner@redhat.com>
Approved-by: Ondrej Mosnáček <omosnacek@gmail.com>
Approved-by: Wander Lairson Costa <wander@redhat.com>
Approved-by: Ricardo Robaina <rrobaina@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: Patrick Talbert <ptalbert@redhat.com>
2025-02-13 02:24:24 -05:00
..
include selinux: cleanup exit_sel_fs() declaration 2024-11-28 11:48:41 +01:00
ss selinux: ignore unknown extended permissions 2025-01-22 10:32:43 +01:00
.gitignore
Kconfig selinux: remove the runtime disable functionality 2024-11-28 11:11:07 +01:00
Makefile selinux: include a consumer of the new IMA critical data hook 2021-01-14 23:41:46 -05:00
avc.c selinux: avc: drop unused function avc_disable() 2024-11-28 11:48:40 +01:00
hooks.c selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket 2025-02-07 17:06:40 -05:00
ibpkey.c selinux: various sparse fixes 2022-05-10 14:28:54 +02:00
ima.c selinux: fix misuse of mutex_is_locked() 2022-05-10 14:28:20 +02:00
netif.c selinux: remove unused global variables 2021-01-12 09:49:01 -05:00
netlabel.c netlabel: fix RCU annotation for IPv4 options on socket creation 2024-05-14 09:52:26 +02:00
netlink.c selinux: mark some global variables __ro_after_init 2021-01-12 10:08:55 -05:00
netnode.c selinux: various sparse fixes 2022-05-10 14:28:54 +02:00
netport.c selinux: various sparse fixes 2022-05-10 14:28:54 +02:00
nlmsgtab.c rtnetlink: add new rtm tunnel api for tunnel id filtering 2024-03-26 15:41:43 +01:00
selinuxfs.c selinux: remove the runtime disable functionality 2024-11-28 11:11:07 +01:00
status.c
xfrm.c selinux: use correct type for context length 2022-05-10 14:28:54 +02:00