freebsd-dev/sys/vm
Archie Cobbs 2127f26023 Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
for possible buffer overflow problems. Replaced most sprintf()'s
with snprintf(); for others cases, added terminating NUL bytes where
appropriate, replaced constants like "16" with sizeof(), etc.

These changes include several bug fixes, but most changes are for
maintainability's sake. Any instance where it wasn't "immediately
obvious" that a buffer overflow could not occur was made safer.

Reviewed by:	Bruce Evans <bde@zeta.org.au>
Reviewed by:	Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by:	Mike Spengler <mks@networkcs.com>
1998-12-04 22:54:57 +00:00
..
default_pager.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
default_pager.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
device_pager.c * Fix a couple of places in the device pager where an address was 1998-11-08 12:39:07 +00:00
pmap.h Notify pmap when a page is freed on the alpha to allow it to clean up 1998-07-26 18:15:20 +00:00
swap_pager.c Fixed a null pointer panic in spc_free(). swap_pager_putpages() 1998-11-19 06:20:42 +00:00
swap_pager.h Removed no longer valid comment about swb_block being int instead of 1998-07-10 21:50:17 +00:00
vm_extern.h This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
vm_fault.c Add missing splvm protection around unqueue call. Without this, the page 1998-11-25 07:40:49 +00:00
vm_glue.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_inherit.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vm_init.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
vm_kern.c Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
vm_kern.h Attempt to fix the previous fix to the contigmalloc1 prototype. 1997-10-11 10:39:19 +00:00
vm_map.c Nitpicking and dusting performed on a train. Removes trivial warnings 1998-10-25 17:44:59 +00:00
vm_map.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
vm_meter.c Add John Dyson's SYSCTL descriptions, and an export of more stats to 1998-10-31 17:21:31 +00:00
vm_mmap.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_object.c Implemented zero-copy TCP/IP extensions via sendfile(2) - send a 1998-11-05 14:28:26 +00:00
vm_object.h Change various syscalls to use size_t arguments instead of u_int. 1998-08-24 08:39:39 +00:00
vm_page.c Closed a small race condition between wiring/unwiring pages that involved 1998-11-11 15:07:57 +00:00
vm_page.h Added a second argument, "activate" to the vm_page_unwire() call so that 1998-10-28 13:37:02 +00:00
vm_pageout.c Add John Dyson's SYSCTL descriptions, and an export of more stats to 1998-10-31 17:21:31 +00:00
vm_pageout.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
vm_pager.c add #include <sys/kernel.h> where it's needed by MALLOC_DEFINE() 1998-11-10 09:16:29 +00:00
vm_pager.h Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_param.h There is a comment in vm_param.h which doesn't belong to the 1998-07-22 06:21:55 +00:00
vm_prot.h Fix the gdb executable modify problem. Thanks to the detective work 1997-04-06 02:29:45 +00:00
vm_swap.c Don't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted 1998-10-25 19:24:04 +00:00
vm_unix.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_zone.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
vm_zone.h Correct copyright. 1998-04-25 04:50:03 +00:00
vm.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vnode_pager.c In vnode_pager_input_old, set auio.uio_procp = curproc 1998-12-04 18:39:44 +00:00
vnode_pager.h Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00