Kernel: Move fchdir to end of enumerate syscalls.

The introduction fchdir in the middle of the EUMERATE_SYSCALLS
expression changed other syscall numbers, which broke compatibility.
This commit fixes that by moving it to the end.
This commit is contained in:
Drew Stratford 2019-09-14 01:59:05 +12:00 committed by Andreas Kling
parent af6948afe0
commit 45ded86bcb
Notes: sideshowbarker 2024-07-19 12:07:48 +09:00

View file

@ -32,7 +32,6 @@ 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) \
@ -130,7 +129,8 @@ struct timeval;
__ENUMERATE_SYSCALL(set_process_icon) \
__ENUMERATE_SYSCALL(mprotect) \
__ENUMERATE_SYSCALL(realpath) \
__ENUMERATE_SYSCALL(get_process_name)
__ENUMERATE_SYSCALL(get_process_name) \
__ENUMERATE_SYSCALL(fchdir)
namespace Syscall {