From nobody Tue Mar 19 23:15:50 2024 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 4Tzndg17Z1z5Fk67; Tue, 19 Mar 2024 23:15:51 +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 4Tzndg0hfhz4JBV; Tue, 19 Mar 2024 23:15:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710890151; 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=9XhNguifRu6W+chxF1E8ZBZSNlrInpb7YzEIEcGDiAQ=; b=AEAjibmrK+TuzWbjYkEv0XffGQaGKhC6+xbi1r4JnluyDGj/YeWMSubNk3aQcIdD8ARtPF e+o0vmfoRpC73XS0hdPV55sIQZsoXWWsUrj4tDLBLSk9vCroa2fI4RKj4lJfzxlJI6vtB7 zs+0QgCRNg/n8zgB/kn7Uyy827C3hU0DFzxCfQqURGY7INhz5sW6AqcKlhn+1tHHFUos6e XtlVcPQqfGXcsIEl1Uosza+cKgF9d0PB438gbzrxPVhoBAi+0vONBR88HHrgzWlchbliy5 pjAx49cllU2GHoehmG8OZwK+9t3PTMb4eY8KmgD7Evnb0ItcxhzSyvWmtswlNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710890151; a=rsa-sha256; cv=none; b=KNgGbnLO0Yb5ukl6ThB+0WcH1a1EemO1PQnj/QrBy28nNRGo/SX+qbd4xuMycGs+bFBaBX KpL+xT9zC/1L5uYtAt6JaFIYpYq6uRqwU3tdfEMXgVOY9cPVjz7RmBNvxpYhQguH2RXJS8 In9N15wMyBAYS5/78ClXpTCdZQpKGlVn/qAnwi4/PqUj48y12d9HDJVwlkIvnGa83Ruo3U ChzlREZBbkyhReNf7xXm+uubN2jxn610cLgwD5r8n7ZBw7orDXk3rxzdxt99fhVRScFl3e kRV4Zp4Vynv3LSNfuM9PCPTqR9Eyv58+BLCxFq9yQiRHt2oqI0r0GdxNqeSi4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710890151; 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=9XhNguifRu6W+chxF1E8ZBZSNlrInpb7YzEIEcGDiAQ=; b=pxJ1o3nRj62Pdu5xZOYYDqclFP6TnaYBsgRyljfPMtbQCP5o6o5ytatAV/upqEQJdJekch pWLjEvSFMAWoZV7UutgWc57ARP8X7pWsfDhT+MAvuWj7goyAdiYC/QuT8Hq0duVZqqnaNZ HxwQ4EIUnC4G+2e1vGSgJ9p2Aj2noDX7Gt/cDCw36kMBK9SuVbvjSxEuXd/rE2UQpr/z0p MTgfBM68MoVSE9cNs6Uh7eOtYtdEuqKtxw9Z55dy6RV2tZ4iEhv+5s4OhWtdLOIhjS31Zq FqP4sKFkNI+ugfzY9gVWCPCNxnYxJYiNT+geqjnw5mDj3qXpDnrVbpE8Y0mtOw== 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 4Tzndg0Jj8zRt0; Tue, 19 Mar 2024 23:15:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42JNFoo5078958; Tue, 19 Mar 2024 23:15:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42JNFo4K078955; Tue, 19 Mar 2024 23:15:50 GMT (envelope-from git) Date: Tue, 19 Mar 2024 23:15:50 GMT Message-Id: <202403192315.42JNFo4K078955@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: 694ef157b9b7 - main - freebsd32: freebsd32_copyinuio takes const iovp 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: 694ef157b9b755b13fb724ef02b7964f59008d8c Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=694ef157b9b755b13fb724ef02b7964f59008d8c commit 694ef157b9b755b13fb724ef02b7964f59008d8c Author: Brooks Davis AuthorDate: 2024-03-19 21:47:55 +0000 Commit: Brooks Davis CommitDate: 2024-03-19 23:13:25 +0000 freebsd32: freebsd32_copyinuio takes const iovp We only read the iovp so make it const like in copyinuio. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44376 --- sys/compat/freebsd32/freebsd32_misc.c | 2 +- sys/compat/freebsd32/freebsd32_util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index facbf00a4c51..d96a85f922f9 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -1191,7 +1191,7 @@ freebsd32_ptrace(struct thread *td, struct freebsd32_ptrace_args *uap) } int -freebsd32_copyinuio(struct iovec32 *iovp, u_int iovcnt, struct uio **uiop) +freebsd32_copyinuio(const struct iovec32 *iovp, u_int iovcnt, struct uio **uiop) { struct iovec32 iov32; struct iovec *iov; diff --git a/sys/compat/freebsd32/freebsd32_util.h b/sys/compat/freebsd32/freebsd32_util.h index c32c7a2ef4c1..dca61da714f0 100644 --- a/sys/compat/freebsd32/freebsd32_util.h +++ b/sys/compat/freebsd32/freebsd32_util.h @@ -114,7 +114,7 @@ int freebsd32_copyout_strings(struct image_params *imgp, uintptr_t *stack_base); int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt, struct iovec **iov, int error); -int freebsd32_copyinuio(struct iovec32 *iovp, u_int iovcnt, +int freebsd32_copyinuio(const struct iovec32 *iovp, u_int iovcnt, struct uio **uiop); void freebsd32_rusage_out(const struct rusage *s, struct rusage32 *s32);