Mark Murray
01588bbd2b
Warnings fix; ANSIfy, constify, mark unused function parameter(s).
2002-04-28 13:00:16 +00:00
David Malone
ebdb213b72
1) Clean up vendor and ID strings.
...
2) include stdlib.h for atoi.
3) staticise and constify.
4) add some missing prototypes.
5) add some parens to keep gcc happy.
2002-04-01 10:49:11 +00:00
Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
Mike Heffner
24b9685ca9
Sync manpage and usage. Also fix bug that would always interpret a -c as a
...
process clear.
PR: bin/15456
MFC after: 2 weeks
2001-06-27 02:52:57 +00:00
Warner Losh
62f882d620
getopt and friends are declared in <unistd.h>
...
getopt returns -1 not EOF.
2000-09-04 06:09:54 +00:00
Kris Kennaway
0c4d24a78f
Don't call err() with no format string.
2000-07-10 09:14:15 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Philippe Charnier
4a744ef67d
Cosmetic in usage string.
1997-07-17 06:45:22 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Joerg Wunsch
9bedbe6c7d
Fix a security problem where the ktrace.out file could have been written
...
over a file owned by someone else.
Pointed out by: wosch
Reviewed by: sef, imp, proff@suburbia.net , bde
1997-03-15 10:39:12 +00:00
Peter Wemm
c115df18cd
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Poul-Henning Kamp
09ac2438bf
The userland change to the utrace(2) call.
1996-09-19 19:50:17 +00:00
Joerg Wunsch
4ac5adf036
Do always create ktrace.out with mode 0600, to prevent it from
...
accidentally compromising information confidential to the user running
ktrace.
1996-06-30 09:40:44 +00:00
James Raynard
0bff613275
Merged in 4.4Lite2 versions, added $Id$'s. The ktrace changes should
...
fix the garbage error messages printed out under certain circumstances.
1996-06-19 09:56:30 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
Andreas Schulz
b013076737
Reviewed by:
...
Submitted by:
Put in a signal handler to catch the SIGSYS signal that indicates that
ktrace was not built into the kernel and prevent ktrace to core dump
somewhere.
1994-08-28 15:49:55 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00