]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/chmod.2: Document AT_SYMLINK_NOFOLLOW support in fchmodat(2)
authorBenjamin Peterson <benjamin@locrian.net>
Thu, 19 Jun 2025 05:13:42 +0000 (22:13 -0700)
committerAlejandro Colomar <alx@kernel.org>
Sat, 28 Jun 2025 14:51:42 +0000 (16:51 +0200)
Historically, Linux systems did not support the AT_SYMLINK_NOFOLLOW flag
to fchmodat(2).  glibc added userspace emulation support in glibc 2.32,
and Linux gained native support in 6.5.  See glibc.git 6b89c385d8bd
(2020-02-12; "io: Implement lchmod using fchmodat [BZ #14578]") and
linux.git 09da082b07bb (2023-07-27; "fs: Add fchmodat2()").

Signed-off-by: Benjamin Peterson <benjamin@locrian.net>
Message-ID: <20250619051342.145412-2-benjamin@locrian.net>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/chmod.2

index 671e256ba5256df8893269cb26576ef83395cacf..d2d91b7d8f0df9e30c82668d0ed53c1b58b66b2d 100644 (file)
@@ -220,7 +220,6 @@ If
 .I path
 is a symbolic link, do not dereference it:
 instead operate on the link itself.
-This flag is not currently implemented.
 .P
 See
 .BR openat (2)
@@ -352,6 +351,10 @@ POSIX.1-2008.
 POSIX.1-2008.
 Linux 2.6.16,
 glibc 2.4.
+.TP
+.B AT_SYMLINK_NOFOLLOW
+glibc 2.32,
+Linux 6.5.
 .SH SEE ALSO
 .BR chmod (1),
 .BR chown (2),