git: b54dadc226a9 - stable/13 - linux(4): Change prctl syscall definition to match Linux actual one.

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 19:40:11 UTC
The branch stable/13 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=b54dadc226a9776600090ad153f802e77d0b7fc3

commit b54dadc226a9776600090ad153f802e77d0b7fc3
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-05-09 18:09:39 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
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 {