From nobody Thu Feb 03 14:47:07 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6CD5719A0EA6; Thu, 3 Feb 2022 14:47:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JqM2N0N30z3Kql; Thu, 3 Feb 2022 14:47:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643899628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AvQduEFnGbP+1gIY//URA9uo6vFRT1iWHns1tqiRL0k=; b=g6PYpCPKPjng9oUp9w/nb7eB4ee7igfW4+3b7Zjhenpt0u2KnXkuiuCnX85RPHdp0+brc3 5Gob41bREdBgx0Yp21sU9M+E1iIhhvZe7PsJmit70jjnxSrKsqUQU1ivTogptBSUX6EYB7 fn75A7o3aTswpuVRjNS2BSRoLtG+B3y+VX+WG3fqMe7AZbEkKOJM9V5/sJ4UsEmvNbSL49 73zT7Fi2G60epKAK4uy0N+edPMiDKsD1cuW1s2lMe1YoLN4huqCUnzqxS7fsyFk4+/j9+v ZNPyOfBiljRAdJqCHHDLq5//9jSzxux8xzSREuUMgsaFauUAz6C7OJ7+sBTgqA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ABB3119E16; Thu, 3 Feb 2022 14:47:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 213El76P050312; Thu, 3 Feb 2022 14:47:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 213El7pj050311; Thu, 3 Feb 2022 14:47:07 GMT (envelope-from git) Date: Thu, 3 Feb 2022 14:47:07 GMT Message-Id: <202202031447.213El7pj050311@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 03399cd6e04e - main - filemon.4: Document FILEMON_SET_FD errors and refine wording a bit List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 03399cd6e04eb108db0392c8e77eb6ea00c5532e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643899628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AvQduEFnGbP+1gIY//URA9uo6vFRT1iWHns1tqiRL0k=; b=cffh0B/77Ou+hnW0S6s3fNpm8ubpXe76aB/gVHgpsw8aauILcyLTC2Wp+E0KHynE0Sg8nz WNAQbz5yJFM562gKTo71hSdIjleQtBXlrh+xtsRxnnnZQAbiFpFBNb/4Yizigu20w4aetb f40rVo78Sbn2IRVrlHTHkTFaspKIXlguxlGS0SSlAYEdOtXJopRvrhnqRH9J5pQAuom36x mQ32xEzAl4V+s/ODxfJPzPHp0o2Ibmzay3Faj0QPrOlGzV86+p800ktfoCL0+dOA6so/vs bv3SojC/nYgOsME4iJbjFNppbMFHoPKIwxL5AqDZHgpQ1BwhAyw+TD+Yj+0H6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643899628; a=rsa-sha256; cv=none; b=cgCLcqs4R0nR1NOpfQZ1lQGVxrJY94l1iIz6MJ7xCa1is5efmtGEVjJHtevI7zNWN+GIuv VWcMj7kRXxtMixUM/5ZKI1/33B8pe1GJ2YuUK1UgF+XgRbbn/vGINC0ThJjUVvpHmGMkkP uIek4F0B4tYTaBVuvUCdkMvYwRkDsWXZ++Qa17Mc0jeWkOeIKZJ5npUNCG/rTywKzDrwl6 Ve4YrQSv8b7s28sV1y2g3VW12dI5MBVDvHaVnXuKGRVFs38tYBZuDW9NNakZzLfQE0LDU5 gGaqPna2AGbLeSVOVHRmoRuGEI1l2TBXsTnflOKX6HzzbGW6ioyx2W7MpAfAQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=03399cd6e04eb108db0392c8e77eb6ea00c5532e commit 03399cd6e04eb108db0392c8e77eb6ea00c5532e Author: Mark Johnston AuthorDate: 2022-02-03 14:42:14 +0000 Commit: Mark Johnston CommitDate: 2022-02-03 14:46:34 +0000 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 --- share/man/man4/filemon.4 | 15 ++++++++++----- 1 file 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