freebsd-nq/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
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
mipsel
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
regex
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
sys Fix null-pointer dereference crash when the system is intentionally 2000-02-16 21:11:33 +00:00
xdr
yp Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
Makefile
Makefile.inc