summaryrefslogtreecommitdiffstats
path: root/usr.bin/ktrace/subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2018-04-261-6/+1
| | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@
* Add 'p' trace point for KTRFAC_PLEDGE, as noted byguenther2016-07-181-6/+13
| | | | | | Michal Mazurek <akfaew@jasminek.net> While here, fix handling of -t+ in ltrace.
* No more compat emulations, so remove ktrace EMUL records and the baggageguenther2016-03-061-4/+1
| | | | | | for generating and parsing them. ok mpi@ naddy@ millert@ deraadt@
* Add ktracing of argv and envp to execve(2), with envp not traced by defaultguenther2015-10-021-1/+7
| | | | ok tedu@ deraadt@
* Delete ktracing of context switches: it's unused, and not particularly useful,guenther2015-09-071-4/+1
| | | | | | | and doing VOP_WRITE() from inside tsleep/msleep makes the locking too complicated, making it harder to move forward on MP changes. ok deraadt@ kettenis@
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+2
| | | | | | | | | 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)
* Userland bits for utrace record handling; from otto@miod2013-06-011-1/+4
|
* Support sending struct info to kdump. So far for struct stat andotto2011-07-081-1/+4
| | | | struct sockaddress; mostly from freebsd. ok deraadt@ tedu@ nicm@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-8/+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
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Add lots of missing prototypes, constify a few things. Add explicit ints.espie2001-08-181-3/+4
| | | | Makes gcc much happier, less warnings.
* first pass at a -Wall cleanupderaadt2001-07-121-2/+3
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+88