From: "Peter Müller" <peter.mueller@ipfire.org>
To: "IPFire: Development" <development@lists.ipfire.org>
Subject: [PATCH] sysctl.conf: Set low address space protection sysctl to recommended value
Date: Thu, 19 Nov 2026 15:41:00 +0000 [thread overview]
Message-ID: <0829b3ff-309b-4742-8fa7-f40282cbb8a7@ipfire.org> (raw)
The current setting of protecting only the first 4kB of virtual low
memory dates back to 32-bit ARM support times, where enforcing more was
not feasible. Today's kernel documentation recommends a different value,
suitable for 64-bit architectures, which the generic IPFire kernel
configuration presets already.
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
config/etc/sysctl.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/etc/sysctl.conf b/config/etc/sysctl.conf
index 819076b80..a7a5493bb 100644
--- a/config/etc/sysctl.conf
+++ b/config/etc/sysctl.conf
@@ -24,7 +24,7 @@ net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.log_martians = 1
kernel.printk = 1 4 1 7
-vm.mmap_min_addr = 4096
+vm.mmap_min_addr = 65536
vm.min_free_kbytes = 8192
# Disable IPv6 by default.
--
2.51.0
next reply other threads:[~2026-11-19 15:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 15:41 Peter Müller [this message]
2026-11-19 15:50 ` 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=0829b3ff-309b-4742-8fa7-f40282cbb8a7@ipfire.org \
--to=peter.mueller@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