From nobody Mon Jul 27 19:14:49 2026 X-Original-To: dev-commits-src-all@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 4h87Zf1jjzz6nQ77 for ; Mon, 27 Jul 2026 19:14:50 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h87Zd1TWMz3fHW for ; Mon, 27 Jul 2026 19:14:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785179689; 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=BfQ+UYAdSRyxjdFrtI+4C6REIFrjtwH1S3xdb0WuhFw=; b=TuQ81gIPQ0SzfhLcHgdvoK81KGKVw9ztKazt2OGnlf9rNhgkuNidOmk9AArIHRkePLUwub sK20PdYljp89N2wHMVQ9pUEn6XLuwbrZQ9l1vkFH2X58aP+411t9jQyP/Ni1TsKUSQ9oQI PRRkNXkeGu45DMwRPaKcTNaOz7dJW/q+CxibsB7b3kEQRiXp+eRK0u35HBW4EWdnqF+/Tn d5Ug5mUAmBoy4D/zOcexq1uVCBO1eHZh28pQvHIvWf2odbrp/dlPow97BhUSAmuUZgDauh gl9k8IPAlSkQg4plNbIP0LV9xDr6EKP1ZnEdggiyq4mnTcICKaZZtTZXMXB0sA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785179689; a=rsa-sha256; cv=none; b=u37yC4b5SxV3ghUvlEGrr7OjBWdX5JUVXd0wmjZIGrZZ5db12y7R3IcKbVq4xJ8UMzpKm1 n/7ILh0TdJqrdpw32jl9Hzpgj7DivMXQOefl+FX50AiYDUAhmlKIDFNaAqmviXGehwp2MZ 609VvGZfaPf/tl8mbGIqI3/d73dABbpqxK6R/aIoCeOEUj0mQFio/bxRmkSxfDCVd9VxY/ 9XZlunfioLTtaAX6sRCFjGSbAqc5/5x/f2PqmSZL9oYSPJUx3WZc1TXQUFWHfwl9H6itIl e9wSp/sCcD7GioA2PtTStdJhXo2FALwvy4PPJJP+HT/3JyQHY0SxYYUk4O1RYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785179689; 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=BfQ+UYAdSRyxjdFrtI+4C6REIFrjtwH1S3xdb0WuhFw=; b=jWXIwgdffaUnK2CG4mJe3mhC9ltGFUwA1g2lCY5rcA/TS0QQ4IaP7sLY2lfLvAsAHddQxL 6nWtuL9jDZrxFmzwG0aHeS0MrpZe/02bH4JjaOAk4ZciZkSJa0xS+btrgy09e2GNQqXWVk s3f/bja/2QjmNAQwEepKKPpxzyAZfyPBg+EpjTAvhMlHXeOleS6Wkt7AxtN6vzt8njejuL JW8mwU3nDJ5dUV9eQMncBS/NZXZVsQghFjmRlCIGMsUeAa0uoCuAGUNWOXidLATCY2Ii6D ZR4J+4OS7ltxCSSipM7DUuNjOXu7OztYM8URtlwBpbqkUzILir9X6dzUiS6wqA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h87Zd0VH6z1L3H for ; Mon, 27 Jul 2026 19:14:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 391eb by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 27 Jul 2026 19:14:49 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 54dd524f0ba7 - stable/15 - inotify.2: Fix formatting and lint List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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/15 X-Git-Reftype: branch X-Git-Commit: 54dd524f0ba7d3c0d6b76ed00b0faf4d71803532 Auto-Submitted: auto-generated Date: Mon, 27 Jul 2026 19:14:49 +0000 Message-Id: <6a67ae29.391eb.674d276b@gitrepo.freebsd.org> The branch stable/15 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=54dd524f0ba7d3c0d6b76ed00b0faf4d71803532 commit 54dd524f0ba7d3c0d6b76ed00b0faf4d71803532 Author: Mark Johnston AuthorDate: 2026-07-06 12:50:51 +0000 Commit: Mark Johnston CommitDate: 2026-07-27 17:34:31 +0000 inotify.2: Fix formatting and lint MFC after: 1 week (cherry picked from commit 92dfe30ba254b50a74e14f33ad1d2a0c03393960) --- lib/libsys/inotify.2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/libsys/inotify.2 b/lib/libsys/inotify.2 index f94509d6f59e..0728c65af975 100644 --- a/lib/libsys/inotify.2 +++ b/lib/libsys/inotify.2 @@ -179,18 +179,18 @@ Some additional flags may be set in inotify event records: When a watch is removed from a file, for example because it was created with the .Dv IN_ONESHOT flag, the file was deleted, or the watch was explicitly removed with -.Xr inotify_rm_watch 2 , +.Fn inotify_rm_watch , an event with this mask is generated to indicate that the watch will not generate any more events. Once this event is generated, the watch is automatically removed, and in particular should not be removed manually with -.Xr inotify_rm_watch 2 . +.Fn inotify_rm_watch . .It Dv IN_ISDIR When the subject of an event is a directory, this flag is set in the .Ar mask .It Dv IN_Q_OVERFLOW -One or more events were dropped, for example because of a kernel memory allocation -failure or because the event queue size hit a limit. +One or more events were dropped, for example because of a kernel memory +allocation failure or because the event queue size hit a limit. .It Dv IN_UNMOUNT The filesystem containing the watched object was unmounted. .El @@ -210,7 +210,7 @@ is a symbolic link, do not follow it. This currently has no effect, see the .Sx BUGS section. -.In Dv IN_MASK_ADD +.It Dv IN_MASK_ADD When adding a watch to an object, and that object is already watched by the same inotify descriptor, by default the mask of the existing watch is overwritten. @@ -218,20 +218,20 @@ When .Dv IN_MASK_ADD is specified, the mask of the existing watch is instead logically ORed with the new mask. -.In Dv IN_MASK_CREATE +.It Dv IN_MASK_CREATE When .Fn inotify_add watch is used to add a watch to an object, .Dv IN_MASK_CREATE is specified, and that object is already watched by the same inotify descriptor, return an error instead of updating the existing watch. -.In Dv IN_ONESHOT +.It Dv IN_ONESHOT Monitor the object for a single event, after which the watch is automatically removed. As part of removal, a .Dv IN_IGNORED event is generated. -.In Dv IN_ONLYDIR +.It Dv IN_ONLYDIR When creating a watch, fail with .Er ENOTDIR if the path does not refer to a directory.