summaryrefslogtreecommitdiff
path: root/usr.sbin/procmap
AgeCommit message (Collapse)Author
2009-08-12Update nlist array and uncomment a few things to pave the way for upcomingMiod Vallat
new name cache information gathering code.
2009-08-12Namecache revamp.Bob Beck
This eliminates the large single namecache hash table, and implements the name cache as a global lru of entires, and a redblack tree in each vnode. It makes cache_purge actually purge the namecache entries associated with a vnode when a vnode is recycled (very important for later on actually being able to resize the vnode pool) This commit does #if 0 out a bunch of procmap code that was already broken before this change, but needs to be redone completely. Tested by many, including in thib's nfs test setup. ok oga@,art@,thib@,miod@
2009-06-04No longer consider kernel pointers invalid if pointing under the kernelMiod Vallat
load address (hello, PMAP_DIRECT architectures). Makes procmap walk the kernel name cache correctly. ok art@
2009-01-19replace standardized text concerning the exit values of applicationsIgor Sobrado
with the right mdoc macros.
2008-09-18add -A to SYNOPSIS;Jason McIntyre
2008-09-18document -A and include in usageOtto Moerbeek
2008-09-18Add a flag to print amap usage.Artur Grabowski
otto@ ok
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-09Define a new flag, UVM_FLAG_HOLE, for uvm_map to create a vm_map_entry ofMiod Vallat
a new etype, UVM_ET_HOLE, meaning it has no backend. UVM_ET_HOLE entries (which should be created as UVM_PROT_NONE and with UVM_FLAG_NOMERGE and UVM_FLAG_HOLE) are skipped in uvm_unmap_remove(), so that pmap_{k,}remove() is not called on the entry. This is intended to save time, and behave better, on pmaps with MMU holes at process exit time. ok art@, kettenis@ provided feedback as well.
2007-11-28this is openbsd, therefore the native display mode is called openbsdTed Unangst
2007-10-02Use kinfo_proc2 instead of kinfo_proc.Mark Kettenis
ok art@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31Zap a bunch of unused VT_* tags.Thordur I. Bjornsson
ok tedu@,pedro@
2007-04-26kill some commented "struct proc *", and knf while there; ok rayTheo de Raadt
2006-07-01Don't warn for kernel_text being zero on (some) m68k systems.Miod Vallat
2005-12-06Remove fdescfsPedro Martelletto
2005-11-24Remove kernfs, okay deraadt@.Pedro Martelletto
2005-05-26kill stackable filesystems ghostsPedro Martelletto
2005-05-03setresgid; ok deraadt@Damien Miller
2005-03-25Use the return value from getopt() instead of optopt in non-errorJared Yanovich
cases since optopt is not set in these cases, and it is not required by POSIX that it should be. ok millert otto
2004-07-09[From: Joris Vink]Thierry Deval
Use strtonum(3) instead of strtol(3). ok deraadt@ & me
2004-04-01Off by 1 ! OK millert@, tedu@Thierry Deval
2004-03-19procmap/pmap confusion, spotted by jmc@Ted Unangst
2004-03-18various fixes from Jared Yanovich;Jason McIntyre
thanks Jared!
2004-03-15more accurate msg, pr3713 from Andre LucasTed Unangst
2004-02-23bogus leftover SRCS lineTed Unangst
2004-02-23remove security considerations section. this has been fixed.Ted Unangst
2004-02-23supposed to use cflags, oopsTed Unangst
2004-02-23WallTed Unangst
2004-02-23make sure we don't backwards before bufferTed Unangst
2004-02-23buffer len paranoiaTed Unangst
2004-02-23if the heap is non-exec, it makes it hard to find by looking for an execTed Unangst
mapping. much better heuristic.
2004-02-23unknown is less ugly than ??, and not a trigraph. requested by deraadtTed Unangst
2004-02-23no peeking at kernel or other processes for normal users. ok deraadt@Ted Unangst
2004-02-19takin out the trashTed Unangst
2004-02-19pedro martelletto tells me stroul returns an unsigned long whichTed Unangst
may be bigger than a pid_t
2004-02-18strtoul for getting pid. ok and numerous hints from deraadt@Ted Unangst
also correct errbuf size
2004-02-18revoke privs asap; tedu okTheo de Raadt
2004-02-18a pinch of knfTheo de Raadt
2004-02-18little cleanup. strlcat. usage. don't call atoi on non-numbers.Ted Unangst
mostly spotted by deraadt@
2004-02-18printing (null) is not so useful. instead print names of missing symbolsTed Unangst
with a useful message.
2004-02-17couple more bits from wiz@netbsd;Jason McIntyre
2004-02-17tidy this page up a bit;Jason McIntyre
2004-02-17malloc checks, strlcpy. based on patch from Vink Joris <nimadeus@pandora.be>Ted Unangst
2004-02-16catch all vnode typesTed Unangst
2004-02-16rough cut of netbsd's pmap process memory map inspector.Ted Unangst
initially from drahn@, renamed to procmap to avoid conflict with unrelated pmap(9). works more or less as advertised, could definitely use some work though. would be really nice if somebody made it use sysctl and not kmem. more or less ok deraadt@ drahn@