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 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
include Define __mig_strlen to support dynamically sized strings in hurd RPCs 2023-05-01 02:24:04 +02:00
sys Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
x86 mach: Drop SNARF_ARGS macro 2024-01-03 21:59:55 +01:00
x86_64 hurd: Set up the basic tree for x86_64-gnu 2023-02-12 16:12:06 +01:00
_strerror.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
adjtime.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
clock_gettime.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
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 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
getpagesize.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
getsysstats.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libc-lock.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libmachuser.abilist hurd: add base abilist files 2018-01-28 17:26:35 +01:00
mach_rpc.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mprotect.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
msync.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
munmap.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pagecopy.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
readonly-area.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sched_yield.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sleep.c mach: Fix bogus negative return 2024-08-25 03:35:29 +02:00
strerror_l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Subdirs * Makefile (subdir-target-args): New variable. 2006-02-28 07:11:04 +00:00
sysdep.h mach: Drop SNARF_ARGS macro 2024-01-03 21:59:55 +01:00
thread_state.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
usleep.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
xpg-strerror.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00