From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 19/21] linux: Enable Landlock support
Date: Tue, 27 Dec 2022 12:36:21 +0100 [thread overview]
Message-ID: <ECF16A89-1CBE-4FA7-8005-A0399704708A@ipfire.org> (raw)
In-Reply-To: <6f89772f-8082-e4bd-d2eb-8c0a16f00a42@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 2305 bytes --]
I believe that nothing will use this, yet, so it should not break anything turning it on:
Acked-by: Michael Tremer <michael.tremer(a)ipfire.org>
> On 26 Dec 2022, at 20:30, Peter Müller <peter.mueller(a)ipfire.org> wrote:
>
> 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(a)ipfire.org/
> to submit all kernel-related changes as a single patchset.
>
> Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>
> Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
> ---
> config/kernel/kernel.config.x86_64-ipfire | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
> index 3d9e01e38..3bdbf3476 100644
> --- a/config/kernel/kernel.config.x86_64-ipfire
> +++ b/config/kernel/kernel.config.x86_64-ipfire
> @@ -6874,7 +6874,7 @@ CONFIG_SECURITY_DMESG_RESTRICT=y
> CONFIG_SECURITY=y
> CONFIG_SECURITYFS=y
> # CONFIG_SECURITY_NETWORK is not set
> -# CONFIG_SECURITY_PATH is not set
> +CONFIG_SECURITY_PATH=y
> # CONFIG_INTEL_TXT is not set
> CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
> CONFIG_HARDENED_USERCOPY=y
> @@ -6893,7 +6893,7 @@ CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y
> CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
> # CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set
> # CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set
> -# CONFIG_SECURITY_LANDLOCK is not set
> +CONFIG_SECURITY_LANDLOCK=y
> CONFIG_INTEGRITY=y
> # CONFIG_INTEGRITY_SIGNATURE is not set
> # CONFIG_IMA is not set
> --
> 2.35.3
next prev parent reply other threads:[~2022-12-27 11:36 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-26 19:24 [PATCH 00/21] linux: Update to 5.15.85 and backport many IPFire 3.x changes Peter Müller
2022-12-26 19:24 ` [PATCH 01/21] linux: Update to 5.15.85 Peter Müller
2022-12-27 10:37 ` Michael Tremer
2022-12-29 11:14 ` Peter Müller
2022-12-29 11:16 ` Michael Tremer
2022-12-26 19:24 ` [PATCH 02/21] linux: Disable the entire PCMCIA/CardBus subsystem Peter Müller
2022-12-27 10:39 ` Michael Tremer
2022-12-26 19:25 ` [PATCH 03/21] linux: Enable parallel crypto by default Peter Müller
2022-12-27 10:39 ` Michael Tremer
2022-12-26 19:25 ` [PATCH 04/21] linux: Disable syscalls that allows processes to r/w other processes' memory Peter Müller
2022-12-27 11:22 ` Michael Tremer
2022-12-26 19:26 ` [PATCH 05/21] linux: Disable the latent entropy plugin Peter Müller
2022-12-27 11:22 ` Michael Tremer
2022-12-26 19:26 ` [PATCH 06/21] linux: Build all library routines as modules and disable self-tests Peter Müller
2022-12-27 11:22 ` Michael Tremer
2022-12-26 19:26 ` [PATCH 07/21] linux: Build all HWRNGs as modules Peter Müller
2022-12-27 11:23 ` Michael Tremer
2022-12-26 19:27 ` [PATCH 08/21] linux: Compile binfmt_misc as a module Peter Müller
2022-12-27 11:23 ` Michael Tremer
2022-12-26 19:27 ` [PATCH 09/21] linux: Wipe all memory when rebooting on EFI Peter Müller
2022-12-27 11:23 ` Michael Tremer
2022-12-26 19:27 ` [PATCH 10/21] linux: Disable the Distributed Lock Manager Peter Müller
2022-12-27 11:24 ` Michael Tremer
2022-12-26 19:28 ` [PATCH 11/21] linux: Disable some character devices that do not make sense Peter Müller
2022-12-27 11:24 ` Michael Tremer
2022-12-26 19:28 ` [PATCH 12/21] linux: Make graphics configruation sane Peter Müller
2022-12-27 11:24 ` Michael Tremer
2022-12-26 19:28 ` [PATCH 13/21] linux: Disable all sorts of useless Device Mapper targets Peter Müller
2022-12-27 11:25 ` Michael Tremer
2022-12-26 19:29 ` [PATCH 14/21] linux: Enable various modern ciphers/hashes/etc. and acceleration Peter Müller
2022-12-27 11:25 ` Michael Tremer
2022-12-26 19:29 ` [PATCH 15/21] linux: Compress the kernel, modules and firmware using Zstandard Peter Müller
2022-12-27 11:26 ` Michael Tremer
2022-12-26 19:29 ` [PATCH 16/21] linux: Disable ACPI configfs support Peter Müller
2022-12-27 11:29 ` Michael Tremer
2022-12-26 19:30 ` [PATCH 17/21] linux: Enable support for more USB host controllers as modules Peter Müller
2022-12-27 11:33 ` Michael Tremer
2022-12-26 19:30 ` [PATCH 18/21] linux: Poison kernel stack before returning from syscalls Peter Müller
2022-12-27 11:35 ` Michael Tremer
2022-12-26 19:30 ` [PATCH 19/21] linux: Enable Landlock support Peter Müller
2022-12-27 11:36 ` Michael Tremer [this message]
2022-12-26 19:31 ` [PATCH 20/21] linux: Update x86_64 rootfile Peter Müller
2022-12-27 11:36 ` Michael Tremer
2022-12-26 19:31 ` [PATCH 21/21] linux: Align ARM kernel configurations as much as possible Peter Müller
2022-12-27 10:36 ` [PATCH 00/21] linux: Update to 5.15.85 and backport many IPFire 3.x changes Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ECF16A89-1CBE-4FA7-8005-A0399704708A@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox