summaryrefslogtreecommitdiff
path: root/usr.sbin/procmap/procmap.c
AgeCommit message (Expand)Author
2019-11-29correct order of region bits for -a case: rwxSepcTheo de Raadt
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-02-05dev_t is signed to permit passing -1 as an invalid condition, but theTheo de Raadt
2018-03-31Fix description of -v and implement -v for -a showing holes; ok deraadt@Otto Moerbeek
2016-09-16procmap fumbles with uvm_map_addr structures, which are now in RBTsDavid Gwynne
2016-05-26Re-introduce vnode-to-filename mappingStefan Kempf
2016-05-25Must extract uvm_vnode from uvm_object first before reading the vnodeStefan Kempf
2016-04-16Remove am_maxslot from amap.Stefan Kempf
2015-01-19Also print the fspace member of map entries when PRINT_VM_MAP_ENTRY isMark Kettenis
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-09-08Delete procfs; it's always had races and is now unused: no one noticed forPhilip Guenther
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-08There really isn't a strict "heap" anymore, so just call everything likeTheo de Raadt
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2014-02-13remove tendrils of namei dumping codeTed Unangst
2014-02-13use strtonumTed Unangst
2013-08-12get ready for big ino_t; ok gunther@Otto Moerbeek
2013-05-14Don't bother printing vm_swrss of a process, the current uvm accountingMiod Vallat
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
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
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
2012-03-09Userspace counterpart of new vmmap.Ariane van der Steldt
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
2011-04-23BRKSIZ is the right constant now, so I don't get lots of teeny tiny heapsTed Unangst
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
2011-04-05Remove portalfs.Thordur I. Bjornsson
2009-08-12Update nlist array and uncomment a few things to pave the way for upcomingMiod Vallat
2009-08-12Namecache revamp.Bob Beck
2009-06-04No longer consider kernel pointers invalid if pointing under the kernelMiod Vallat
2008-09-18document -A and include in usageOtto Moerbeek
2008-09-18Add a flag to print amap usage.Artur Grabowski
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-09Define a new flag, UVM_FLAG_HOLE, for uvm_map to create a vm_map_entry ofMiod Vallat
2007-10-02Use kinfo_proc2 instead of kinfo_proc.Mark Kettenis
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31Zap a bunch of unused VT_* tags.Thordur I. Bjornsson
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