Centos-kernel-stream-9/security
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
..
apparmor security: Create file_truncate hook from path_truncate hook 2025-02-07 17:05:30 -05:00
bpf LSM: Identify modules by more than name 2024-11-28 14:50:19 +01:00
integrity kexec_lock: Replace kexec_mutex() by kexec_lock() in two comments 2024-12-23 09:35:32 +08:00
keys KEYS: trusted: Do not use WARN when encode fails 2024-11-25 00:42:16 +01:00
landlock landlock: Don't lose track of restrictions on cred_transfer 2025-02-07 17:09:55 -05:00
loadpin LSM: Identify modules by more than name 2024-11-28 14:50:19 +01:00
lockdown LSM: Identify modules by more than name 2024-11-28 14:50:19 +01:00
safesetid LSM: Identify modules by more than name 2024-11-28 14:50:19 +01:00
selinux Merge: landlock enablement 2025-02-13 02:24:24 -05:00
smack lsm: new security_file_ioctl_compat() hook 2025-02-07 17:06:36 -05:00
tomoyo lsm: new security_file_ioctl_compat() hook 2025-02-07 17:06:36 -05:00
yama LSM: Identify modules by more than name 2024-11-28 14:50:19 +01:00
Kconfig selinux: remove the runtime disable functionality 2024-11-28 11:11:07 +01:00
Kconfig.hardening randstruct: Reorganize Kconfigs and attribute macros 2024-03-20 09:42:34 -04:00
Makefile
commoncap.c LSM: Identify modules by more than name 2024-11-28 14:50:19 +01:00
device_cgroup.c
inode.c
lsm_audit.c inet: preserve const qualifier in inet_sk() 2024-07-16 17:29:40 +02:00
min_addr.c
security.c lsm: new security_file_ioctl_compat() hook 2025-02-07 17:06:36 -05:00