mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 13:58:05 +00:00
Fix compilation on Linux/x32; GitHub issue #158
This commit is contained in:
parent
1c00c7c238
commit
dfee181d15
@ -64,8 +64,10 @@
|
||||
*/
|
||||
#if defined(__x86_64__)
|
||||
# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_X86_64
|
||||
# define X32_execve __X32_SYSCALL_BIT + 520
|
||||
# define X32_execveat __X32_SYSCALL_BIT + 545
|
||||
# ifndef __ILP32__
|
||||
# define X32_execve __X32_SYSCALL_BIT + 520
|
||||
# define X32_execveat __X32_SYSCALL_BIT + 545
|
||||
# endif
|
||||
# define sudo_pt_regs struct user_regs_struct
|
||||
# define reg_syscall(x) (x).orig_rax
|
||||
# define reg_retval(x) (x).rax
|
||||
|
Loading…
x
Reference in New Issue
Block a user