From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 65650ec69be35b5372a7fdca3e74deb3fd433327 Date: Fri, 05 Jul 2019 10:59:20 +0100 Message-ID: <20190705095920.613F684FDAF@people01.i.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5083596478198879199==" List-Id: --===============5083596478198879199== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via 65650ec69be35b5372a7fdca3e74deb3fd433327 (commit) via ef21f3e49d2998eb4a223c05ef05f169ae99537a (commit) from 4cd82be05f21bcf49e38793e41730923a0107a0b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 65650ec69be35b5372a7fdca3e74deb3fd433327 Author: Michael Tremer Date: Thu Jul 4 11:21:42 2019 +0100 core135: Ship updated sysctl.conf =20 Signed-off-by: Michael Tremer commit ef21f3e49d2998eb4a223c05ef05f169ae99537a Author: Peter M=C3=BCller Date: Thu Jul 4 19:15:00 2019 +0000 sysctl: improve KASLR effectiveness for mmap =20 By feeding more random bits into mmap allocation, the effectiveness of KASLR will be improved, making attacks trying to bypass address randomisation more difficult. =20 Changed sysctl values are: =20 vm.mmap_rnd_bits =3D 32 (default: 28) vm.mmap_rnd_compat_bits =3D 16 (default: 8) =20 Signed-off-by: Peter M=C3=BCller Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: config/etc/sysctl.conf | 4 ++++ config/rootfiles/core/135/filelists/files | 1 + 2 files changed, 5 insertions(+) Difference in files: diff --git a/config/etc/sysctl.conf b/config/etc/sysctl.conf index 9a943fffa..5a67f1795 100644 --- a/config/etc/sysctl.conf +++ b/config/etc/sysctl.conf @@ -45,6 +45,10 @@ kernel.kptr_restrict =3D 2 # Avoid kernel memory address exposures via dmesg. kernel.dmesg_restrict =3D 1 =20 +# Improve KASLR effectiveness for mmap +vm.mmap_rnd_bits =3D 32 +vm.mmap_rnd_compat_bits =3D 16 + # Minimal preemption granularity for CPU-bound tasks: # (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds) kernel.sched_min_granularity_ns =3D 10000000 diff --git a/config/rootfiles/core/135/filelists/files b/config/rootfiles/cor= e/135/filelists/files index 50bf616b0..7cf3741c5 100644 --- a/config/rootfiles/core/135/filelists/files +++ b/config/rootfiles/core/135/filelists/files @@ -7,3 +7,4 @@ etc/rc.d/init.d/cloud-init etc/rc.d/init.d/functions etc/rc.d/init.d/partresize etc/rc.d/init.d/unbound +etc/sysctl.conf hooks/post-receive -- IPFire 2.x development tree --===============5083596478198879199==--