1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

Kernel: Implement fchdir syscall

The fchdir() function is equivalent to chdir() except that the
directory that is to be the new current working directory is
specified by a file descriptor.
This commit is contained in:
Mauri de Souza Nunes 2019-09-11 20:18:25 -03:00 committed by Andreas Kling
parent 26e81ad574
commit 7d85fc00e4
6 changed files with 24 additions and 0 deletions

View file

@ -32,6 +32,7 @@ struct timeval;
__ENUMERATE_SYSCALL(gettimeofday) \
__ENUMERATE_SYSCALL(gethostname) \
__ENUMERATE_SYSCALL(chdir) \
__ENUMERATE_SYSCALL(fchdir) \
__ENUMERATE_SYSCALL(uname) \
__ENUMERATE_SYSCALL(set_mmap_name) \
__ENUMERATE_SYSCALL(readlink) \