Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
--- /dev/null
+# Improve KASLR effectiveness for mmap
+vm.mmap_rnd_bits = 32
+vm.mmap_rnd_compat_bits = 16
# Avoid kernel memory address exposures via dmesg.
kernel.dmesg_restrict = 1
-# Improve KASLR effectiveness for mmap
-vm.mmap_rnd_bits = 32
-vm.mmap_rnd_compat_bits = 16
-
# Minimal preemption granularity for CPU-bound tasks:
# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds)
kernel.sched_min_granularity_ns = 10000000
etc/resolv.conf
etc/securetty
etc/sysctl.conf
+#etc/sysctl-x86_64.conf
etc/syslog.conf
etc/system-release
#home
etc/resolv.conf
etc/securetty
etc/sysctl.conf
+etc/sysctl-x86_64.conf
etc/syslog.conf
etc/system-release
#home
etc/rc.d/init.d/leds
etc/rc.d/init.d/networking/red.down/05-remove-dns-forwarders
etc/rc.d/init.d/partresize
+etc/rc.d/init.d/sysctl
etc/rc.d/init.d/unbound
etc/sysctl.conf
usr/sbin/setup
--- /dev/null
+etc/sysctl-x86_64.conf
sysctl -q -p
evaluate_retval
fi
+ arch=`uname -m`
+ case "${arch}" in
+ i?86 ) arch="i586";
+ ;;
+ armv*) arch="armv5tel":
+ ;;
+ esac
+ if [ -f "/etc/sysctl-${arch}.conf" ]; then
+ boot_mesg "Setting ${arch}-kernel runtime parameters..."
+ sysctl -q -p /etc/sysctl-${arch}.conf
+ evaluate_retval
+ fi
;;
status)