From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jVjP11nQGz2yyM for ; Thu, 19 Nov 2026 15:41:09 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jVjNx6HL7z2xMg for ; Thu, 19 Nov 2026 15:41:05 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jVjNw2C4Vz2V for ; Thu, 19 Nov 2026 15:41:03 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795102865; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xsF3wkZTc8Qn3I/F9jnZj9E2AerkfLWCaHtyaF/r13I=; b=jQdsa5guiQ+4lupDtjD4m76xwAe6xtEy7PjGaUsGIAAAxggkgkvswvIQkf3FxHpzEuc3/J gx721GVNAYA7BvBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795102865; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xsF3wkZTc8Qn3I/F9jnZj9E2AerkfLWCaHtyaF/r13I=; b=BS5rXbzo1X36PCUTA2TXAEYbZNTAjeoXf1Fz3qyjUNaVJ92fZ1ORSVL/LgzwlNikB4WqYU KYBSsHuAJasbLY4tNJkiv/V0okPVkB2ogR/ty6rr5hgg1hX6LRQqF6iowUS1cLr8LKbri9 Ne4l8J9Vg78UUOx1Db1uUdn4l/uTsNAHiR4PWhzMnF1ZGipeV6oEcyRjlGNxL/JZ/ckhuR UPVM4T680dQUBBj8B31Ya68zI+vFJjb2n4+Fy0JJxtrFNZgiURz/QmIqYePFgKu+FPJdr1 FOHRngOplx96nfSvysjpb0GTVO/moXI47UCUff4qwkFUZ07vHVkgfVQfmva3oA== Message-ID: <0829b3ff-309b-4742-8fa7-f40282cbb8a7@ipfire.org> Date: Thu, 19 Nov 2026 15:41:00 +0000 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 To: "IPFire: Development" From: =?UTF-8?Q?Peter_M=C3=BCller?= Subject: [PATCH] sysctl.conf: Set low address space protection sysctl to recommended value Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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