]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/kernel/kernel.config.x86_64-ipfire
linux: Enable Landlock support
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 26 Dec 2022 19:30:54 +0000 (19:30 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 3 Jan 2023 16:09:02 +0000 (16:09 +0000)
commit41d58ef4f39924322c6517e1efc27d7f57be4dd0
treeea58413a1c528445a8f4cde01ec6ac65cfd2cf0c
parent7a390182197285d03b3672ce450b3715016c36cc
linux: Enable Landlock support

From the kernel's documentation:

> Landlock is a sandboxing mechanism that enables processes to restrict
> themselves (and their future children) by gradually enforcing
> tailored access control policies. A Landlock security policy is a
> set of access rights (e.g. open a file in read-only, make a
> directory, etc.) tied to a file hierarchy. Such policy can be
> configured and enforced by any processes for themselves using the
> dedicated system calls: landlock_create_ruleset(),
> landlock_add_rule(), and landlock_restrict_self().

There is no harm in enabling this security feature, so applications
supporting Landlock can benefit from it.

Rolled forward from https://patchwork.ipfire.org/project/ipfire/patch/d7ac0caf-5a7c-bcca-6293-16c773523942@ipfire.org/
to submit all kernel-related changes as a single patchset.

Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
config/kernel/kernel.config.x86_64-ipfire