From nobody Thu Feb 10 13:46:53 2022 X-Original-To: dev-commits-src-branches@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 322F919AD2E5; Thu, 10 Feb 2022 13:46:54 +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 4JvdMd5NZNz4cvr; Thu, 10 Feb 2022 13:46:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644500813; 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=CzBLn2drtr/6g9Lismr7SGLIoP08umcjI8KF5nvhIRs=; b=OIYm7PdE/te94uhWSRAcNDN2qw+eucn3zA1PR4jQQ2vHiY5V9N0oRghad9QjkjsMTbyP6P 03whrQWsyWhzrLnDVjcNkB+VpM5EJ+KTaP+9kzror6IYAy1spnERtDx2nno7sF6XLpavRp BdBsemj/FPdvnJ3GOV2pqRLRkucyfLeQg9FA6MohU0SQ/xiaGXXvsMfHtFIRmdtBX1CzlW bj4ZezSC5yPxzk2pvz9rZEkOhlqj9OGaepmPIomlN8uQm8T2SyfPJtpVvGdhSdM0SU0NG6 bl70oHRsJtm4FbA73wtaqfjPgQPKiIUkBfGTE+2T1M35PYr4eXMO8s/Le4oyHQ== 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 7EB742192C; Thu, 10 Feb 2022 13:46:53 +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 21ADkrWI049631; Thu, 10 Feb 2022 13:46:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21ADkrOw049630; Thu, 10 Feb 2022 13:46:53 GMT (envelope-from git) Date: Thu, 10 Feb 2022 13:46:53 GMT Message-Id: <202202101346.21ADkrOw049630@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 9d81d364071e - stable/13 - filemon.4: Document FILEMON_SET_FD errors and refine wording a bit List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 9d81d364071e28b5c802ad67ba168144e9cc3c69 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644500813; 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=CzBLn2drtr/6g9Lismr7SGLIoP08umcjI8KF5nvhIRs=; b=YM+m0EYmCNyI8TCaQecqQaVZHxWXsgeP9DLdz4Uhx2AGs5KhTWR8NfLzA2eNIrtZ1ImmFK aYVdrfDeNNGgUi0AQ4Ph0FdKS5xDKmZinzkUNuihuYR8mpWQHrgcC3QmMszuMHbO+OWEAl tTy0gSI/8zvOVCbCe1Wvx93lIb8Vp6QxstcGHw/8Yjx2h4Ft0qAxbUXX+DkEMsV3xDypPy EwZeLcDAlPz5nyg7PFjWoSFuFypHuk2hASOJhmtSyCvC4Kd6NW512xqGl/yh0zA+WDp0oU RoWlxNFhgIhFWY9BftskS+SEJNptbuzg3zKKTVCpwM26jdKtUMSUEQAfUDe6BQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644500813; a=rsa-sha256; cv=none; b=IyXfOQR/FibVg4NF+wgTPN0C4x4/BYssGhaDcytEIPFyzNg/I9llxus6F8BZ8RoVWtdvxJ 0qrmQMEoy3Y9k1GT/TxtXcepkVxHjozDE5j0ovyA4/KJKHOMAdyOg6vmxe9XBFKNpYP+k1 aKpjOntJcaPhROlvH2oaiAKktvx99Pw5V2GNH2N3gCur4rms8OLHQUtPY5GQZVfuHvkAdl l0y1dIqHBAjuWIlMFm6DtNX0TZEQMEyV1HAZgXS5a42alk9g1SuMGQv2n4PyjLY4LuDc72 /M/fUT83QoD9r1b2Cx/dJ3FcKTqROSq5nJXtBCHWIHjIZz2OkCaSjrLatyF1MQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=9d81d364071e28b5c802ad67ba168144e9cc3c69 commit 9d81d364071e28b5c802ad67ba168144e9cc3c69 Author: Mark Johnston AuthorDate: 2022-02-03 14:42:14 +0000 Commit: Mark Johnston CommitDate: 2022-02-10 13:46:36 +0000 filemon.4: Document FILEMON_SET_FD errors and refine wording a bit Reviewed by: emaste, debdrup, Pau Amma Sponsored by: The FreeBSD Foundation (cherry picked from commit 03399cd6e04eb108db0392c8e77eb6ea00c5532e) --- 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