mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linuxolator: fix nosys() to not send SIGSYS
(cherry picked from commit 7acc4240ce00af540093b47ad00be0508310b515)
This commit is contained in:
parent
3911b00c0a
commit
9a077205ca
2 changed files with 2 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ linux_fetch_syscall_args(struct thread *td)
|
|||
|
||||
if (sa->code >= p->p_sysent->sv_size)
|
||||
/* nosys */
|
||||
sa->callp = &p->p_sysent->sv_table[p->p_sysent->sv_size - 1];
|
||||
sa->callp = &nosys_sysent;
|
||||
else
|
||||
sa->callp = &p->p_sysent->sv_table[sa->code];
|
||||
|
||||
|
|
|
|||
|
|
@ -531,7 +531,7 @@ linux32_fetch_syscall_args(struct thread *td)
|
|||
|
||||
if (sa->code >= p->p_sysent->sv_size)
|
||||
/* nosys */
|
||||
sa->callp = &p->p_sysent->sv_table[p->p_sysent->sv_size - 1];
|
||||
sa->callp = &nosys_sysent;
|
||||
else
|
||||
sa->callp = &p->p_sysent->sv_table[sa->code];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue