diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-04-09 00:25:14 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-09 00:25:14 +0000 |
| commit | 9e70163017ff929a36926ddbc5bd6e8b6b19cfeb (patch) | |
| tree | f9758c4080fea63e819d93a2fbc8bf5035b5fdb2 /sys/i386 | |
| parent | b367bd1952952b41b3c5dbc51b0b1b9da1fdd9dd (diff) | |
Diffstat (limited to 'sys/i386')
| -rw-r--r-- | sys/i386/linux/linux_sysvec.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index f5b92f063352..7bc7c96e943a 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -204,15 +204,11 @@ linux_fixup(uintptr_t *stack_base, struct image_params *imgp) static int linux_copyout_auxargs(struct image_params *imgp, uintptr_t base) { - struct proc *p; Elf32_Auxargs *args; Elf32_Auxinfo *argarray, *pos; - struct ps_strings *arginfo; int error, issetugid; - p = imgp->proc; issetugid = imgp->proc->p_flag & P_SUGID ? 1 : 0; - arginfo = (struct ps_strings *)PROC_PS_STRINGS(p); args = (Elf32_Auxargs *)imgp->auxargs; argarray = pos = malloc(LINUX_AT_COUNT * sizeof(*pos), M_TEMP, M_WAITOK | M_ZERO); @@ -508,13 +504,12 @@ linux_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) struct trapframe *regs; struct l_sigframe *fp, frame; l_sigset_t lmask; - int sig, code; + int sig; int oonstack; PROC_LOCK_ASSERT(p, MA_OWNED); psp = p->p_sigacts; sig = ksi->ksi_signo; - code = ksi->ksi_code; mtx_assert(&psp->ps_mtx, MA_OWNED); if (SIGISMEMBER(psp->ps_siginfo, sig)) { /* Signal handler installed with SA_SIGINFO. */ |
