Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2022 21:08:46 GMT
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5dd1f6f14416 - main - utimensat(2): Remove description of compatibility code
Message-ID:  <202206122108.25CL8kOK004690@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jilles:

URL: https://cgit.FreeBSD.org/src/commit/?id=5dd1f6f14416220e74c9a866389eaf921a53ba91

commit 5dd1f6f14416220e74c9a866389eaf921a53ba91
Author:     Sergey Kandaurov <pluknet@FreeBSD.org>
AuthorDate: 2022-06-09 21:02:01 +0000
Commit:     Jilles Tjoelker <jilles@FreeBSD.org>
CommitDate: 2022-06-12 20:57:31 +0000

    utimensat(2): Remove description of compatibility code
    
    Commit e0e0323354c55335775e3a55b1af0f93967fb412 removed compat stubs for
    kernels that did not have futimens() and utimensat() system calls, but
    removed the documentation for them in the manual page only partially.
    
    Remove the rest of the documentation of the compatibility code.
    
    MFC after:      1 week
---
 lib/libc/sys/utimensat.2 | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/lib/libc/sys/utimensat.2 b/lib/libc/sys/utimensat.2
index 2af452898c9d..2a3ee087c764 100644
--- a/lib/libc/sys/utimensat.2
+++ b/lib/libc/sys/utimensat.2
@@ -31,7 +31,7 @@
 .\"     @(#)utimes.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd March 30, 2021
+.Dd June 12, 2022
 .Dt UTIMENSAT 2
 .Os
 .Sh NAME
@@ -169,18 +169,6 @@ operate on the current working directory.
 .El
 .Sh RETURN VALUES
 .Rv -std
-.Sh COMPATIBILITY
-If the running kernel does not support this system call,
-a wrapper emulates it using
-.Xr fstatat 2 ,
-.Xr futimesat 2
-and
-.Xr lutimes 2 .
-As a result, timestamps will be rounded down to the nearest microsecond,
-.Dv UTIME_OMIT
-is not atomic and
-.Dv AT_SYMLINK_NOFOLLOW
-is not available with a path relative to a file descriptor.
 .Sh ERRORS
 These system calls will fail if:
 .Bl -tag -width Er



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206122108.25CL8kOK004690>