#
5b133f3f |
| 08-Mar-2023 |
guenther <guenther@openbsd.org> |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
#
4ec73a12 |
| 22-Feb-2022 |
deraadt <deraadt@openbsd.org> |
MAXCOMLEN is no longer needed in these programs, so remove the annotation from sys/param.h include lines, or remove the include lines entirely if it this was the least requirement. ok millert
|
#
cb3e16ae |
| 01-Sep-2021 |
deraadt <deraadt@openbsd.org> |
A couple commands don't need sys/param.h, but they do need sys/signal.h
|
#
0833c9ba |
| 16-Jul-2020 |
tedu <tedu@openbsd.org> |
add -T option to make time related system calls more prominent. ok deraadt
|
#
3aaa63eb |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
show more ...
|
#
b7fab6ac |
| 06-Jan-2019 |
tedu <tedu@openbsd.org> |
set tracefile to null when clearing points. ok kn
|
#
c6ec1211 |
| 11-Jun-2017 |
awolk <awolk@openbsd.org> |
usr/bin/ktrace: replace snprintf(3)/write(2) with dprintf(3)
Brought to attention by BlackFrog on #openbsd-daily
OK deraadt@
|
#
adacb5b9 |
| 18-Jul-2016 |
guenther <guenther@openbsd.org> |
Add 'p' trace point for KTRFAC_PLEDGE, as noted by Michal Mazurek <akfaew@jasminek.net>
While here, fix handling of -t+ in ltrace.
|
#
a47b6461 |
| 18-Apr-2015 |
deraadt <deraadt@openbsd.org> |
Convert many atoi() calls to strtonum(), adding range checks and failure handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where 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)
show more ...
|
#
d57dd2f7 |
| 24-May-2014 |
deraadt <deraadt@openbsd.org> |
when ktrace() return ESRCH, the error is regarding the pid, not the pathname ok miod
|
#
85a3eae0 |
| 07-Apr-2014 |
jmc <jmc@openbsd.org> |
add -t to usage() for ltrace;
|
#
f3144d5d |
| 04-Apr-2014 |
miod <miod@openbsd.org> |
Add the -t ktrace(1) option to ltrace(1), so that you can trigger both library function call trace and other kernel events trace at the same time.
Suggested by kurt@ a long time ago, I have been sit
Add the -t ktrace(1) option to ltrace(1), so that you can trigger both 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.
show more ...
|
#
997d7b60 |
| 06-Nov-2013 |
sobrado <sobrado@openbsd.org> |
fix spacing in usage()
|
#
6cf552ad |
| 05-Jun-2013 |
sthen <sthen@openbsd.org> |
typo in usage, comand/command; Arto Jonsson
|
#
ae398163 |
| 01-Jun-2013 |
miod <miod@openbsd.org> |
Introduce ltrace(1). This tool works with ld.so to inject utrace record for each plt call, allowing to trace a binary linked against shared library at the public function call level.
To do so, ltrac
Introduce ltrace(1). This tool works with ld.so to inject utrace record for 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
show more ...
|
#
c71b44a6 |
| 12-Jul-2012 |
jmc <jmc@openbsd.org> |
add -B to usage();
|
#
fa24c6dc |
| 12-Jul-2012 |
guenther <guenther@openbsd.org> |
Add -B option to pass down LD_BIND_NOW to suppress ld.so blather
ok pirofti@ deraadt@
|
#
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (th
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
show more ...
|
#
69415ac9 |
| 23-Feb-2009 |
tedu <tedu@openbsd.org> |
matthew haub pointed out that pid may be used uninitialized in some contexts ok deraadt
|
#
d04fee58 |
| 03-Mar-2007 |
jmc <jmc@openbsd.org> |
let synopsis, options description, and usage() agree; from Igor Sobrado, tweaked by myself
|
#
ae5feee3 |
| 21-Dec-2005 |
millert <millert@openbsd.org> |
Userland programs should include <errno.h> not <sys/errno.h> OK deraadt@
|
#
9d48a621 |
| 14-Sep-2004 |
deraadt <deraadt@openbsd.org> |
ARGSUSED before signal handler with unused signo
|
#
1837a5ca |
| 10-Jun-2003 |
deraadt <deraadt@openbsd.org> |
mostly ansi cleanup; pval ok
|
#
f75387cb |
| 03-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|