glibc/sysdeps/mach
Sergey Bugaev 4524670545 hurd: Avoid file_check_access () RPC for access (F_OK)
A common use case of access () / faccessat () is checking for file
existence, not any specific access permissions.  In that case, we can
avoid doing the file_check_access () RPC; whether the given path had
been successfully resolved to a file is all we need to know to answer.

This is prompted by GLib switching to use faccessat (F_OK) to implement
g_file_query_exists () for local files.
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4272

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-ID: <20240919101439.179663-1-bugaevc@gmail.com>
2024-09-19 14:18:39 +02:00
..
htl Add pthread_getname_np and pthread_setname_np for Hurd 2024-07-16 09:21:52 +02:00
hurd hurd: Avoid file_check_access () RPC for access (F_OK) 2024-09-19 14:18:39 +02:00
i386
include
sys
x86
x86_64
_strerror.c
adjtime.c
clock_gettime.c
clock_nanosleep.c
configure Add pthread_getname_np and pthread_setname_np for Hurd 2024-07-16 09:21:52 +02:00
configure.ac Add pthread_getname_np and pthread_setname_np for Hurd 2024-07-16 09:21:52 +02:00
getloadavg.c
getpagesize.c
getsysstats.c
libc-lock.h
libmachuser.abilist
mach_rpc.h
Makefile
mprotect.c
msync.c
munmap.c
pagecopy.h
readonly-area.c
sched_yield.c
sleep.c mach: Fix bogus negative return 2024-08-25 03:35:29 +02:00
strerror_l.c
Subdirs
sysdep.h
thread_state.h
usleep.c
xpg-strerror.c