freebsd_amp_hwpstate/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
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
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
vm.h
vm_extern.h
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
vm_init.c
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
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_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
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_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
vm_prot.h
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
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