summaryrefslogtreecommitdiff
path: root/usr.sbin/procmap
AgeCommit message (Collapse)Author
2013-08-12get ready for big ino_t; ok gunther@Otto Moerbeek
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-06-25Since the "better kmem pointer hiding" commit, procmap does not workDavid Coppa
anymore for regular users. So remove the setgid kmem for the time being (until tedu@ fixes it). ok tedu@
2013-05-14Don't bother printing vm_swrss of a process, the current uvm accountingMiod Vallat
logic never sets this value.
2013-04-24pretty-print bigger ino_t variablesTheo de Raadt
2013-04-21revert 1.45. it depended on a kernel change we will not be making, andTed Unangst
the old code was cleaner
2013-03-26for the sake of argument, let's pretend this #if 0 code isn't wantedTed Unangst
2013-03-23rework the main loop so we can drop kmem privs a little later,Ted Unangst
prepping for a coming kernel change. we need to call sysctl for all the procs to get their vmspace pointer, then we drop, then we go grovelling. ok deraadt
2013-03-20revert, that restriction is already enforced the right wayTed Unangst
2013-03-20Only root can look at the kernel address space.Theo de Raadt
2013-01-16document a safe cast, which should be (unsigned int) instead of simplyTheo de Raadt
(unsigned)
2012-03-09Userspace counterpart of new vmmap.Ariane van der Steldt
Allows memory walks to function.
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