diff --git a/kernel/arch.h b/kernel/arch.h index 2ef7b681bc8e..d6be675495e0 100644 --- a/kernel/arch.h +++ b/kernel/arch.h @@ -24,18 +24,12 @@ #define SYS_NEWFSTATAT_SYMBOL "__arm64_sys_newfstatat" #define SYS_FACCESSAT_SYMBOL "__arm64_sys_faccessat" #define SYS_EXECVE_SYMBOL "__arm64_sys_execve" -#define SYS_EXECVEAT_SYMBOL "__arm64_sys_execveat" -#define COMPAT_SYS_EXECVE_SYMBOL "__arm64_compat_sys_execve" -#define COMPAT_SYS_EXECVEAT_SYMBOL "__arm64_compat_sys_execveat" #else #define PRCTL_SYMBOL "sys_prctl" #define SYS_READ_SYMBOL "sys_read" #define SYS_NEWFSTATAT_SYMBOL "sys_newfstatat" #define SYS_FACCESSAT_SYMBOL "sys_faccessat" #define SYS_EXECVE_SYMBOL "sys_execve" -#define SYS_EXECVEAT_SYMBOL "sys_execveat" -#define COMPAT_SYS_EXECVE_SYMBOL "compat_sys_execve" -#define COMPAT_SYS_EXECVEAT_SYMBOL "compat_sys_execveat" #endif #elif defined(__x86_64__) @@ -58,11 +52,13 @@ #define SYS_READ_SYMBOL "__x64_sys_read" #define SYS_NEWFSTATAT_SYMBOL "__x64_sys_newfstatat" #define SYS_FACCESSAT_SYMBOL "__x64_sys_faccessat" +#define SYS_EXECVE_SYMBOL "__x64_sys_execve" #else #define PRCTL_SYMBOL "sys_prctl" #define SYS_READ_SYMBOL "sys_read" #define SYS_NEWFSTATAT_SYMBOL "sys_newfstatat" #define SYS_FACCESSAT_SYMBOL "sys_faccessat" +#define SYS_EXECVE_SYMBOL "sys_execve" #endif #else