git: 5bdd74cc05e6 - main - linux(4): Drop the outdated comments about sixth register on i386 int0x80
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Oct 2023 09:33:59 UTC
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=5bdd74cc05e6c7d110688feacdbd22b6dffe5d72
commit 5bdd74cc05e6c7d110688feacdbd22b6dffe5d72
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-10-10 09:33:22 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-10-10 09:33:22 +0000
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
---
sys/amd64/linux32/linux32_sysvec.c | 2 +-
sys/i386/linux/linux_sysvec.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
index 7104cc50735e..1002648c3df8 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -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;
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index a3d445951cce..8990b9b806ca 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -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 */