summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_proc.c
AgeCommit message (Collapse)Author
2004-06-24Back out part of last commit; we want to realloc + loop for argv too.Todd C. Miller
2004-06-24Allocate 8 pages for process argv, not one. This should really be ARG_MAXTodd C. Miller
but sysctl_proc_args() needs changes to support that.
2004-06-15knf; ok millertTheo de Raadt
2004-06-14Zero p_schedflags in struct struct kinfo_proc2 for the non-sysctl case.Todd C. Miller
2004-06-13temporary tree building workaround until millert shows upTheo de Raadt
2004-01-07Sync PTRTOINT64 w/ kernel version and remove some unused vars.Todd C. Miller
2004-01-07Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that useTodd C. Miller
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our own kvm_arg_sysctl().
2003-11-17Zero nlist array before using; fixes a bug in the error conditionTodd C. Miller
when the corefile is not a valid executable. otto@ OK
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-06-20Redo the logic in kvm_arg_sysctl for resizing the buffer.Artur Grabowski
- actually use the value we've just reallocated. - Don't return success just because the error wasn't ENOMEM (doh!).
2002-06-08If possible get arg and env information with sysctl.Artur Grabowski
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-13Reorder new includes. art@ says ok.Hugh Graham
2001-12-05Must include machine/pmap.h and machine/vmparam.h here nowArtur Grabowski
that uvm headers won't do that for us.
2001-11-06Adapt to new uvm/ includes.Artur Grabowski
2001-11-05No need to pull in vm/vm_param.h in any of these files.Artur Grabowski
2001-06-27UVM is no longer an optionArtur Grabowski
2001-05-18Convert lseek/{read,write} pairs into pread and pwrite.Artur Grabowski
from my todo list, work by Jonathon Fletcher <jonathon.fletcher@pobox.com>.
2000-06-18Mark kernel threads as system processes. Make ps hide them by default,Niklas Hallqvist
show them with -k. Do not try to show RSS based values for them as they mess up column alignment. vmstat -f now shows kernel threads separately from rforks too.
1999-06-22UVM support + some cleanupArtur Grabowski
1997-02-26Switch alpha from libkvm.old to libkvm with code from NetBSD.Niklas Hallqvist
%x -> %lx format fixes from me.
1996-10-23use psstrings sysctlTheo de Raadt
1996-05-05sync with 0430Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt