Re: [PATCH] hurd: Avoid file_check_access () RPC for access (F_OK)

2024-09-19 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le jeu. 19 sept. 2024 13:14:39 +0300, a ecrit: > 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

[PATCH] hurd: Avoid file_check_access () RPC for access (F_OK)

2024-09-19 Thread Sergey Bugaev
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 G