summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-04-25 16:40:37 +0000
committermillert <millert@openbsd.org>2000-04-25 16:40:37 +0000
commited90aaf906b7082fc146998974e8dd5b8e9c5f46 (patch)
treeb31c6cd0ae0c2e6d771e4c975ee730348ddc9968 /lib/libc/sys
parentMissed this in last ncurses sync (diff)
downloadwireguard-openbsd-ed90aaf906b7082fc146998974e8dd5b8e9c5f46.tar.xz
wireguard-openbsd-ed90aaf906b7082fc146998974e8dd5b8e9c5f46.zip
Mention that ktrace(2) doesn't follow links
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ktrace.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index 7a14ba4bd9b..ef5c957f654 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ktrace.2,v 1.8 2000/04/15 11:46:03 aaron Exp $
+.\" $OpenBSD: ktrace.2,v 1.9 2000/04/25 16:40:37 millert Exp $
.\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -56,7 +56,8 @@ Only the superuser can trace setuid or setgid programs.
.Pp
.Fa 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, be writable by the calling process, and
+not be a symbolic link.
All trace records are always appended to the file,
so the file must be truncated to zero length to discard
previous trace data.
@@ -153,7 +154,8 @@ or an entire path name exceeded 1023 characters.
.It Bq Er ENOENT
The named tracefile does not exist.
.It Bq Er EACCES
-Search permission is denied for a component of the path prefix.
+Search permission is denied for a component of the path prefix or the
+path refers to a symbolic link.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EIO