View Issue Details

IDProjectCategoryView StatusLast Update
0007987Rocky-Linux-9kernelpublic2024-10-19 19:43
ReporterMickaël Salaün Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Summary0007987: Enable Landlock
DescriptionLandlock is a feature to create security sandboxes thanks to 3 dedicated system calls. They are designed to be safe to used by any processes, which can only drop their privileges, similarly to seccomp.

The Landlock LSM needs to be build in the kernel (CONFIG_SECURITY_LANDLOCK=y) and enabled by default (CONFIG_LSM=landlock,...) to be useful (supported since Linux 5.13). See https://docs.kernel.org/userspace-api/landlock.html#kernel-support

Landlock is already enabled by default on Ubuntu 22.04 LTS, Fedora 35, Arch Linux, Alpine Linux, Gentoo, Debian, chromeOS, and more. There is an opened ticket for RHEL but no real activity since two years (see RHBZ: 2103989): https://issues.redhat.com/browse/RHEL-8810

Because the goal of sandboxing is to be seamlessly integrated in applications/services and work in a best-effort mode (see https://sched.co/1ej3a), no specific user space configuration is needed to leverage Landlock.

Landlock should be enabled on Rock Linux 9 and 10.
TagsNo tags attached.

Activities

Akemi Yagi

Akemi Yagi

2024-10-19 19:43

reporter   ~0008548

Just adding a short note in case someone is interested.

Landlock is now enabled in ELRepo's kernel-ml and kernel-lt:

https://elrepo.org/bugs/view.php?id=1486

Issue History

Date Modified Username Field Change
2024-10-09 13:43 Mickaël Salaün New Issue
2024-10-19 19:43 Akemi Yagi Note Added: 0008548