summaryrefslogtreecommitdiff
path: root/lib/libkvm
AgeCommit message (Collapse)Author
2003-11-17zero out nl, from Todd Miller. thanks!christos
2003-11-04When using /dev/ksyms, don't keep it open more than strictly necessary.cube
This allows LKM manipulation while an application using libkvm, such as vmstat or gkrellm, is running. Patch reviewed by Anders Magnusson.
2003-09-29available, not avaliable. From miod@openbsd.wiz
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-06-27Pa Aq -> Aq Pa so that both work.wiz
2003-05-16Consistently spell "crash dump" as two separate words. From jmc@openbsd.wiz
2003-05-13Bump date for last; remove end-of-line spaces.wiz
2003-05-11Update after recent changes.ragge
2003-05-11Make the kvm routines use /dev/ksyms to get the kernel namelist.ragge
If it fails, use /netbsd instead.
2003-04-16Usewiz
.In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross.
2003-04-09Just use PAGE_SHIFT from <machine/vmparam.h> instead of going throughnathanw
hoops to read and cache the value from the crash dump header.
2003-04-03#include <machine/vmparam.h> for PAGE_SIZEmartin
2003-03-28do the exit on lint warnings only on i386 like libc, to avoid the wrath ofchristos
the sloppy archs.
2003-03-28exit on lint warnings.christos
2003-03-28remove scanning of deadproc, since zombproc should contain all the processeschristos
in deadproc according to the comment in kern_proc.c. deadproc is not a struct proclist anymore, so it would require more work to scan anyway, and this is unnecessary.
2003-03-20fix LP64 and other warningsross
2003-03-19Alternative pid/proc allocater, removes all searches associated with piddsl
lookup and allocation, and any dependency on NPROC or MAXUSERS. NO_PID changed to -1 (and renamed NO_PGID) to remove artificial limit on PID_MAX. As discussed on tech-kern.
2003-03-01Add workaround for building with ${MACHINE}==sparc64, ${MACHINE_ARCH}==sparc;lukem
symlink the appropriate machine & sparc include directories into the objdir. XXX: this is necessary until (when?) the sparc Arch Dependent headers (used by MACHINE_ARCH==sparc) are separated from the sparc Machine Dependent headeres (used by MACHINE==sparc but not MACHINE==sparc64).
2003-03-01Add p_svuid and p_svgid to kinfo_proc2. Populate them in the kernelatatat
and in libkvm. Then teach ps how to show them to you. Also, teach ps how to show the names for all the uids, the rest of the group numbers, and the "group access list".
2003-02-26Use _kvm_freeprocs() rather than free() so that kvm_close() won'tenami
free already free'ed region.
2003-02-26Cosmetic changes.enami
2003-02-02delint (unsigned long long) -> (unsigned long) casts.christos
2003-02-02undo mallocvar.h change!christos
2003-02-01Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoidtron
build failure because MALLOC_DECLARE() is not defined.
2003-02-01Fix build problem by rearranging the order of "#include" statements sotron
that "sys/mallocvar.h" gets include while "_KERNEL" is defined.
2003-01-18Merge the nathanw_sa branch.thorpej
2002-11-16use strlcpy to ensure string terminationitojun
2002-10-02session, not sessiod. By Adrian Mrva.wiz
2002-10-01New sentence, new line. From Robert Elz.wiz
2002-09-17Use FD_CLOEXEC instead of `1' and don't cast.christos
2002-09-17Default using the value of machdep.booted_kernel from sysctl() if itatatat
is available and points to a file. The value of "/netbsd" is still the ultimate fallback.
2002-09-17another SETFL->SETFDdrochner
2002-09-17actually do the close-on-execdrochner
2002-09-16Set the close-on-exec bit on all file descriptors we open. Inspired by achristos
FreeBSD security advisory. Reviewed by thorpej
2002-09-04"initialse" looks nice, but is not correct.wiz
2002-08-20Use Nm instead of Xrefing ourselves.wiz
2002-08-19Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of thelukem
Makefile (before including <bsd.own.mk>)
2002-08-18change DIAGNOSTICS to RETURN VALUESyamt
since it describes return values. from openbsd.
2002-08-18add FILES section to refer to /dev/mem.yamt
from openbsd.
2002-08-08Don't omit third argument to open(2).soren
PR lib/15752 from Stephen Ma.
2002-07-10Minor correction: s/i386/SH3/scw
2002-07-10SH-5 kvm glue, based on sh3 version.scw
2002-06-06Added hppa support (some of it incomplete) to lib/csu, lib/libc,fredette
and lib/libkvm.
2002-06-05kva -> physaddr translation through pagetable walking; for crash dumpsfvdl
(as yet untested).
2002-05-26__STDC__ is always defined on NetBSD.wiz
2002-02-07Generate <>& symbolically.ross
2002-01-15Sort sections, fix punctuation nits.wiz
2002-01-15Sort sections, fix whitespace and punctuation nits.wiz
2002-01-15Sort SEE ALSO.wiz
2002-01-15Sort sections and SEE ALSO, fix punctuation nits.wiz