From nobody Fri Jun 17 19:37:59 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 11EF885AE3B; Fri, 17 Jun 2022 19:38:02 +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 4LPq882hF1z3Q1R; Fri, 17 Jun 2022 19:38:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494681; 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=Y/ift/16rUTBb5I2yF+NpHLGXbQCQoCHhKJ2kKpD0TY=; b=cEoLidKg7sTAhRf0uvzg6r7hjYqA/iYPwctunOfb6sImGZTOW1zhP1eUjvy5z4qDzzRF5Q W2MtStG39KxGSbstXn1oDvk14U+cC3B4XiOO2n2Ydn+WF2pUh747NsvDVQF50y3ekekDYD LzxyTXTku0kL91/joklJ8x0jzOLxchQcFuBCpHNWglvtBRYPkyjag8HFbMVz2xa7xiWj5/ Y+zJmATSA9L+3/Fb5XxoOykQcgQMhO7U0X/IDN2zT1ldDHV2i46yQhsHuqUk7MYqHLMTub 67s2zlOMDQrOVMUG++yGADb28+fWYRplqRXoTKoL7xJPwk4XFb08uE2+upz5VQ== 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 F1D6F25678; Fri, 17 Jun 2022 19:37:59 +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 25HJbxac014092; Fri, 17 Jun 2022 19:37:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJbxUD014091; Fri, 17 Jun 2022 19:37:59 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:37:59 GMT Message-Id: <202206171937.25HJbxUD014091@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: 94ac0dac7f93 - stable/13 - linux(4): Regen for clone syscall. 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: 94ac0dac7f93773b32621378a3c1c95e4ff0eacf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494681; 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=Y/ift/16rUTBb5I2yF+NpHLGXbQCQoCHhKJ2kKpD0TY=; b=hgMg6G8r7RkxD2X0dneegF6+2ufr8w0/Op1D7tfr/+LQrdszwqCKf52YJ7Slyx+gEHQ6e5 3LHN69zxgf7qw3GTPMbhIAvT1wjA+vPua6iDRb7ue8xgq5exMPbNaDmViC8e2MiekV0mRM bQ0PXHs6uM21uCu8Rr6c+I/9K4Ts6goIbuohYnmqzztSW5P17u51ygEwgYpxgzPQqM+P0x eE8KHXP4xE7t+7c3CrQTQ2gjD2w/rvKoUmdSkcgFfGEvcvrvoBszy+9pdbj8DrOPA7pvi9 zwCRqHH6vgblYuhBGbVH8Gy5KTkXIQ0nlohHfHRH8ftoGVMcHtglcgK1TpKQCQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494681; a=rsa-sha256; cv=none; b=tesDP54wElZH+eAPXPS/hgW32F5kUu0jQtpUEOifFczIsroWta3m0mUch6qLZISTPECRCc SIa7fdzgFeXFgXJHY5kVBxifoLSetVQOQ+bq82jBjWNwG78NYMkFrdnzqfUv4K9sa6Y9xD QBYPgkV4zqaNWgqTc65UQqB0NdCdGGdDGt6FYccHSmbJ5KOBVQw2owxXW50Fo+GAyC63eF 3XKkqzGeLZiIyD4mjMQA0tJfD9wi42cymVwqyXyTszhUDHvz456NDToVLoCRHEycaYx9i4 dtXd1ACbcOvfJ2M2j8ti8skdigRvxRri3kqG6CaHiVl1UwDCKmIamLQsH0BXUw== 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=94ac0dac7f93773b32621378a3c1c95e4ff0eacf commit 94ac0dac7f93773b32621378a3c1c95e4ff0eacf Author: Dmitry Chagin AuthorDate: 2021-08-12 08:47:31 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:33:29 +0000 linux(4): Regen for clone syscall. MFC after: 2 weeks (cherry picked from commit 0c08f34f4ddff9847bd57f262270687ea1220a6a) --- sys/amd64/linux/linux_proto.h | 8 ++++---- sys/amd64/linux/linux_systrace_args.c | 16 ++++++++-------- sys/amd64/linux32/linux32_proto.h | 10 +++++----- sys/amd64/linux32/linux32_systrace_args.c | 20 ++++++++++---------- sys/arm/linux/linux_proto.h | 10 +++++----- sys/arm/linux/linux_systrace_args.c | 20 ++++++++++---------- sys/arm64/linux/linux_proto.h | 8 ++++---- sys/arm64/linux/linux_systrace_args.c | 16 ++++++++-------- sys/i386/linux/linux_proto.h | 10 +++++----- sys/i386/linux/linux_systrace_args.c | 20 ++++++++++---------- 10 files changed, 69 insertions(+), 69 deletions(-) diff --git a/sys/amd64/linux/linux_proto.h b/sys/amd64/linux/linux_proto.h index 10f460cc0f7b..5ebf28723c64 100644 --- a/sys/amd64/linux/linux_proto.h +++ b/sys/amd64/linux/linux_proto.h @@ -275,10 +275,10 @@ struct linux_getsockopt_args { }; struct linux_clone_args { char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)]; - char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)]; - char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)]; - char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)]; - char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)]; + char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)]; + char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)]; + char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)]; + char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)]; }; struct linux_fork_args { register_t dummy; diff --git a/sys/amd64/linux/linux_systrace_args.c b/sys/amd64/linux/linux_systrace_args.c index ba0776542a29..3101b8672ce2 100644 --- a/sys/amd64/linux/linux_systrace_args.c +++ b/sys/amd64/linux/linux_systrace_args.c @@ -509,10 +509,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 56: { struct linux_clone_args *p = params; iarg[0] = p->flags; /* l_ulong */ - uarg[1] = (intptr_t)p->stack; /* void * */ - uarg[2] = (intptr_t)p->parent_tidptr; /* void * */ - uarg[3] = (intptr_t)p->child_tidptr; /* void * */ - uarg[4] = (intptr_t)p->tls; /* void * */ + iarg[1] = p->stack; /* l_ulong */ + uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */ + uarg[3] = (intptr_t)p->child_tidptr; /* l_int * */ + iarg[4] = p->tls; /* l_ulong */ *n_args = 5; break; } @@ -3598,16 +3598,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) p = "l_ulong"; break; case 1: - p = "userland void *"; + p = "l_ulong"; break; case 2: - p = "userland void *"; + p = "userland l_int *"; break; case 3: - p = "userland void *"; + p = "userland l_int *"; break; case 4: - p = "userland void *"; + p = "l_ulong"; break; default: break; diff --git a/sys/amd64/linux32/linux32_proto.h b/sys/amd64/linux32/linux32_proto.h index 49adaaacc876..07e673a862ad 100644 --- a/sys/amd64/linux32/linux32_proto.h +++ b/sys/amd64/linux32/linux32_proto.h @@ -377,11 +377,11 @@ struct linux_sigreturn_args { char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)]; }; struct linux_clone_args { - char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)]; - char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)]; - char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)]; - char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)]; - char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)]; + char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)]; + char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)]; + char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)]; + char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)]; + char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)]; }; struct linux_setdomainname_args { char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)]; diff --git a/sys/amd64/linux32/linux32_systrace_args.c b/sys/amd64/linux32/linux32_systrace_args.c index a1186b6a29d7..79605a335aaf 100644 --- a/sys/amd64/linux32/linux32_systrace_args.c +++ b/sys/amd64/linux32/linux32_systrace_args.c @@ -808,11 +808,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_clone */ case 120: { struct linux_clone_args *p = params; - iarg[0] = p->flags; /* l_int */ - uarg[1] = (intptr_t)p->stack; /* void * */ - uarg[2] = (intptr_t)p->parent_tidptr; /* void * */ - uarg[3] = (intptr_t)p->tls; /* void * */ - uarg[4] = (intptr_t)p->child_tidptr; /* void * */ + iarg[0] = p->flags; /* l_ulong */ + iarg[1] = p->stack; /* l_ulong */ + uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */ + iarg[3] = p->tls; /* l_ulong */ + uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */ *n_args = 5; break; } @@ -4431,19 +4431,19 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) case 120: switch (ndx) { case 0: - p = "l_int"; + p = "l_ulong"; break; case 1: - p = "userland void *"; + p = "l_ulong"; break; case 2: - p = "userland void *"; + p = "userland l_int *"; break; case 3: - p = "userland void *"; + p = "l_ulong"; break; case 4: - p = "userland void *"; + p = "userland l_int *"; break; default: break; diff --git a/sys/arm/linux/linux_proto.h b/sys/arm/linux/linux_proto.h index 131fa227e8f8..07245d6db4f3 100644 --- a/sys/arm/linux/linux_proto.h +++ b/sys/arm/linux/linux_proto.h @@ -292,11 +292,11 @@ struct linux_sigreturn_args { char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)]; }; struct linux_clone_args { - char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)]; - char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)]; - char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)]; - char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)]; - char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)]; + char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)]; + char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)]; + char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)]; + char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)]; + char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)]; }; struct linux_setdomainname_args { char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)]; diff --git a/sys/arm/linux/linux_systrace_args.c b/sys/arm/linux/linux_systrace_args.c index f35bb0c6b906..16591890ea9a 100644 --- a/sys/arm/linux/linux_systrace_args.c +++ b/sys/arm/linux/linux_systrace_args.c @@ -651,11 +651,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_clone */ case 120: { struct linux_clone_args *p = params; - iarg[0] = p->flags; /* l_int */ - uarg[1] = (intptr_t)p->stack; /* void * */ - uarg[2] = (intptr_t)p->parent_tidptr; /* void * */ - uarg[3] = (intptr_t)p->tls; /* void * */ - uarg[4] = (intptr_t)p->child_tidptr; /* void * */ + iarg[0] = p->flags; /* l_ulong */ + iarg[1] = p->stack; /* l_ulong */ + uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */ + iarg[3] = p->tls; /* l_ulong */ + uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */ *n_args = 5; break; } @@ -3477,19 +3477,19 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) case 120: switch (ndx) { case 0: - p = "l_int"; + p = "l_ulong"; break; case 1: - p = "userland void *"; + p = "l_ulong"; break; case 2: - p = "userland void *"; + p = "userland l_int *"; break; case 3: - p = "userland void *"; + p = "l_ulong"; break; case 4: - p = "userland void *"; + p = "userland l_int *"; break; default: break; diff --git a/sys/arm64/linux/linux_proto.h b/sys/arm64/linux/linux_proto.h index 37296827d312..83237b046f85 100644 --- a/sys/arm64/linux/linux_proto.h +++ b/sys/arm64/linux/linux_proto.h @@ -861,10 +861,10 @@ struct linux_keyctl_args { }; struct linux_clone_args { char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)]; - char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)]; - char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)]; - char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)]; - char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)]; + char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)]; + char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)]; + char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)]; + char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)]; }; struct linux_execve_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; diff --git a/sys/arm64/linux/linux_systrace_args.c b/sys/arm64/linux/linux_systrace_args.c index f3838d2c52f9..6c0eeb5ae0f4 100644 --- a/sys/arm64/linux/linux_systrace_args.c +++ b/sys/arm64/linux/linux_systrace_args.c @@ -1746,10 +1746,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 220: { struct linux_clone_args *p = params; iarg[0] = p->flags; /* l_ulong */ - uarg[1] = (intptr_t)p->stack; /* void * */ - uarg[2] = (intptr_t)p->parent_tidptr; /* void * */ - uarg[3] = (intptr_t)p->tls; /* void * */ - uarg[4] = (intptr_t)p->child_tidptr; /* void * */ + iarg[1] = p->stack; /* l_ulong */ + uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */ + iarg[3] = p->tls; /* l_ulong */ + uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */ *n_args = 5; break; } @@ -5222,16 +5222,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) p = "l_ulong"; break; case 1: - p = "userland void *"; + p = "l_ulong"; break; case 2: - p = "userland void *"; + p = "userland l_int *"; break; case 3: - p = "userland void *"; + p = "l_ulong"; break; case 4: - p = "userland void *"; + p = "userland l_int *"; break; default: break; diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index cdda5da13870..24b912757e61 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.h @@ -380,11 +380,11 @@ struct linux_sigreturn_args { char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)]; }; struct linux_clone_args { - char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)]; - char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)]; - char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)]; - char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)]; - char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)]; + char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)]; + char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)]; + char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)]; + char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)]; + char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)]; }; struct linux_setdomainname_args { char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)]; diff --git a/sys/i386/linux/linux_systrace_args.c b/sys/i386/linux/linux_systrace_args.c index 4e8d180751a3..0752304d5872 100644 --- a/sys/i386/linux/linux_systrace_args.c +++ b/sys/i386/linux/linux_systrace_args.c @@ -837,11 +837,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_clone */ case 120: { struct linux_clone_args *p = params; - iarg[0] = p->flags; /* l_int */ - uarg[1] = (intptr_t)p->stack; /* void * */ - uarg[2] = (intptr_t)p->parent_tidptr; /* void * */ - uarg[3] = (intptr_t)p->tls; /* void * */ - uarg[4] = (intptr_t)p->child_tidptr; /* void * */ + iarg[0] = p->flags; /* l_ulong */ + iarg[1] = p->stack; /* l_ulong */ + uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */ + iarg[3] = p->tls; /* l_ulong */ + uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */ *n_args = 5; break; } @@ -4512,19 +4512,19 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) case 120: switch (ndx) { case 0: - p = "l_int"; + p = "l_ulong"; break; case 1: - p = "userland void *"; + p = "l_ulong"; break; case 2: - p = "userland void *"; + p = "userland l_int *"; break; case 3: - p = "userland void *"; + p = "l_ulong"; break; case 4: - p = "userland void *"; + p = "userland l_int *"; break; default: break;