NetBSD/sys/arch
thorpej 9c784e07c1 Fix the integer overflow problem in pmap_init() when the user PT map is
allocated, as noticed by Chuck Cranor.  In addition to re-arranging
the assignment as suggested by Niklas Hallqvist, check to see if maxproc
is higher than the number of available user PTs.  If it is, lower maxproc
to that value, the rationale being that it's much more desirable to have
fork() return EAGAIN than to have your system wedge.

XXX note that root can still raise maxproc with sysctl(2) later.  It's
probably worth having further discussion about this issue, but until
everyone has time to think about it, this seems like an acceptable solution
for the time being.
1995-12-05 20:01:54 +00:00
..
alpha kill these. they're no longer used. 1995-11-27 23:28:00 +00:00
amiga merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
atari Something forgotten in the namespace changes. 1995-12-03 14:34:24 +00:00
hp300 Fix the integer overflow problem in pmap_init() when the user PT map is 1995-12-05 20:01:54 +00:00
i386 merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
m68k Update from Ken Nakata. 1995-11-05 04:23:00 +00:00
mac68k Fix from Paul Goyette (paul@pgoyette.bdt.com) for drives that don't grok 1995-12-04 02:10:44 +00:00
mips merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
mvme68k merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
pc532 merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
pmax merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
sparc Don't return `XS_DRIVER_STUFFUP' too easily; this can hose buffer cache 1995-12-01 01:00:55 +00:00
sun3 Switch to ncr_si (will just do PIO for now) and cleanup 1995-11-17 23:31:11 +00:00
vax Added earlier forgotten MACHINE_ARCH, pointed out by Arne Henrik Juul. 1995-12-04 22:32:53 +00:00