From nobody Tue Oct 10 09:33:59 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S4W1g5jnPz4wSkL; Tue, 10 Oct 2023 09:33:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S4W1g5GSyz3MrT; Tue, 10 Oct 2023 09:33:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696930439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B//UTXxaFNZW7haHrgnH9TapPuxCmV2Q6cbtKh8/VuI=; b=lcfFM7a2vRTsQ7abUabIXD28/663aW9kUsHK8gJPCMJn+N+VsKLD5mIk7+uWUOu+WugVzs xjbHqS++vCYQYZZz2DOY3bUpCpXQwW6OvyYzwqBX6B+hq2B6gdGYXIgVV6xFt5eUuGUON9 PFcc+xHWxN0hfoQjmy1jP3AOOXiRvUkTakYocTY/Bhh2roB+3Oe5V3mAqZ3KpuSWQ0I6Rb UwwFkE3Kl12dqXwH+KhC+SPXP75JyOi/eUdVozB0CXOTyTUXW2eXMkoI0iSioa7GReCIxQ pJsP6LhB7vXOsUsAzj1zy+IzMa5FH98PZI9t9qn9/5eDoKf24LacjxiYQfTrhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696930439; a=rsa-sha256; cv=none; b=IY0n814knjP5JHmqk0yKCQSmGrmfdd5N80ZeD7Ke5q4UfSqIdvkTzXP8SL3g1o5xBpGcCs 2g1LHv7DqsbMQzrDoWfeY3wS8uEESzgxwYTpgj4zn/6vVh/XVqBgh3tkH/LFE/LXiZPlnV OZ7TdzPKxnH4tMq3MevUqjdxWK5UlbE3nkYkfhFU8QYcuGLx2kRylnDIeMMbH4zc5QVuBP Ifd0rNjuVGubNx3oy/FyHAVSDAS0Qn+8SJqp3EgKOTT85S8LmwNvuZDTYxf3P6UmwNW8zj 1vdS3/D1Ea2kmSdO1VEGIVhXobDRKGegbqxMpyMR+fe4YO0PfcmL287X9A6vTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696930439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B//UTXxaFNZW7haHrgnH9TapPuxCmV2Q6cbtKh8/VuI=; b=VjfYRQr82knud3e8wOjw+wgyBBo5w8yt9rRQKQwYVxJS6QRST+slx+Xd5f6if69BSQ7/H4 KL3tiy18/P/yVYufQ8y4Qz4aaO8bw1JzgPLn6M1Pr8Ejxa24py/RdE1CfW6zZ2X0SIZh0B qblLX99Voig03nwZWwXWFIUPkfrqJLdahSzSgbp9WxSzW+RcPRQslqmEOG/JkOrSmZ/Tez PIX9k2HdpdPUGUPU8fmKL5l+2+hh1aGCqKoI9yi9eTu+uRZSRnrYCDXMniimN4IcKoIQQb yvj/r5fP1mCEOrX1evLLtHv1zFOPfk4VwKL+CuzpjJf1RavPh0023EaMD5BjVQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S4W1g41wYzZ0y; Tue, 10 Oct 2023 09:33:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39A9XxmC004201; Tue, 10 Oct 2023 09:33:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39A9XxmH004198; Tue, 10 Oct 2023 09:33:59 GMT (envelope-from git) Date: Tue, 10 Oct 2023 09:33:59 GMT Message-Id: <202310100933.39A9XxmH004198@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 5bdd74cc05e6 - main - linux(4): Drop the outdated comments about sixth register on i386 int0x80 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5bdd74cc05e6c7d110688feacdbd22b6dffe5d72 Auto-Submitted: auto-generated The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=5bdd74cc05e6c7d110688feacdbd22b6dffe5d72 commit 5bdd74cc05e6c7d110688feacdbd22b6dffe5d72 Author: Dmitry Chagin AuthorDate: 2023-10-10 09:33:22 +0000 Commit: Dmitry Chagin 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 */