freebsd-nq/lib/libkvm
Mikolaj Golub 767993ec97 Try to avoid ambiguity when sysctl returns ENOMEM additionally
checking the returned oldlen: when ENOMEM is due to the supplied
buffer being too short the return oldlen is equal to buffer size.

Without this additional check kvm_getprocs() gets stuck in loop if the
returned ENOMEM was due the exceeded memorylocked limit. This is
easily can be observed running `limits -l 1k top'.

Submitted by:	Andrey Zonov <andrey zonov org>
MFC after:	1 week
2012-02-01 18:02:13 +00:00
..
kvm_amd64.c libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_arm.c libkvm code janitoring 2011-01-23 11:08:28 +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
kvm_getfiles.3
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 Fix several typos in macros or macro misusage. 2010-03-12 10:01:06 +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 libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_ia64.c Add support for PBVM addresses. In a nutshell this means: 2011-08-06 15:59:54 +00:00
kvm_minidump_amd64.c libkvm code janitoring 2011-01-23 11:08: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 libkvm code janitoring 2011-01-23 11:08:28 +00:00
kvm_nlist.3
kvm_open.3
kvm_pcpu.c Completely remove now unused pc_other_cpus, pc_cpumask. 2011-07-04 10:45:54 +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 Try to avoid ambiguity when sysctl returns ENOMEM additionally 2012-02-01 18:02:13 +00:00
kvm_read.3
kvm_sparc64.c Disconnect sun4v architecture from the three. 2011-05-14 01:53:38 +00:00
kvm_sparc.c
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: fix logic inversion introduced with last commit 2011-02-02 17:01:26 +00:00
kvm.h libkvm code janitoring 2011-01-23 11:08:28 +00:00
Makefile Disconnect sun4v architecture from the three. 2011-05-14 01:53:38 +00:00