summaryrefslogtreecommitdiff
path: root/usr.sbin/pstat/pstat.c
AgeCommit message (Expand)Author
2022-02-22MAXCOMLEN is no longer needed in these programs, so remove the annotationTheo de Raadt
2022-02-20sys/proc.h requires sys/signal.h (will become visible when sys/param.hTheo de Raadt
2021-11-15No need to declare optind, optarg or opterr; unistd.h does this for us.Todd C. Miller
2021-10-20revert vnode: remove VLOCKSWORK and check locking when vop_islocked != nullopSebastien Marie
2021-10-19vnode: remove VLOCKSWORK usage in pstat and mention in man pagesSebastien Marie
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2020-09-28Fix segfault in pstat -vTheo Buehler
2020-01-10Convert the vnode list at the mount point into a tailq. DuringAlexander Bluhm
2019-02-05dev_t is signed to permit passing -1 as an invalid condition, but theTheo de Raadt
2018-09-10Fix previous commit. It mistakenly included a change for debug.YASUOKA Masahiko
2018-09-07Fix "_nfiles" reference for crash dump.YASUOKA Masahiko
2018-08-03unveil _PATH_DEVDB for devname(). All other filenames are openedTheo de Raadt
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
2018-06-02LARVAL fds are now invisble from userland.Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-02-09Teach pstat -d to also print untyped kernel symbols.Jeremie Courreges-Anglas
2016-11-26Remove leftovers of line disciplines that are no more.Martin Pieuchot
2016-10-23For -d, if there is no modifier, don't go down the "longformat" path.Mark Kettenis
2016-09-19Add pledge support to pstatTheo Buehler
2016-09-19Fix pstat -ft. In presence of the -f flag, a logic error in ttymode()Theo Buehler
2016-08-14Convert %q to %ll and cast opaque system values to long long.Philip Guenther
2016-07-18Fix VFLAG formattingPhilip Guenther
2016-06-03correct synopsis to make -d usage clearer.Theo de Raadt
2016-05-27W^X violations are no longer permitted by default. A kernel log messageTheo de Raadt
2016-05-25remove code to display MNT_EXKERB bitTheo de Raadt
2016-04-25remove systraceTed Unangst
2016-04-12The -T flag consumes the same data as the -f flag so it requiresTodd C. Miller
2015-12-11dformat is pointer, don't compare with 0Ted Unangst
2015-08-28Rework the UNIX domain socket garbage collector, including ideas fromPhilip Guenther
2015-03-11Remove setgid kmem support. As a result, -d and -v will require you toTheo de Raadt
2015-02-10Fix -d output of smaller than 64 bit values on big-endian systems.Miod Vallat
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-19don't print vnodes if we didn't read themTed Unangst
2014-12-191. -T (totalflag) requires nlist too.Ted Unangst
2014-11-23<sys/buf.h> isn't actually needed herePhilip Guenther
2014-11-19delete the KERN_VNODE sysctl. it fails to provide any isolation from theTed Unangst
2014-10-08use reallocarray(NULL, a, b) instead of malloc(a*b)Theo de Raadt
2014-08-20Remove userland bits related to the crypto(4) interface; ok deraadtMike Belopuhov
2014-03-19Pull in FreeBSD r37363 and r37887:Philip Guenther
2013-12-01Change 'mountlist' from CIRCLEQ to TAILQ. Be paranoid andKenneth R Westerback
2013-11-12ensure there are prototypesTheo de Raadt
2013-10-22- add UNIX-domain socket info to struct kinfo_file2Philip Guenther
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2013-06-05Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passingPhilip Guenther
2013-04-21Tweak #include order to work during the big time_t transitionPhilip Guenther
2013-03-24Do not leak kernel pointers, unless operating as root. Some other displayTheo de Raadt
2012-12-18We no longer use struct eproc for kinfo_proc in sysctl.h so thereTodd C. Miller
2012-07-11Don't skip pipe, kqueue, crypto, or systrace files in pstat -f outputPhilip Guenthe
2012-07-09According to miod, KERNBASE used as a userland symbol should dieTheo de Raadt