From 45ded86bcb2cae48ea49b0312d82d4540a67405c Mon Sep 17 00:00:00 2001 From: Drew Stratford Date: Sat, 14 Sep 2019 01:59:05 +1200 Subject: [PATCH] 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. --- Kernel/Syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index 363beb00e60..c8211f11eb8 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -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 {