summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-09-05 14:13:35 +0000
committerbde <bde@FreeBSD.org>1998-09-05 14:13:35 +0000
commit668b45f6c603a28f3e5d672c89e9226189d44fc9 (patch)
treeea953b9c71a0ce4442c6607352f8464f002d52d3 /sys/kern/kern_sysctl.c
parent4630814c8bc51e668f785289086657fbd5e775f2 (diff)
downloadFreeBSD-src-668b45f6c603a28f3e5d672c89e9226189d44fc9.zip
FreeBSD-src-668b45f6c603a28f3e5d672c89e9226189d44fc9.tar.gz
Sysctl nodes are written to, so don't put them in the text section.
Our write protection of the kernel text on i386's doesn't actually work in many cases: - use of the 4MB page completely breaks it. - CR0_WP isn't set until just before init is started, so the kernel text is not write protected during kernel initialization.
Diffstat (limited to 'sys/kern/kern_sysctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud