Page MenuHomeFreeBSD

D45240.id138711.diff
No OneTemporary

D45240.id138711.diff

diff --git a/lib/libsys/access.2 b/lib/libsys/access.2
--- a/lib/libsys/access.2
+++ b/lib/libsys/access.2
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 13, 2024
+.Dd May 18, 2024
.Dt ACCESS 2
.Os
.Sh NAME
@@ -147,15 +147,6 @@
.Dv R_OK
and
.Dv W_OK .
-.Pp
-.Fn access ,
-.Fn eaccess
-and
-.Fn faccessat
-will always dereference symbolic links.
-If the symbolic link itself needs to be referenced,
-.Xr lstat 2
-should be used instead.
.Sh RETURN VALUES
.Rv -std
.Sh ERRORS
@@ -267,12 +258,3 @@
.Fn eaccess
system call
likewise may be subject to races if used inappropriately.
-.Pp
-.Fn access
-remains useful for providing clues to users as to whether operations
-make sense for particular filesystem objects (e.g. 'delete' menu
-item only highlighted in a writable folder ... avoiding interpretation
-of the st_mode bits that the application might not understand --
-e.g. in the case of AFS).
-It also allows a cheaper file existence test than
-.Xr stat 2 .

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 8:12 AM (19 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14757473
Default Alt Text
D45240.id138711.diff (1 KB)

Event Timeline