I am wondering if someone recently changed the behaviour of Ubuntu 12.04 (in 12.04.3) so that kernel.kptr_restrict is always 1 and cannot be changed.
Notice:
# ls -l /prov/sys/kernel/kptr_restrict -rw-r--r-- 1 root root 0 Oct 15 15:18 /proc/sys/kernel/kptr_restrict
# cat /proc/sys/kernel/kptr_restrict 1
If the value is already "1", then the line trying to set it to "1" can safely be commented out in this file:
/etc/sysctl.d/10-kernel-hardening.conf
Does anyone have any additional insights?
-- David
I am wondering if someone recently changed the behaviour of Ubuntu 12.04 (in 12.04.3) kptr_restrict is always 1 and cannot be changed.
so that kernel.
Notice:
# ls -l /prov/sys/ kernel/ kptr_restrict kernel/ kptr_restrict
-rw-r--r-- 1 root root 0 Oct 15 15:18 /proc/sys/
# cat /proc/sys/ kernel/ kptr_restrict
1
If the value is already "1", then the line trying to set it to "1" can safely be commented out in this file:
/etc/sysctl. d/10-kernel- hardening. conf
Does anyone have any additional insights?
-- David