From nobody Wed Aug 5 15:16:52 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 4hFYsx5Kckz6nQdH for ; Wed, 05 Aug 2026 15:16:53 +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 4hFYsx1pM5z3wMk for ; Wed, 05 Aug 2026 15:16:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785943013; 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=3bYXxY09t6RKETtaPyu+PggyTaIqPL2U/qdJ8hn1rO8=; b=VR2WelFMNL8V4eOmKPp9143uKmpuv7ZdNlowEvsIkp7JCLraMYHVycQRv5h4T3aCmhmbb8 B3Qe8Sxee5bwirbUdf2Opmj25Xz8qZuxAieJ3tU34vUxvciKkl43riSYWKLMQgSl1hZJAV 9nRKEFr0pxbTsW3ivjEFwL1iLktYTOsrQNVDcjuVpaVWiIhyQSE3c0OgQzs6FacuBB6um0 MEGl70xjlx5kYNCxDD82Nt2Ul6jSu4OLlYHTGUznXhTlkEp+QeJ3oTz/A+1IPCmTIk+Sjq YANyobEVq0M8uTPVxk+R75STJj2qBjbUr8rxtqWlk6wq8pMXRih1iZr1miTIjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785943013; a=rsa-sha256; cv=none; b=reUQhDd/lMeGw12p4wfVP0HeV0Yq8lS7jHA+pzHdXTw6ubtK4o8du7jBgWFxP2TVyUGcUS RS7JIECnbA9DgyuSl3jSDbSsrMieFJGfqG2XkITRjMezRdYFmRiJbOfc0MsOGbaqxvTNtd TE3z4WZD3WCehnK9eB6whhLTexDJMzYHkjpuC1TU1hpJ6mKfTm4e7VhODuz+kBOAK2AF5A WRdJwEqtuPebvlVfUWKKk0UE4rhzhoWLNqC78NzzPChmp3E261tzY8heW70B8qqN06b1b9 FiNbnEYH//eGa0ZRJU0cyaYUpRy6iVkE9ArYToIL47OICziUTLp2jR9KgcxoEw== 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=1785943013; 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=3bYXxY09t6RKETtaPyu+PggyTaIqPL2U/qdJ8hn1rO8=; b=a4GPWI/CejZSlZlvl1bhlc9TGPjXUNkJKfwz+qp0JG36sK/+ZuBxctGvJZYc9e/jcaUM86 zei3lPK90lUeHIBgVcSvD6FW+PAl1g9LTV8OFKoaZy8fsN/Jl/+hK5CinXtpYf85SX2wfr cCCsJSnrVzioX4PreEkRKFnie5EGrqA/E4XDbv6tEPiA4xGpb+zmYN9uHekPDNiJkzbY0G uvZsqjFR1PM+YaYMsfhHqN8zYg1aWzzsfmCWTGlewwP9Nt5ZnNk2Uug+T3jIkpdHU0VDHx 0dCS4Vqcb/npyJVe24qUjxfJB3anyuRp1ioCsG4KMmQ/B8vI4Lb4qiH48huiRA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hFYsw6JfPzfWJ for ; Wed, 05 Aug 2026 15:16:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 45e3e by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 05 Aug 2026 15:16:52 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 0b184c120fc4 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 0b184c120fc4614fc4d43959e7173bd6359d1ce0 Auto-Submitted: auto-generated Date: Wed, 05 Aug 2026 15:16:52 +0000 Message-Id: <6a7353e4.45e3e.14ad387b@gitrepo.freebsd.org> The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=0b184c120fc4614fc4d43959e7173bd6359d1ce0 commit 0b184c120fc4614fc4d43959e7173bd6359d1ce0 Author: Mark Johnston AuthorDate: 2026-07-06 12:50:51 +0000 Commit: Mark Johnston CommitDate: 2026-08-05 15:15:16 +0000 inotify.2: Fix formatting and lint MFC after: 1 week (cherry picked from commit 92dfe30ba254b50a74e14f33ad1d2a0c03393960) --- lib/libc/sys/inotify.2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/libc/sys/inotify.2 b/lib/libc/sys/inotify.2 index f94509d6f59e..0728c65af975 100644 --- a/lib/libc/sys/inotify.2 +++ b/lib/libc/sys/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.