NetBSD/sys
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
..
adosfs merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
arch Fix the integer overflow problem in pmap_init() when the user PT map is 1995-12-05 20:01:54 +00:00
compat merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
conf merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
ddb fix paste-o 1995-11-24 22:13:08 +00:00
dev Repeating my mistakes twice... I used sc-> in the pci probe routine 1995-12-05 03:30:15 +00:00
isofs/cd9660 NBPG may not be computable by the preprocessor. Make "do clustered io" 1995-12-01 00:47:33 +00:00
kern Add hooks for COMPAT_HPUX. 1995-11-28 08:07:25 +00:00
lib merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
miscfs Implement VOP_BWRITE() using vn_bwrite(), per r_friedl@informatik.uni-kl.de. 1995-10-15 05:18:12 +00:00
msdosfs Enable flock(2). 1995-12-01 07:26:58 +00:00
net fix casts; should cast pointers to longs, not ints. 1995-11-20 20:43:33 +00:00
netccitt so_pcb should be a void *. 1995-08-17 02:57:20 +00:00
netinet Handle PRU_CONTROL (David Maltz; PR#1664). 1995-11-30 16:42:18 +00:00
netiso make netinet work on systems where pointers and longs are 64 bits 1995-11-21 01:07:34 +00:00
netns so_pcb should be a void *. 1995-08-17 02:57:20 +00:00
nfs Add cookie support. Stash cookies in the word prior to the end of 1995-10-14 00:56:07 +00:00
scsi Add quirk for Exabyte 8200/rev. 263H (from Paul Goyette; PR#1797). 1995-11-30 10:12:04 +00:00
stand
sys merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
ufs ffs -> ufs 1995-11-11 22:00:15 +00:00
vm Add hooks for COMPAT_FREEBSD, from Noriyuki Soda. 1995-10-10 01:26:36 +00:00
Makefile The `lib' sub-directory no longer has a Makefile. 1995-09-15 21:05:21 +00:00