diff options
author | bde <bde@FreeBSD.org> | 1998-09-05 14:13:35 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-09-05 14:13:35 +0000 |
commit | 668b45f6c603a28f3e5d672c89e9226189d44fc9 (patch) | |
tree | ea953b9c71a0ce4442c6607352f8464f002d52d3 /sys/kern/kern_sysctl.c | |
parent | 4630814c8bc51e668f785289086657fbd5e775f2 (diff) | |
download | FreeBSD-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