freebsd-src/lib/libkvm
Enji Cooper 004a4859b2 MFC r298839:
Fix memory allocation edgecases in kvm_argv(..)

- Don't leak nbufp on realloc failure in kvm_argv
- Catch malloc errors with bufp
- Set buflen last in the "buflen == 0" case to ensure that
  bufp/nbufp is properly reallocated on the next go around
2016-05-13 09:52:39 +00:00
..
kvm_amd64.c MFC r298842: 2016-05-13 09:49:52 +00:00
kvm_arm.c MFC r273284: 2014-10-29 16:36:08 +00:00
kvm_cptime.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_file.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_getcptime.3 Add a new routine kvm_getcptime(3) for fetching the equivalent of 2008-08-19 21:30:36 +00:00
kvm_geterr.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getfiles.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getloadavg.3 Revert most of r210764, now that mdocml does the right 2010-12-28 10:08:50 +00:00
kvm_getloadavg.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_getpcpu.3 Merge r261796 from head: 2014-03-04 14:49:05 +00:00
kvm_getprocs.3 Now kvm_getenvv() and kvm_getargv() don't need procfs(5). 2011-11-22 21:12:28 +00:00
kvm_getswapinfo.3
kvm_getswapinfo.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_i386.c If the IdlePDPT is not present, PAE is not active 2012-09-10 08:16:45 +00:00
kvm_ia64.c MFC 259910, 260023, 260028, 260600 & 260701: 2014-08-02 22:25:24 +00:00
kvm_minidump_amd64.c MFC r261799: Add bounds check for pteindex / pdeindex to amd64 kvm_minidump 2014-07-23 14:29:28 +00:00
kvm_minidump_arm.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_minidump_i386.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_minidump_mips.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_mips.c Switch to 2-clause license and standard text 2013-06-06 21:09:27 +00:00
kvm_nlist.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_open.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_pcpu.c Merge r261796 from head: 2014-03-04 14:49:05 +00:00
kvm_powerpc64.c libkvm: Unbreak build for powerpc64/powerpc 2011-01-24 11:06:40 +00:00
kvm_powerpc.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_private.h Add minidump support for MIPS 2010-11-07 03:26:22 +00:00
kvm_proc.c MFC r298839: 2016-05-13 09:52:39 +00:00
kvm_read.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_sparc64.c Disconnect sun4v architecture from the three. 2011-05-14 01:53:38 +00:00
kvm_sparc.c Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_vnet.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm.3 kvm(3): Mention that some of the functions use sysctl(3) instead of kmem. 2010-04-25 12:50:30 +00:00
kvm.c libkvm: Make second /dev/null file descriptor close-on-exec as well. 2013-05-04 11:45:48 +00:00
kvm.h Merge r261796 from head: 2014-03-04 14:49:05 +00:00
Makefile In r227839, when removing libkvm dependency on procfs(5), 2013-07-10 19:44:43 +00:00