mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
imgact_elf: Avoid redefining suword()
Otherwise this interferes with the definition for sanitizer
interceptors.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit ebf9886654)
This commit is contained in:
parent
fdeacf8fdf
commit
24c558ca3c
1 changed files with 2 additions and 2 deletions
|
|
@ -1345,7 +1345,7 @@ ret:
|
|||
return (error);
|
||||
}
|
||||
|
||||
#define suword __CONCAT(suword, __ELF_WORD_SIZE)
|
||||
#define elf_suword __CONCAT(suword, __ELF_WORD_SIZE)
|
||||
|
||||
int
|
||||
__elfN(freebsd_copyout_auxargs)(struct image_params *imgp, uintptr_t base)
|
||||
|
|
@ -1418,7 +1418,7 @@ __elfN(freebsd_fixup)(uintptr_t *stack_base, struct image_params *imgp)
|
|||
|
||||
base = (Elf_Addr *)*stack_base;
|
||||
base--;
|
||||
if (suword(base, imgp->args->argc) == -1)
|
||||
if (elf_suword(base, imgp->args->argc) == -1)
|
||||
return (EFAULT);
|
||||
*stack_base = (uintptr_t)base;
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue