The branch main has been updated by dchagin:

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

commit 039e98e60cb193fb0f8a86f23a26c049c46c27bd
Author:     Dmitry Chagin <[email protected]>
AuthorDate: 2022-05-09 18:09:39 +0000
Commit:     Dmitry Chagin <[email protected]>
CommitDate: 2022-05-09 18:09:39 +0000

    linux(4): Change prctl syscall definition to match Linux actual one.
    
    Otherwise argX conversion leads to an unexpected behaviour.
    
    MFC after:              2 weeks
---
 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 {

Reply via email to