From nobody Mon Nov 29 22:05:35 2021 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 E65DC18C7C29; Mon, 29 Nov 2021 22:05:37 +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 4J2ztm3X5sz3G64; Mon, 29 Nov 2021 22:05:36 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 BEF2B269A; Mon, 29 Nov 2021 22:05:35 +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 1ATM5ZBD075712; Mon, 29 Nov 2021 22:05:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ATM5ZjV075711; Mon, 29 Nov 2021 22:05:35 GMT (envelope-from git) Date: Mon, 29 Nov 2021 22:05:35 GMT Message-Id: <202111292205.1ATM5ZjV075711@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 5c1835b1d4b5 - main - syscalls: regen 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5c1835b1d4b554235a6904f3a984680baf38edf2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638223537; 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=eyIcfLGyOXCYUBREkdNCKk9MT73VPuP6fFBrDjtsWeI=; b=YS008ZxKvjvpPStmHdFaTeZ11lflIPlmTZVT2YBLHf+cXpJdq1efPalgVz6o9BYQrkH9hL fFQLrE2WgzlfcRQKiCkUY3SP15M+QVTuhJM8IrELW1mYZnXIRl2UgrptqYIS8y9+HqL64D fkRwiXrXZgpLX+rSLdcvSUFgc1XmnaXEyzQEOu1zy4aKz1RX91ZA1ZpATae/us0BZgX6Xn lcoJCO1wEd6j8QcV2w4kZUc8h3D4PfOAUuyxe6qfKI8SLqSZBiWzsmknD6vkSc91F5h5Je LK8L7uWIT5JQrNxwE43K6vHW/qiiA/r2RxywhHNAf0J/VF+w2NXKFz6LBpY1rA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638223537; a=rsa-sha256; cv=none; b=UOE7T2MaatBEUUUck41g6ji4shvIb0NWOD3PuAGu8FSfItAi775vcgeFcaC44UzIOPD1q4 NN92lWROQrRq+EBvVD3S17oOc35cILAvKLC5KLZ2vakDpVf1w0HsEvZ0m2X4UESpt3XeAU j1fEihGua/3X/PkANKYBuKKRkQhJV/kQVNWRb6XP7PmxmiCOTlD1IKAHr6opIEu1dfbi2H hnVjxix21TQ5Rbr9qYBG5skz+8mTh70p0ycYspXfpaJX869xvKsJm2x5Lu0fXeKE1lW9Il TW7p7Iu6fnsFNeZ44lX3OxgY03w9ZMrcgy3wOsqYsiVfiX8XC6l4B/vdMbubGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=5c1835b1d4b554235a6904f3a984680baf38edf2 commit 5c1835b1d4b554235a6904f3a984680baf38edf2 Author: Brooks Davis AuthorDate: 2021-11-29 22:03:00 +0000 Commit: Brooks Davis CommitDate: 2021-11-29 22:04:43 +0000 syscalls: regen --- sys/compat/freebsd32/freebsd32_sysent.c | 2 +- sys/compat/freebsd32/freebsd32_systrace_args.c | 8 ++++---- sys/kern/init_sysent.c | 2 +- sys/kern/systrace_args.c | 8 ++++---- sys/sys/sysproto.h | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c index 7bb6579ea864..29dd2892da05 100644 --- a/sys/compat/freebsd32/freebsd32_sysent.c +++ b/sys/compat/freebsd32/freebsd32_sysent.c @@ -57,7 +57,7 @@ /* The casts are bogus but will do for now. */ struct sysent freebsd32_sysent[] = { { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 0 = syscall */ - { .sy_narg = AS(sys_exit_args), .sy_call = (sy_call_t *)sys_sys_exit, .sy_auevent = AUE_EXIT, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 1 = exit */ + { .sy_narg = AS(exit_args), .sy_call = (sy_call_t *)sys_exit, .sy_auevent = AUE_EXIT, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 1 = exit */ { .sy_narg = 0, .sy_call = (sy_call_t *)sys_fork, .sy_auevent = AUE_FORK, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 2 = fork */ { .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_READ, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 3 = read */ { .sy_narg = AS(write_args), .sy_call = (sy_call_t *)sys_write, .sy_auevent = AUE_WRITE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 4 = write */ diff --git a/sys/compat/freebsd32/freebsd32_systrace_args.c b/sys/compat/freebsd32/freebsd32_systrace_args.c index a76d37727abb..3392bfe99813 100644 --- a/sys/compat/freebsd32/freebsd32_systrace_args.c +++ b/sys/compat/freebsd32/freebsd32_systrace_args.c @@ -20,9 +20,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) *n_args = 0; break; } - /* sys_exit */ + /* exit */ case 1: { - struct sys_exit_args *p = params; + struct exit_args *p = params; iarg[a++] = p->rval; /* int */ *n_args = 1; break; @@ -3333,7 +3333,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) /* nosys */ case 0: break; - /* sys_exit */ + /* exit */ case 1: switch (ndx) { case 0: @@ -8973,7 +8973,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) switch (sysnum) { /* nosys */ case 0: - /* sys_exit */ + /* exit */ case 1: if (ndx == 0 || ndx == 1) p = "void"; diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 0ee450c5d32f..05c15d7b7afc 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -56,7 +56,7 @@ /* The casts are bogus but will do for now. */ struct sysent sysent[] = { { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 0 = syscall */ - { .sy_narg = AS(sys_exit_args), .sy_call = (sy_call_t *)sys_sys_exit, .sy_auevent = AUE_EXIT, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 1 = exit */ + { .sy_narg = AS(exit_args), .sy_call = (sy_call_t *)sys_exit, .sy_auevent = AUE_EXIT, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 1 = exit */ { .sy_narg = 0, .sy_call = (sy_call_t *)sys_fork, .sy_auevent = AUE_FORK, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 2 = fork */ { .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_READ, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 3 = read */ { .sy_narg = AS(write_args), .sy_call = (sy_call_t *)sys_write, .sy_auevent = AUE_WRITE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 4 = write */ diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index 8e9e42de5e86..22f84178cbfc 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -17,9 +17,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) *n_args = 0; break; } - /* sys_exit */ + /* exit */ case 1: { - struct sys_exit_args *p = params; + struct exit_args *p = params; iarg[a++] = p->rval; /* int */ *n_args = 1; break; @@ -3429,7 +3429,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) /* nosys */ case 0: break; - /* sys_exit */ + /* exit */ case 1: switch (ndx) { case 0: @@ -9143,7 +9143,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) switch (sysnum) { /* nosys */ case 0: - /* sys_exit */ + /* exit */ case 1: if (ndx == 0 || ndx == 1) p = "void"; diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index cd8163101a12..96f8abce4e31 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -37,7 +37,7 @@ struct thread; struct nosys_args { register_t dummy; }; -struct sys_exit_args { +struct exit_args { char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)]; }; struct fork_args { @@ -1858,7 +1858,7 @@ struct sched_getcpu_args { register_t dummy; }; int nosys(struct thread *, struct nosys_args *); -void sys_sys_exit(struct thread *, struct sys_exit_args *); +int sys_exit(struct thread *, struct exit_args *); int sys_fork(struct thread *, struct fork_args *); int sys_read(struct thread *, struct read_args *); int sys_write(struct thread *, struct write_args *);