From nobody Fri Jun 17 19:40:11 2022 X-Original-To: dev-commits-src-all@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 5544485CC00; Fri, 17 Jun 2022 19:40:13 +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 4LPqBh5QH1z3hHD; Fri, 17 Jun 2022 19:40:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494813; 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=ohWRraq0fxXCAOpK9I1AGBLHUVzi61TUIL1UK0LsNPg=; b=U/bP7l8c1IfkeQADTp31yPHeEKPugyO16LACn2HM7xEfQvUpZdgKrtW0Wl59F1W3XDMlwk Uun9qKvuJ7CAwVn5Z3VzzEYZLoty0Hw5Wt4d9R5pqKb0kKs7PtIN9nlqza47T7cSzH7RFo oI04UDp0vCdjtHH099lpbLRB78kBGHQ0xpH5XGqxLyt2rBum2DgEMtZh6+psbp2i+M0F/t QsG9RuBKHn/xQm/LiYjwVMNM//6IA+3RFnzW3ASYqOWeqiKK+jbiMxXS3id81lmbdVwubl lvIXJbQJ8UYKuuD1XlPWBXjbVdIwTvoPU32YoWF7BQaQ/Q/Lc/lOQX0TxdsHeQ== 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 7951525D98; Fri, 17 Jun 2022 19:40:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25HJeBO5020616; Fri, 17 Jun 2022 19:40:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJeBSm020613; Fri, 17 Jun 2022 19:40:11 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:40:11 GMT Message-Id: <202206171940.25HJeBSm020613@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: b54dadc226a9 - stable/13 - linux(4): Change prctl syscall definition to match Linux actual one. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: b54dadc226a9776600090ad153f802e77d0b7fc3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494813; 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=ohWRraq0fxXCAOpK9I1AGBLHUVzi61TUIL1UK0LsNPg=; b=GUphX5xT4giZhD5SOpYXINDWvXKbShwXNLmZUkY7kySw8DRr9WXpoeHupsyqhr90/vUceR VvEP2j+WEKP+W/P1qWs3VZ0rOGyENj9G/iqFAHDDt91TiRa8TwsnyG64+drxtia6zZ9fmi PNqnQ59pxup1572loumPndQ5GYNzji+B3RL/3q+zsXc9D3uAhjJ/QxDUthxYTozF4Q3E9h lji4Pj5qGGzmv+zW5YN5jrS9UYb4wnfu9CzBTI3ShRJtoCzkA1b2qU3/PEhDUzPME0Qmqd z1gOZz/lCgXJhxe9Cth2jorB3CA+3n+vmJQ1aKD0tHdfFmztDr9YJqLroiX2Rg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494813; a=rsa-sha256; cv=none; b=reDa/tnp6aA9bIG0DbHBe3m3QO+XoG96ad3rrAoyR56rJCu1Ou8gYDIKe9uPFvz3NN+C0c uIKIik4i9eZNY+lZUaW1HHUhuKrXJNTLilQgqrZegITflZotJY4py9+Qw3Hg+MiCs5S61m A49eZ0zauLznAyjY1sa3UitRwiJQM6MImMUu7TrW95MGN/zPrt4czQKlr/LbOUfRPppndr v8tUzKjxDtkozYCaovGI/KCasE5a0fDUQ9Hi1pP1j5mPKsIAE5SD6Rh21+jK6VKVJKRQOP zTv9AjrICUXxvW07A5KohGyQXxeMuaC/4IfmUMRYMkUZGMe9RYFS9sZ3mnrfSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=b54dadc226a9776600090ad153f802e77d0b7fc3 commit b54dadc226a9776600090ad153f802e77d0b7fc3 Author: Dmitry Chagin AuthorDate: 2022-05-09 18:09:39 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:35:01 +0000 linux(4): Change prctl syscall definition to match Linux actual one. Otherwise argX conversion leads to an unexpected behaviour. MFC after: 2 weeks (cherry picked from commit 039e98e60cb193fb0f8a86f23a26c049c46c27bd) --- sys/amd64/linux32/syscalls.master | 8 ++++---- sys/i386/linux/syscalls.master | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master index 01e806433672..3d34610e2dcb 100644 --- a/sys/amd64/linux32/syscalls.master +++ b/sys/amd64/linux32/syscalls.master @@ -912,10 +912,10 @@ 172 AUE_PRCTL STD { int linux_prctl( l_int option, - l_int arg2, - l_int arg3, - l_int arg4, - l_int arg5 + l_uintptr_t arg2, + l_ulntptr_t arg3, + l_uintptr_t arg4, + l_uintptr_t arg5 ); } 173 AUE_NULL STD { diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index 601252054670..8a47f70acaf5 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -937,10 +937,10 @@ 172 AUE_PRCTL STD { int linux_prctl( l_int option, - l_int arg2, - l_int arg3, - l_int arg4, - l_int arg5 + l_uintptr_t arg2, + l_ulntptr_t arg3, + l_uintptr_t arg4, + l_uintptr_t arg5 ); } 173 AUE_NULL STD {