mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
inotify.2: Add some entries to the BUGS section
MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
1 parent
c2ac0db715
commit
fa6fe034a7
1 file changed
+25
-1
+25
-1
@@ -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.
|
||||
Reference in new issue
Block a user