Date: Sat, 5 Sep 1998 07:13:35 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/sys sysctl.h Message-ID: <199809051413.HAA12155@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/09/05 07:13:35 PDT
Modified files:
sys/sys sysctl.h
Log:
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.
Revision Changes Path
1.64 +4 -4 src/sys/sys/sysctl.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809051413.HAA12155>
