Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 2 | -5/+6 | |
| | | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | ||||
* | Move the #define _KERNEL wrapping to only cover <sys/file.h> | 2014-10-26 | 1 | -2/+2 | |
| | |||||
* | Remove userland bits related to the crypto(4) interface; ok deraadt | 2014-08-20 | 2 | -24/+3 | |
| | |||||
* | Don't need to know how to format bluetooth socket info here | 2014-08-10 | 1 | -7/+1 | |
| | |||||
* | zap trailing newlines; "go for it" deraadt | 2014-07-16 | 1 | -2/+1 | |
| | |||||
* | expected user.h fallout; _KERNEL case needs manual pull of ucred.h | 2014-07-10 | 1 | -1/+2 | |
| | |||||
* | AF_NATM support was removed before 5.5 | 2014-05-30 | 1 | -7/+1 | |
| | |||||
* | this util is marked xsi; | 2014-03-20 | 1 | -2/+3 | |
| | |||||
* | - add UNIX-domain socket info to struct kinfo_file2 | 2013-10-22 | 3 | -35/+35 | |
| | | | | | | | | | | - convert netstat from kvm_getfiles() to kvm_getfile2() using that - delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major) - rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file and KERN_FILE2 to KERN_FILE. ok deraadt@, millert@ ports scan sthen@ | ||||
* | A space got lost in fstat state output, put it back. | 2013-03-31 | 1 | -2/+2 | |
| | | | | OK deraadt@ | ||||
* | Do not leak kernel pointers, unless operating as root. Some other display | 2013-03-24 | 1 | -32/+57 | |
| | | | | | | functionality is lost, but one can argue that privacy was being violated there... ok various, including bluhm and guenther | ||||
* | makes cloned devices line up well with the rest of the output; | 2012-11-30 | 1 | -2/+2 | |
| | | | | ok guenther, krw | ||||
* | tweak previous; | 2012-01-07 | 1 | -4/+4 | |
| | |||||
* | Add rtable id and thread id to struct kinfo_proc (and fix process id) | 2012-01-07 | 2 | -69/+188 | |
| | | | | | | | | | | | and add an 'rtableid' keyword to ps. Add rtable id, thread id, and socket splice info to struct kinfo_file2 and make fstat display socket splice information. Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major Socket splice info and corrections from bluhm@ "Lovely" deraadt@ | ||||
* | dislays -> displays; from David Vasek | 2011-10-02 | 1 | -3/+3 | |
| | |||||
* | rmove rotten netatalk bits | 2011-07-09 | 1 | -7/+1 | |
| | |||||
* | no need to escape `|'; as discussed with schwartze | 2011-05-02 | 1 | -3/+3 | |
| | |||||
* | -M and -N are posix extensions too; from Joachim Schipper | 2010-09-24 | 1 | -3/+3 | |
| | |||||
* | add an EXIT STATUS section for /usr/bin; | 2010-09-03 | 1 | -3/+3 | |
| | |||||
* | "the the" | 2010-02-14 | 1 | -3/+3 | |
| | |||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -12/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | write UNIX-domain in a more consistent way; while here, replace a | 2009-10-22 | 1 | -7/+6 | |
| | | | | | | | | few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@ | ||||
* | use the UNIX-related macros (.At and .Ux) where appropriate. | 2009-10-22 | 1 | -5/+11 | |
| | | | | ok jmc@ | ||||
* | replace ".Ar file ..." with ".Ar" whenever possible. | 2009-08-16 | 1 | -3/+3 | |
| | | | | ok jmc@ | ||||
* | Hook up "text" (executable) output and implement for fuser too. | 2009-07-19 | 4 | -11/+19 | |
| | | | | Man page bits adapted from FreeBSD. OK miod@ | ||||
* | Accept numeric UIDs as well as usernames like pgrep etc. | 2009-07-12 | 1 | -5/+11 | |
| | | | | ok millert | ||||
* | Add POSIX-compliant fuser mode to fstat. Originally based on | 2009-07-08 | 6 | -55/+536 | |
| | | | | | a diff from Peter Werner but largely rewritten to use kinfo_file2. OK deraadt@ with man fixes from jmc@ and sobrado@ | ||||
* | Do not print non-vnode information if asked to report information on a | 2009-06-15 | 1 | -7/+12 | |
| | | | | | particular file, regression introduced in 1.66 and reported by Navan Carson on misc@. | ||||
* | remove unused variables | 2009-06-11 | 1 | -4/+3 | |
| | | | | ok millert@ | ||||
* | Use the new kvm_getfile2 interface to do the dirty work. OK deraadt@ | 2009-06-07 | 4 | -791/+231 | |
| | |||||
* | Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@ | 2009-06-03 | 1 | -16/+16 | |
| | |||||
* | Remove unused fields from struct filestat | 2009-06-02 | 1 | -3/+1 | |
| | |||||
* | Don't define NFS before including kernel header files, | 2009-05-31 | 1 | -4/+2 | |
| | | | | | | | besides it being gnarly its useless since no magic is done if it is define. pointed out by deraadt@ | ||||
* | correct the description of fstat output for sockets; | 2008-12-15 | 1 | -5/+4 | |
| | | | | | reported by Stephan A. Rickauer ok otto | ||||
* | Do not display file offsets and a few other pieces of information, except | 2008-10-07 | 2 | -10/+30 | |
| | | | | | | to the user or the superuser. Display * for those fields instead. From PR 5113, but modified to use copyout correctly. comments from tedu, ok from others | ||||
* | bring cloning up too date; Munge it so it will work with atleast | 2008-04-08 | 1 | -4/+47 | |
| | | | | | | | | | oga@'s upcoming DRM changes and too some degree ratchov@'s audio work. It still works for bpf's though. Parts from ratchov@; fstat(1) parts from Pedro Martelletto; tested by many, ok'ed by a few; "get going with cloning" deraadt@ | ||||
* | sort the fields in manual page in the same order as in fstat output; | 2007-10-01 | 2 | -19/+19 | |
| | | | | | | | | | | use the same name for fields in the manual page and command output; while here, fix spacing millert@ has observed that this change makes the header fields consistent with what is the output by NetBSD and FreeBSD too ok millert@ | ||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | 2007-09-02 | 1 | -3/+3 | |
| | |||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | use strtonum, from jason dixon | 2007-04-07 | 1 | -5/+7 | |
| | |||||
* | oops, forgot \n at end of kqueue lines; Nicholas Marriott | 2006-06-19 | 1 | -3/+3 | |
| | |||||
* | and put new flag into the manpage | 2006-03-26 | 1 | -2/+11 | |
| | |||||
* | do per file io accounting and show that in fstat as well; pedro@ marco@ ok | 2006-03-26 | 2 | -33/+57 | |
| | |||||
* | Use the DIP macros to uniformly access fields from UFS1 and UFS2 dinodes. | 2005-12-28 | 1 | -5/+5 | |
| | | | | No functional change, okay tedu@. | ||||
* | Remove the 'on disk' inode (dinode) from the 'in memory' inode in UFS. | 2005-12-17 | 1 | -2/+22 | |
| | | | | | | Instead of having the dinode inside the inode structure itself, we now have just a pointer to it, and use a separate pool to allocate dinodes as needed. Inspiration from FreeBSD, various testing for a while, thanks. | ||||
* | remove inaccuracy (pipes do not appear as unix sockets); | 2005-12-15 | 1 | -3/+1 | |
| | | | | ok jaredy@ pedro@ | ||||
* | make the systrace section just like the rest... | 2005-12-15 | 1 | -2/+4 | |
| | |||||
* | fstat does not print an '*' for fifos, okay jmc@ | 2005-12-15 | 1 | -4/+2 | |
| | |||||
* | give inode 8 positions (new ver w/ missing spaces deraadt pt out); millert@ krw@ ok | 2005-12-13 | 1 | -6/+6 | |
| | |||||
* | make some of the stat utility pages reference each other; | 2005-09-06 | 1 | -1/+2 | |
| | | | | idea from a mail to misc@ from simon dassow; |