Go to file
chs 939df36e55 add support for non-executable mappings (where the hardware allows this)
and make the stack and heap non-executable by default.  the changes
fall into two basic catagories:

 - pmap and trap-handler changes.  these are all MD:
   = alpha: we already track per-page execute permission with the (software)
	PG_EXEC bit, so just have the trap handler pay attention to it.
   = i386: use a new GDT segment for %cs for processes that have no
	executable mappings above a certain threshold (currently the
	bottom of the stack).  track per-page execute permission with
	the last unused PTE bit.
   = powerpc/ibm4xx: just use the hardware exec bit.
   = powerpc/oea: we already track per-page exec bits, but the hardware only
	implements non-exec mappings at the segment level.  so track the
	number of executable mappings in each segment and turn on the no-exec
	segment bit iff the count is 0.  adjust the trap handler to deal.
   = sparc (sun4m): fix our use of the hardware protection bits.
	fix the trap handler to recognize text faults.
   = sparc64: split the existing unified TSB into data and instruction TSBs,
	and only load TTEs into the appropriate TSB(s) for the permissions.
	fix the trap handler to check for execute permission.
   = not yet implemented: amd64, hppa, sh5

 - changes in all the emulations that put a signal trampoline on the stack.
   instead, we now put the trampoline into a uvm_aobj and map that into
   the process separately.

originally from openbsd, adapted for netbsd by me.
2003-08-24 17:52:28 +00:00
bin remove \r (agc, are you using MS-DOS?) 2003-08-22 14:21:12 +00:00
crypto style; total size of buf is (num + 3) 2003-08-13 01:29:41 +00:00
dist Fix IPv6 accounting (PR#18839 by FUKAUMI Naoki). 2003-08-15 08:10:09 +00:00
distrib Since the METALOG is updated by every install, there is no need to 2003-08-22 19:08:47 +00:00
doc postfix 2.0.14 was released. I missed postfix-announce mail? 2003-08-21 10:32:03 +00:00
etc Add comment for /dev/crypto. 2003-08-23 23:14:35 +00:00
games Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:36:50 +00:00
gnu Shifts with >= 32 bit used to generate illegal code for 64bit targets, 2003-08-23 10:19:02 +00:00
include Sprinkle some restrict, repair a minor nit in iconv(3)'s synopsis. 2003-08-22 14:05:03 +00:00
lib Need namespace.h to generate references to internal names. 2003-08-24 15:14:18 +00:00
libexec libkrb depends on libdes, patch in private mail from 2003-08-23 23:03:42 +00:00
regress add vm86 2003-08-16 15:43:00 +00:00
rescue Remove file "rescue.unstripped" in "cleandir" target. 2003-07-14 09:00:33 +00:00
sbin Update date for last. 2003-08-21 16:02:32 +00:00
share Mention AICA device driver. 2003-08-24 17:35:58 +00:00
sys add support for non-executable mappings (where the hardware allows this) 2003-08-24 17:52:28 +00:00
tools for mknative, make sure we look in the target's /lib directly as the 2003-08-23 10:07:25 +00:00
usr.bin libkrb depends on libdes, patch in private mail from 2003-08-23 23:03:42 +00:00
usr.sbin New sentence, new line; bump date for last; 2003-08-23 23:20:12 +00:00
build.sh in getkernelconf(), remove check for non-empty $makeobjdir, as it's not 2003-08-16 11:46:44 +00:00
BUILDING Backout the previous commit 2003-08-19 12:53:30 +00:00
Makefile netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
Makefile.inc
UPDATING It is openssl, not openssh, and fix another typo. 2003-08-05 18:39:56 +00:00