From nobody Sat Aug 03 15:02:56 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 4WbmCj0QCfz5SZ60; Sat, 03 Aug 2024 15:02:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WbmCh5B8Pz4N6b; Sat, 3 Aug 2024 15:02:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722697376; 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=VPaq4pk6rRFxGe+WObm0S908i2Y3AZuYeoKkukw5VLI=; b=IIXgl5rtf/TaKxmq7tnqAoZ2Zc/kXJFm7VxuDLnMWTYdebzC/MQH8GxW+JkdANiA9PNzct WNKoEE1+oHU0yT7P5WqjY6mlr0s/I98oQkC05jmtAq7iqrbkPcEqauRGqZ7aEsgvJsD03c I7bkwQoYix7UitiZuyLQSbjnHKn8OkHMiE1pnF5LMjTDQqCq266AWXzFD/0eFGJjWqiEDY Rb65kRxNYWncIPyQ5ijjYIry0OKSuetCymecjMfoKz1tnRDzLsqnggLqbN1WIkQEC0CZ9z y7YFSkHEfwGM7gKeM9qTtPEzGNUH0Q7G6gD4zmOYZ0Q55EeHQ7pI43z/U1w8zA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722697376; a=rsa-sha256; cv=none; b=PLoIp8auOMvtUr0MP1nWJNylcO3xkd5PzeJkwCePahTp0yPPXKdS+1lPtZH6Eizn8MIQB8 vTDtIXx4xFZNh0ieR0t5YHUFSZ85Fw+sDUrPPcIcL3x2rwTvGtzCN+6cADsDy8y+sNpy6V x3C/k6EmiINKxfY5oxezy72MoIU2xGPf7FujEoiyWAmEI6S7bVVqqFpbYF98b+z8BIttjv WFRXSgS5aSr3gRjG+iJWQwNfbB/5HRWJ+SVH+8TFM8BE76ExsUUD6gYSN7O4BN2YNP6Tem k4ERZ9Mpv2x4womXwqM1OHUJsziT41uwFxXjZE55xvpLDquz2O8iHSsuJTMCUg== 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=1722697376; 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=VPaq4pk6rRFxGe+WObm0S908i2Y3AZuYeoKkukw5VLI=; b=hOr21WMKYbQ6wxysEL31/sz06Afsa15q+n/ZiuBccJL95M5wlJstKZ54/zNu0oTqmSOpXB LLdHYTxv2yC+iL36nNzdstQqk9CbjcliTEFRzwYRGOMP1Pg4KTSZ6KPOdgMGp6rllqdS8U ati1q63qD1WM7ZLr43DBwaMkXVo88BRPCDBqajcinP+zoMSYx9mMWsf6C3ih9kxUpKHUEo OVP90hsVVOVfyWqT1pssZwntleY1qgYAJd4xs90+tUaPJ40iI7DUfAhj/1gPKnomgisSl0 Ag+w/6OISCeGTtIUIbXmb9N1nl/E6VXS8y8GZhmdAOCvPXGaz3jofaeUMqIL6Q== 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 4WbmCh4TFDzH9h; Sat, 3 Aug 2024 15:02:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 473F2uI6072706; Sat, 3 Aug 2024 15:02:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 473F2uVN072703; Sat, 3 Aug 2024 15:02:56 GMT (envelope-from git) Date: Sat, 3 Aug 2024 15:02:56 GMT Message-Id: <202408031502.473F2uVN072703@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 102b4e33acef - main - imgact_elf: Rewrap function declaration 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 102b4e33acef74da5b1e5aee43a324fd395342c8 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=102b4e33acef74da5b1e5aee43a324fd395342c8 commit 102b4e33acef74da5b1e5aee43a324fd395342c8 Author: John Baldwin AuthorDate: 2024-08-03 15:01:10 +0000 Commit: John Baldwin CommitDate: 2024-08-03 15:01:10 +0000 imgact_elf: Rewrap function declaration This was a style regression I missed when merging an earlier commit. Fixes: 169641f7dd9f imgact_elf: Add const to a few struct image_params pointers Sponsored by: AFRL, DARPA --- sys/kern/imgact_elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 28ffdd03dd6d..494456ceeeae 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -617,9 +617,9 @@ __elfN(map_insert)(const struct image_params *imgp, vm_map_t map, return (KERN_SUCCESS); } -static int __elfN(load_section)(const struct image_params *imgp, - vm_ooffset_t offset, caddr_t vmaddr, size_t memsz, size_t filsz, - vm_prot_t prot) +static int +__elfN(load_section)(const struct image_params *imgp, vm_ooffset_t offset, + caddr_t vmaddr, size_t memsz, size_t filsz, vm_prot_t prot) { struct sf_buf *sf; size_t map_len;