Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103053907
D45240.id138711.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D45240.id138711.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D45240: access(2): Discourage use of these system calls.
Attached
Detach File
Event Timeline
Log In to Comment