From nobody Mon Jul 6 12:55:20 2026 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 4gv48T1bWZz6jVxd for ; Mon, 06 Jul 2026 12:55:21 +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 4gv48T0LHvz3mjB for ; Mon, 06 Jul 2026 12:55:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1783342521; 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=HSsS319bwv7INGXfr2sVw62bnAc/NMAFwRUfnUETjdM=; b=eg6pcJh28t/p8ntc7cDaXnU1mpVbdLiMFP3bLx1E+fCx6hRQQutYC5PvdlI6QPhYsl8jxy mKYB0KL6rts2ZvRmaOBAN9ZeuGK5qHy67HhKEYfpEkbXhp6PNf0863UCBW+DkIPkOZ1bnb XiRoZtC37CY6QeZ8fKQyPA311JHbvPiKP6Jt6kGgar8RNeSsGH5G7XAhoyBoZ5DWC+n+6U FoSJkzEznvhrEsj8I2Q0LVKe95X1enJMl/P2GW5ZJqqS6kPYwUScte2FZJqPXaBX4wBJZN EJDxQksG7N6D4Uw11T+wm0mtB3k3GHs3yBLJgcV96hiAMMWAUYFLblAPzvnCQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1783342521; a=rsa-sha256; cv=none; b=HQ5Fxs01E34Zu5keh+oGyXDsLaEsYeSIHOIM+v2DgAK29tJa/XYf0o32eME3l1b8lPerbS BuRUMKgKY2NuKZ11iZX13YPu6ZbuEUL67ITes6tnpmUZ4LgZ6rZlExXD5nUIr2JNqLrUK/ kOaBlkjSgLXE5h1Fa+K7otNuW3bZJOdQeq7xDvGxSSzgmwcTgWHRX57Z3RQ9mvNFG1RZY2 AVbjG3QX3aRQSzRkl3SNZhjRD663W9idNKF/KC/NYTMXGi0MBcv1OItjkvsten0VXZU+96 sNH/7/WTlRwKU+kzezpj/YlZo3vEH9XaJ9Y+9QflHiIvh8w1eGQg2jeEeiHlEw== 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=1783342521; 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=HSsS319bwv7INGXfr2sVw62bnAc/NMAFwRUfnUETjdM=; b=uS09C0T5SArz601nBGRP+gv8ZvL/A+G6CT5oVgL8SydgyLWBl645d0w18jAN8Ad/celdpk H27nEnPNqDfEksFC35tu/QTkWZWslb2GCbyNrKFG3RDay3sh3iHq8XNg3VnoKjj/OpvJvc lfEGtk8yNH4t4B1J7Eq11MXwRiK6tureCOThqdqXzc6/pDxsEOixQ4mECTHDGIbfbqPQsk TzBcDiIiAeLExzV5xav1Yz9ngXDckiqUtDPOZkdbmu875NFqeAuz2o+65SJVQtoI86KNPC kx07O/03uz9TqNjWg3McQPqnqFr4oiipdRKkiixV/vipc2/5I/sPL2U6bQCI3w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gv48S6SJrz14rr for ; Mon, 06 Jul 2026 12:55:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3e565 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 06 Jul 2026 12:55:20 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 92dfe30ba254 - main - inotify.2: Fix formatting and lint 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 92dfe30ba254b50a74e14f33ad1d2a0c03393960 Auto-Submitted: auto-generated Date: Mon, 06 Jul 2026 12:55:20 +0000 Message-Id: <6a4ba5b8.3e565.5540026d@gitrepo.freebsd.org> The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=92dfe30ba254b50a74e14f33ad1d2a0c03393960 commit 92dfe30ba254b50a74e14f33ad1d2a0c03393960 Author: Mark Johnston AuthorDate: 2026-07-06 12:50:51 +0000 Commit: Mark Johnston CommitDate: 2026-07-06 12:50:51 +0000 inotify.2: Fix formatting and lint MFC after: 1 week --- 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.