Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make some $OpenBSD$ lines prettier/standardier by eliminating | 2015-01-19 | 1 | -1/+1 | |
| | | | | | | | superflous '*' after '/*' and adding blank after terminating '$'. Also eases parsing of the lines by simple awk scripts. Aesthetic approval from tedu@. | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 2 | -4/+5 | |
| | | | | | | | | | 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) | ||||
* | when ktrace() return ESRCH, the error is regarding the pid, not the pathname | 2014-05-24 | 1 | -3/+9 | |
| | | | | ok miod | ||||
* | add -t to usage() for ltrace; | 2014-04-07 | 1 | -3/+3 | |
| | |||||
* | Add the -t ktrace(1) option to ltrace(1), so that you can trigger both | 2014-04-04 | 2 | -4/+55 | |
| | | | | | | | library function call trace and other kernel events trace at the same time. Suggested by kurt@ a long time ago, I have been sitting on this diff for no good reason. | ||||
* | fix spacing in usage() | 2013-11-06 | 1 | -2/+2 | |
| | |||||
* | remove some redundancy within a sentence, and describe "!" as an | 2013-09-12 | 1 | -3/+3 | |
| | | | | | | exclamation mark rather than a bang; From: Ross L Richardson | ||||
* | typo in usage, comand/command; Arto Jonsson | 2013-06-05 | 1 | -2/+2 | |
| | |||||
* | Pq -> Qq, as confirmed by miod; | 2013-06-02 | 1 | -2/+2 | |
| | |||||
* | tweak previous; ok miod | 2013-06-02 | 1 | -11/+14 | |
| | |||||
* | Introduce ltrace(1). This tool works with ld.so to inject utrace record for | 2013-06-01 | 3 | -48/+243 | |
| | | | | | | | | | | | | | | | | | each plt call, allowing to trace a binary linked against shared library at the public function call level. To do so, ltrace(1) sets up some environment variables to enable plt tracing in ld.so, and invokes ktrace(2) for utrace events. ld.so will force lazy binding and will send an utrace record in the plt resolver, without updating the plt. Minimal filtering capabilities are provided, inspired by Solaris' truss -u, to limit tracing to libraries and/or symbol names. Non-traced libraries and symbols will have the regular resolver processing, with the expected plt update. "Get it in" deraadt | ||||
* | Userland bits for utrace record handling; from otto@ | 2013-06-01 | 3 | -8/+17 | |
| | |||||
* | add -B to usage(); | 2012-07-12 | 1 | -2/+2 | |
| | |||||
* | Add -B option to pass down LD_BIND_NOW to suppress ld.so blather | 2012-07-12 | 2 | -5/+16 | |
| | | | | ok pirofti@ deraadt@ | ||||
* | zap trailing whitespace; | 2011-07-08 | 1 | -2/+2 | |
| | |||||
* | Support sending struct info to kdump. So far for struct stat and | 2011-07-08 | 3 | -7/+13 | |
| | | | | struct sockaddress; mostly from freebsd. ok deraadt@ tedu@ nicm@ | ||||
* | some improvements from Cl??ment B??sch; ok tedu | 2011-06-25 | 1 | -5/+8 | |
| | |||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 2 | -22/+2 | |
| | | | | | | | 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 | ||||
* | matthew haub pointed out that pid may be used uninitialized in some contexts | 2009-02-23 | 1 | -3/+3 | |
| | | | | ok deraadt | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | fix the description of -f; from Igor Sobrado | 2007-04-01 | 1 | -2/+2 | |
| | |||||
* | let synopsis, options description, and usage() agree; | 2007-03-03 | 2 | -5/+6 | |
| | | | | from Igor Sobrado, tweaked by myself | ||||
* | do something sane to EXAMPLES; | 2006-07-06 | 1 | -12/+13 | |
| | |||||
* | Xr ktrace 2 , else some people might mistake we use ptrace() or sth else | 2006-07-06 | 1 | -2/+3 | |
| | | | | ok mickey@ jmc@ | ||||
* | Userland programs should include <errno.h> not <sys/errno.h> | 2005-12-21 | 1 | -3/+3 | |
| | | | | OK deraadt@ | ||||
* | ARGSUSED before signal handler with unused signo | 2004-09-14 | 1 | -2/+3 | |
| | |||||
* | - sync SYNOPSIS with usage() | 2003-09-03 | 1 | -15/+10 | |
| | | | | | - use -width and -offset for lists - some macro cleanup | ||||
* | mostly ansi cleanup; pval ok | 2003-06-10 | 1 | -10/+6 | |
| | |||||
* | - section reorder | 2003-06-10 | 1 | -12/+12 | |
| | | | | | | | | | - COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-03 | 4 | -26/+10 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | improve docs; raj@cerias.purdue.edu | 2003-02-19 | 2 | -8/+17 | |
| | |||||
* | bring in prototypes | 2002-03-25 | 1 | -2/+3 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 2 | -8/+8 | |
| | |||||
* | get rid of signal race | 2001-11-14 | 1 | -4/+7 | |
| | |||||
* | Add lots of missing prototypes, constify a few things. Add explicit ints. | 2001-08-18 | 3 | -12/+44 | |
| | | | | Makes gcc much happier, less warnings. | ||||
* | first pass at a -Wall cleanup | 2001-07-12 | 2 | -5/+10 | |
| | |||||
* | Change all option list specifications to ".Bl -tag -width Ds". Most man | 2000-11-09 | 1 | -2/+2 | |
| | | | | | pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything. | ||||
* | warnx?/errx? paranoia (use "%s" not a bare string unless it is a | 2000-06-30 | 1 | -7/+7 | |
| | | | | | | | | | constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales). | ||||
* | Various cleanups and improvements. | 2000-03-08 | 1 | -1/+2 | |
| | |||||
* | Improve. | 2000-03-04 | 1 | -4/+12 | |
| | |||||
* | More <sys/file.h> vs. <fcntl.h> and open() flags fixes. | 1999-08-17 | 1 | -3/+3 | |
| | |||||
* | - remove trailing white space | 1999-06-05 | 1 | -6/+6 | |
| | | | | | | | - remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/ | ||||
* | usr.bin/ man page fixes, f-m. | 1998-09-26 | 1 | -6/+6 | |
| | |||||
* | fix usage; nathanw@MIT.EDU | 1998-04-25 | 1 | -3/+3 | |
| | |||||
* | Someone forgot to declare the "sb" variable... | 1997-06-19 | 1 | -2/+3 | |
| | |||||
* | unlink ktrace file more carefully; wosch/joerg | 1997-06-18 | 2 | -10/+20 | |
| | |||||
* | format error; frueauf@ira.uka.de | 1997-05-28 | 1 | -1/+3 | |
| | |||||
* | getopt(3) returns -1 when out of args, not EOF, whee! | 1997-01-15 | 1 | -3/+3 | |
| | |||||
* | gen ktrace.out with restrictive umask; from joerg@freebsd.org | 1996-09-21 | 1 | -2/+5 | |
| | |||||
* | Use $STATIC. | 1996-09-16 | 1 | -2/+2 | |
| |