mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): Drop the outdated comments about sixth register on i386 int0x80
This is well documented in the Linux syscall(2). MFC after: 1 week (cherry picked from commit 5bdd74cc05e6c7d110688feacdbd22b6dffe5d72)
This commit is contained in:
parent
c8ca21cc94
commit
c9ec2fb86c
2 changed files with 2 additions and 2 deletions
|
|
@ -525,7 +525,7 @@ linux32_fetch_syscall_args(struct thread *td)
|
|||
sa->args[2] = frame->tf_rdx;
|
||||
sa->args[3] = frame->tf_rsi;
|
||||
sa->args[4] = frame->tf_rdi;
|
||||
sa->args[5] = frame->tf_rbp; /* Unconfirmed */
|
||||
sa->args[5] = frame->tf_rbp;
|
||||
sa->code = frame->tf_rax;
|
||||
sa->original_code = sa->code;
|
||||
|
||||
|
|
|
|||
|
|
@ -518,7 +518,7 @@ linux_fetch_syscall_args(struct thread *td)
|
|||
sa->args[2] = frame->tf_edx;
|
||||
sa->args[3] = frame->tf_esi;
|
||||
sa->args[4] = frame->tf_edi;
|
||||
sa->args[5] = frame->tf_ebp; /* Unconfirmed */
|
||||
sa->args[5] = frame->tf_ebp;
|
||||
|
||||
if (sa->code >= p->p_sysent->sv_size)
|
||||
/* nosys */
|
||||
|
|
|
|||
Loading…
Reference in a new issue