aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/filemon.4
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2022-02-03 14:42:14 +0000
committerMark Johnston <markj@FreeBSD.org>2022-02-03 14:46:34 +0000
commit03399cd6e04eb108db0392c8e77eb6ea00c5532e (patch)
tree9c1ab092d14f7456e8e1239aebb69bc109dcc308 /share/man/man4/filemon.4
parentb84ed4e7f626de5475cf26bae6d7ff15ec9f9675 (diff)
downloadsrc-03399cd6e04eb108db0392c8e77eb6ea00c5532e.tar.gz
src-03399cd6e04eb108db0392c8e77eb6ea00c5532e.zip
filemon.4: Document FILEMON_SET_FD errors and refine wording a bit
Reviewed by: emaste, debdrup, Pau Amma MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34128
Diffstat (limited to 'share/man/man4/filemon.4')
-rw-r--r--share/man/man4/filemon.415
1 files changed, 10 insertions, 5 deletions
diff --git a/share/man/man4/filemon.4 b/share/man/man4/filemon.4
index 24707fe3e592..9fb2fe10a2ec 100644
--- a/share/man/man4/filemon.4
+++ b/share/man/man4/filemon.4
@@ -31,7 +31,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 15, 2019
+.Dd February 1, 2022
.Dt FILEMON 4
.Os
.Sh NAME
@@ -51,10 +51,10 @@ calls.
.Pp
.Nm
is not intended to be a security auditing tool.
-Many system calls are not tracked and binaries of foreign ABI will not be fully
-audited.
-It is intended for auditing of processes for the purpose of determining its
-dependencies in an efficient and easily parsable format.
+Many system calls are not tracked and binaries using a non-native ABI may not
+be fully audited.
+It is intended for auditing of processes for the purpose of determining their
+dependencies using an efficient and easily parsable format.
An example of this is
.Xr make 1
which uses this module with
@@ -145,6 +145,11 @@ will fail if:
The
.Nm
handle is already associated with a file descriptor.
+.It Bq Er EINVAL
+The file descriptor has an invalid type and cannot be used for
+tracing.
+.It Bq Er EBADF
+The file descriptor is invalid or not opened for writing.
.El
.Pp
The