From nobody Thu Oct 22 17:32:15 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 4j9YB73v8bz6xP4g for ; Thu, 22 Oct 2026 17:32:15 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4j9YB71lzLz3H7x for ; Thu, 22 Oct 2026 17:32:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792690335; 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=FQafzVnsh0gttcomi2eJnYqVtt0Cbof7F83nEwYWSug=; b=e8IUJZ5CmS7KO2ihRzT44lr6n7vzy4Ww8lmu653N9aK2Oc6UE6lLrGHXZamKVF0EYfw0f5 4bTfCLNTpH6Wp3N/fwTWn9kM/+W5NPaD2Q8VdRqIa1R1yeJIjKcpEBQnj2/G+Jgw7j7B0+ 3MsPrY+M7NjTFucY3eB+qP8UosUJpRnMaR24tvhxKRnzFlj3ePoYvaC6HeK0AlHvFRlOUu nxb2FNhWQJO+2sjZbGRtOHIunhCecvmIfd9wiztRE2dOv77Iy6X94IOPbfw+JrhVP3qsCE p1Ip9vnRthI1fijbl1c72+2xRTUYM8CeBTsof/+j7Vw8kQNXm9pRlnyNfg09Qw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792690335; b=afPfPGMy+/92ML7hIo23rmpdeCn4cgQlgjOuWhsWjlIoZGvQETebqmn7G8BptxX3dgaN9E 8GvSzWEToRIBddIaf4RUqxXkt8LFFyNeSk5/UqtJtKsgSiVYGqyzr9sDLdyuv64aun33Or IQ0pc5jRwo6b5C5ZZfaNvPUr2BCe0vOw9bWFgG2qNT0RM7FRLKkznJ1KBeAmgGAFeGaygt MreeFk3HMNc5nN286TRpsJKcnwPucPkMp2VawjoDl+hjP6SYJjEVlw9mC3iOeRPDW6n4CK qweCL69XeTDFjsYGO3cUvdx4m6srr0sKA8MpSutUruIDWwFBXN6BqmPhb1+xpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792690335; 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=FQafzVnsh0gttcomi2eJnYqVtt0Cbof7F83nEwYWSug=; b=ZdGassf+hJhgoJzYhaqXkAiq7/uLo3IOGptYs1YOlX4/UJNq0gT8JyYxcmjEKlGKT8q9pQ EGSdj9b1n80RATOtk6/8ZPh+uBMUEIO4gpjjw1Yj4ctpDW9BV1CfAQS8CAdcOmg7Xbyzdx m7wG1UfNM2vJ17EtX+d9O8XQohXNJH2s5BDuUw70wu20qNQBSRkurGgkW2mRawEA1Qv+gb NBTfBI+lm/O7mho6nDCXeZotTNQkXfrIK3Q0a6p29W3r//o4A5BAB3xzU22isPJwf9sQAR LFcwTU+PXriaHxEO/50ScWG6BbkuR0kylbG1Y35AVRU19SetPWw0njbZtuD8LQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4j9YB71JVYzsVp for ; Thu, 22 Oct 2026 17:32:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3de97 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 22 Oct 2026 17:32:15 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 6851fbddd15e - stable/15 - inotify.2: Add some entries to the BUGS section List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository 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: 6851fbddd15e69fe1e7c2ec121c8b748600b2948 Auto-Submitted: auto-generated Date: Thu, 22 Oct 2026 17:32:15 +0000 Message-Id: <6ada489f.3de97.6dbdfb8c@gitrepo.freebsd.org> The branch stable/15 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=6851fbddd15e69fe1e7c2ec121c8b748600b2948 commit 6851fbddd15e69fe1e7c2ec121c8b748600b2948 Author: Mark Johnston AuthorDate: 2026-10-07 14:36:46 +0000 Commit: Mark Johnston CommitDate: 2026-10-22 15:45:41 +0000 inotify.2: Add some entries to the BUGS section MFC after: 1 week Sponsored by: The FreeBSD Foundation (cherry picked from commit fa6fe034a73c8b17320d1e68767ad2aa99eaa8bf) --- lib/libsys/inotify.2 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/lib/libsys/inotify.2 b/lib/libsys/inotify.2 index 0728c65af975..f0844452f488 100644 --- a/lib/libsys/inotify.2 +++ b/lib/libsys/inotify.2 @@ -3,7 +3,7 @@ .\" .\" Copyright (c) 2025 Klara, Inc. .\" -.Dd May 19, 2025 +.Dd October 7, 2026 .Dt INOTIFY 2 .Os .Sh NAME @@ -377,3 +377,27 @@ Thus, the implementation behaves as though .Dv IN_EXCL_UNLINK is always set. +.Pp +Some inotify events rely on the kernel's name cache in order to determine +the name of the file being accessed. +Some filesystems do not use the name cache, for instance +.Xr devfs 4 , +and +.Xr tmpfs 4 +mounts with the +.Dv nonc +option set. +inotify may not reliably deliver events for files on such filesystems. +.Pp +inotify does not deliver events for +.Xr devfs 4 +files so as to avoid leaking potentially sensitive timing information. +For instance, +.Dv IN_ACCESS +events on +.Pa /dev/input +could be used to determine information about keyboard input from a different +user. +A watch on a +.Xr devfs 4 +file or directory may be created, but will not deliver any events.