Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
Document the fact that the tracefile argument must lead to a regular file. Also took the opportunity to remove the spurious "Errors" entry relating to filenames with the high-order bit set and add $Id$. (More of the same to follow if there are no objections).
This commit is contained in:
parent
161ad18f33
commit
0664ad281c
@ -30,6 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93
|
||||
.\" $Id$
|
||||
.\"
|
||||
.Dd June 4, 1993
|
||||
.Dt KTRACE 2
|
||||
@ -54,7 +55,7 @@ Only the super-user can trace setuid or setgid programs.
|
||||
The
|
||||
.Ar tracefile
|
||||
gives the pathname of the file to be used for tracing.
|
||||
The file must exist and be writable by the calling process.
|
||||
The file must exist and be a regular file writable by the calling process.
|
||||
All trace records are always appended to the file,
|
||||
so the file must be truncated to zero length to discard
|
||||
previous trace data.
|
||||
@ -140,8 +141,6 @@ will fail if:
|
||||
.Bl -tag -width ENAMETOOLONGAA
|
||||
.It Bq Er ENOTDIR
|
||||
A component of the path prefix is not a directory.
|
||||
.It Bq Er EINVAL
|
||||
The pathname contains a character with the high-order bit set.
|
||||
.It Bq Er ENAMETOOLONG
|
||||
A component of a pathname exceeded 255 characters,
|
||||
or an entire path name exceeded 1023 characters.
|
||||
|
Loading…
Reference in New Issue
Block a user