NetBSD/sys/arch/hp300
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
..
DOC new RCS ID format. 1994-10-26 07:22:45 +00:00
compile new RCS ID format. 1994-10-26 07:22:45 +00:00
conf Enable COMPAT_HPUX. 1995-11-28 08:48:18 +00:00
dev Use a "match/attach" rather than "init" scheme for probing devices. 1995-12-02 18:21:49 +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
include Garbage collect some stuff that isn't used. Rename the relocation info 1995-11-20 01:15:26 +00:00
stand Truncate the incoming packet if it doesn't fit into the buffer. 1995-10-19 18:43:27 +00:00
Makefile Spring cleaning. 1995-08-04 07:40:31 +00:00