public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] sysctl.conf: Turn on hard- and symlink protection
Date: Wed, 06 May 2020 11:25:45 +0100	[thread overview]
Message-ID: <02F7B386-7CAF-4639-8DBD-D7958B953812@ipfire.org> (raw)
In-Reply-To: <5bc92613-66bb-8f0d-0caa-4532863a9236@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]

Thank you. Merged.

> On 5 May 2020, at 21:19, Peter Müller <peter.mueller(a)ipfire.org> wrote:
> 
> This backports 29a8992b7228771fb2cfc68679596598fb01105a into IPFire 3.x
> 
> Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
> ---
> setup/setup.nm                     | 2 +-
> setup/sysctl/kernel-hardening.conf | 4 ++++
> 2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/setup/setup.nm b/setup/setup.nm
> index 09d94e23d..cc8454bfa 100644
> --- a/setup/setup.nm
> +++ b/setup/setup.nm
> @@ -5,7 +5,7 @@
> 
> name       = setup
> version    = 3.0
> -release    = 14
> +release    = 15
> arch       = noarch
> 
> groups     = Base Build System/Base
> diff --git a/setup/sysctl/kernel-hardening.conf b/setup/sysctl/kernel-hardening.conf
> index 33e096c7c..d92485d61 100644
> --- a/setup/sysctl/kernel-hardening.conf
> +++ b/setup/sysctl/kernel-hardening.conf
> @@ -7,3 +7,7 @@ kernel.dmesg_restrict = 1
> # Improve KASLR effectiveness for mmap.
> vm.mmap_rnd_bits = 32
> vm.mmap_rnd_compat_bits = 16
> +
> +# Turn on hard- and symlink protection
> +fs.protected_symlinks = 1
> +fs.protected_hardlinks = 1
> -- 
> 2.26.1


  reply	other threads:[~2020-05-06 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 20:19 Peter Müller
2020-05-06 10:25 ` Michael Tremer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-23 21:28 Peter Müller
2020-01-23 22:27 ` 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=02F7B386-7CAF-4639-8DBD-D7958B953812@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