diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-03-26 08:33:58 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-03-26 08:33:58 +0000 |
commit | 508c684cc8409dae90ba37f4ea177f44f830da0b (patch) | |
tree | 7d418fdadcad6396f6c57a55bc1f17fcb232621f /lib/libc/sys | |
parent | 10f69d3519037e21b125297ff9a1d2ada4b05689 (diff) |
acct, ktrace, and ptrace are only available if the kernel option is there.
say so.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/acct.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/ktrace.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/ptrace.2 | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index 80c8f7d3943..f8ef74225cd 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acct.2,v 1.10 2005/02/25 03:12:44 cloder Exp $ +.\" $OpenBSD: acct.2,v 1.11 2005/03/26 08:33:57 tedu Exp $ .\" $NetBSD: acct.2,v 1.6 1995/02/27 12:31:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -59,6 +59,10 @@ Abnormal conditions of termination are reboots or other fatal system problems. Records for processes which never terminate can not be produced by .Fn acct . +.Fn acct +is only available on kernels compiled with the +.Nm ACCOUNTING +option . .Pp For more information on the record structure used by .Fn acct , diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 3382afd7b4a..6fd8578668d 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ktrace.2,v 1.13 2003/06/02 20:18:39 millert Exp $ +.\" $OpenBSD: ktrace.2,v 1.14 2005/03/26 08:33:57 tedu Exp $ .\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -49,6 +49,10 @@ The function enables or disables tracing of one or more processes. Users may only trace their own processes. Only the superuser can trace setuid or setgid programs. +.Fn ktrace +is only available on kernels compiled with the +.Nm KTRACE +option . .Pp .Fa tracefile gives the pathname of the file to be used for tracing. diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index eeade9e1522..6c87469b2c4 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ptrace.2,v 1.13 2004/03/09 22:46:26 miod Exp $ +.\" $OpenBSD: ptrace.2,v 1.14 2005/03/26 08:33:57 tedu Exp $ .\" $NetBSD: ptrace.2,v 1.3 1996/02/23 01:39:41 jtc Exp $ .\" .\" This file is in the public domain. @@ -36,6 +36,10 @@ signal, examine the state of the stopped process, and cause it to terminate or continue as appropriate. .Fn ptrace is the mechanism by which all this happens. +.Fn ptrace +is only available on kernels compiled with the +.Nm PTRACE +option . .Pp The .Fa request |