freebsd-dev/lib/libc
Matthew Dillon 1f6889a1eb Fix null-pointer dereference crash when the system is intentionally
run out of KVM through a mmap()/fork() bomb that allocates hundreds
    of thousands of vm_map_entry structures.

    Add panic to make null-pointer dereference crash a little more verbose.

    Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number
    of mmap()'d spaces (discrete vm_map_entry's in the process).  The value
    defaults to around 9000 for a 128MB machine.  The test is scaled for the
    number of processes sharing a vmspace (aka linux threads).  Setting
    the value to 0 disables the feature.

PR: kern/16573
Approved by: jkh
2000-02-16 21:11:33 +00:00
..
alpha Undo the ill-conceived breakage of the previous commit and really fix: 2000-01-29 12:50:47 +00:00
amd64 Undo the ill-conceived breakage of the previous commit and really fix: 2000-01-29 12:50:47 +00:00
compat-43 Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
db Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
gen Add man pages for the sem_*() functions. 2000-02-16 19:31:53 +00:00
gmon Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
i386 Undo the ill-conceived breakage of the previous commit and really fix: 2000-01-29 12:50:47 +00:00
include $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
locale There is a problem in that one cannot use ctype.h at the same time as parts 2000-02-08 07:43:26 +00:00
mips
mipseb Fix all the mipseb Makefiles. They were broken when I checked them in 1999-04-22 07:16:11 +00:00
mipsel Fix all the mipseb Makefiles. They were broken when I checked them in 1999-04-22 07:16:11 +00:00
net Fix coredump in gethostbyaddr() when the returned answer is too large to 2000-02-16 04:39:00 +00:00
nls Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
posix1e Fix various typos and mdoc style issues. 2000-01-29 04:18:51 +00:00
quad $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
regex $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rpc Grammar fix: `Different than'' should really be `different from''. 2000-01-29 01:54:59 +00:00
stdio Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
stdlib Merge from RELENG_3 (oops): 2000-01-29 19:43:25 +00:00
stdtime There were so far only 42 different conversion specifications in 2000-01-28 17:40:42 +00:00
string Grammar: "be even number" -> "be an even number" 2000-01-03 20:18:04 +00:00
sys Fix null-pointer dereference crash when the system is intentionally 2000-02-16 21:11:33 +00:00
xdr Close PR#16028. Make the sanity check saner. The condition that we 2000-01-19 06:12:32 +00:00
yp Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
Makefile sigset_t change (part 5 of 5) 1999-09-29 15:18:46 +00:00
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00