mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Fix shadowed variable warning on aarch64.
This commit is contained in:
@@ -88,9 +88,9 @@
|
||||
# define reg_arg4(x) (x).regs[3] /* x3 */
|
||||
# define reg_set_syscall(_r, _nr) do { \
|
||||
struct iovec _iov; \
|
||||
long syscallno = (_nr); \
|
||||
_iov.iov_base = &syscallno; \
|
||||
_iov.iov_len = sizeof(syscallno); \
|
||||
long _syscallno = (_nr); \
|
||||
_iov.iov_base = &_syscallno; \
|
||||
_iov.iov_len = sizeof(_syscallno); \
|
||||
ptrace(PTRACE_SETREGSET, pid, NT_ARM_SYSTEM_CALL, &_iov); \
|
||||
} while (0)
|
||||
#elif defined(__arm__)
|
||||
|
Reference in New Issue
Block a user