summaryrefslogtreecommitdiff
path: root/usr.sbin/procmap
AgeCommit message (Collapse)Author
2011-09-03make -column lists pretty again;Jason McIntyre
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
2011-06-06Userland counterpart of the vmmap backout; cranks major version of libkvm.Ariane van der Steldt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
vmmap is designed to perform address space randomized allocations, without letting fragmentation of the address space go through the roof. Some highlights: - kernel address space randomization - proper implementation of guardpages - roughly 10% system time reduction during kernel build Tested by alot of people on tech@ and developers. Theo's machines are still happy.
2011-04-23BRKSIZ is the right constant now, so I don't get lots of teeny tiny heapsTed Unangst
mixed up in my address space.
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
that we've got name we want for the API we want "ZAP!" deraadt@
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2011-04-05Remove portalfs.Thordur I. Bjornsson
While it is a terribly cool idea, it's just awful and since noone has stepped up to the plate to keep it up with the current vop state, retire it to the attic. ok krw@, deraadt@, guenther@, miod@. comments from jmc@
2010-09-03add an EXIT STATUS section for /usr/sbin;Jason McIntyre
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.