1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

Userland: Allow our access check to pass flags to faccessat syscall

This commit is contained in:
Fabian Dellwing 2023-05-09 09:35:45 +02:00 committed by Andrew Kaster
parent 639aee037f
commit 059904371f
4 changed files with 8 additions and 7 deletions

View file

@ -228,7 +228,7 @@ ErrorOr<void> putenv(StringView);
ErrorOr<int> posix_openpt(int flags);
ErrorOr<void> grantpt(int fildes);
ErrorOr<void> unlockpt(int fildes);
ErrorOr<void> access(StringView pathname, int mode);
ErrorOr<void> access(StringView pathname, int mode, int flags = 0);
ErrorOr<DeprecatedString> readlink(StringView pathname);
ErrorOr<int> poll(Span<struct pollfd>, int timeout);