From nobody Mon Nov 29 22:05:41 2021 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 56DF318C7E9D; Mon, 29 Nov 2021 22:05:43 +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 4J2zts6L4fz3GY6; Mon, 29 Nov 2021 22:05:41 +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 8B337269C; Mon, 29 Nov 2021 22:05:41 +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 1ATM5fjC075838; Mon, 29 Nov 2021 22:05:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ATM5fRQ075837; Mon, 29 Nov 2021 22:05:41 GMT (envelope-from git) Date: Mon, 29 Nov 2021 22:05:41 GMT Message-Id: <202111292205.1ATM5fRQ075837@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: 0e765d9b08dc - main - syscalls: regen 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0e765d9b08dcc2386b799815f2c835c97a93614c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638223542; 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=5RXNCbvcJc+pHOAvXkHOBxTqCNdTZlvYVdwdYpeWJUg=; b=aq6EeH3ncDYIjElD8PHSXsMDbSJ7EyeCWf3f/CWlRZAQMSKjsug0mziez+m2sOEYP42ziI uhZdmpktjUcDyAQTwq/elT2UDXRiySNqAu6b/xDbh51xC6jEISVN7I+rWwSDrTwEmlRdKL NLzc0z5B9bT+PunP2W7CUoG4xQ6vBdrogXUIQo//cLRRL5pBGPhkAq/KXHGBHSu//vzwE0 5evLJ2Yac7PffQrExu4HndP/17q1FUxir252MasiaBxTM6/vAmp00y4EPfvCUT9nuFiOP9 nTBI2uuvq82ERnsgVEz1bRwwsftF+5cpPhxgFc5st4HU4WEkQLjBm5Y3lH0K6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638223542; a=rsa-sha256; cv=none; b=PNoCO6yMHxs3fanNB8WYUsg9pvjhQV2TgCaq9Wz2HPfOi2WPLzKNuiUEXK0NzdrK6axEdP 6bwjgye411BU4vDGNblZnAQBbPxCUawOV+VkmTgb6GIyReEoj60+lQb9s5rJfa5ne0SSCj l8MEu0zCnCc9kQVjwC41sHpSFmy0kE3bfC6ITqZ5+oan0YueBEcT5dF1rcx+GngEXUnn+y RPFuEq3BrmUsdTW1gGJWZ5wZyDqqofEs4LzHj6/6kg4MOPdFSaxySkYWnLtvTSEZhsoFPC 21yEOgD+HTzWtQTiOfkUO3sqiNSWe77gbhTM7DBcLUg83K5FqXs3CnYPgmxPQw== 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=0e765d9b08dcc2386b799815f2c835c97a93614c commit 0e765d9b08dcc2386b799815f2c835c97a93614c Author: Brooks Davis AuthorDate: 2021-11-29 22:03:00 +0000 Commit: Brooks Davis CommitDate: 2021-11-29 22:04:58 +0000 syscalls: regen --- sys/compat/freebsd32/freebsd32_proto.h | 2 +- sys/compat/freebsd32/freebsd32_systrace_args.c | 4 ++-- sys/kern/systrace_args.c | 4 ++-- sys/sys/sysproto.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h index e7912d2fea0c..ce583e9ac78d 100644 --- a/sys/compat/freebsd32/freebsd32_proto.h +++ b/sys/compat/freebsd32/freebsd32_proto.h @@ -74,7 +74,7 @@ struct freebsd32_execve_args { char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)]; }; struct freebsd32_mprotect_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; + char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; }; diff --git a/sys/compat/freebsd32/freebsd32_systrace_args.c b/sys/compat/freebsd32/freebsd32_systrace_args.c index b5035a3868f6..4d075ca7470e 100644 --- a/sys/compat/freebsd32/freebsd32_systrace_args.c +++ b/sys/compat/freebsd32/freebsd32_systrace_args.c @@ -447,7 +447,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* freebsd32_mprotect */ case 74: { struct freebsd32_mprotect_args *p = params; - uarg[a++] = (intptr_t)p->addr; /* const void * */ + uarg[a++] = (intptr_t)p->addr; /* void * */ uarg[a++] = p->len; /* size_t */ iarg[a++] = p->prot; /* int */ *n_args = 3; @@ -3995,7 +3995,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) case 74: switch (ndx) { case 0: - p = "userland const void *"; + p = "userland void *"; break; case 1: p = "size_t"; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index d39c39050408..cb7b2ee503b9 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -444,7 +444,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* mprotect */ case 74: { struct mprotect_args *p = params; - uarg[a++] = (intptr_t)p->addr; /* const void * */ + uarg[a++] = (intptr_t)p->addr; /* void * */ uarg[a++] = p->len; /* size_t */ iarg[a++] = p->prot; /* int */ *n_args = 3; @@ -4091,7 +4091,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) case 74: switch (ndx) { case 0: - p = "userland const void *"; + p = "userland void *"; break; case 1: p = "size_t"; diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index fc56afba1239..5d8d3321680c 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -266,7 +266,7 @@ struct munmap_args { char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; }; struct mprotect_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; + char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; };