From nobody Tue Aug 20 14:05:31 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 4WpB7c1J8tz5TBrq; Tue, 20 Aug 2024 14:05:32 +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 4WpB7c0fpLz4gRy; Tue, 20 Aug 2024 14:05:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724162732; 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=IbvOAHjAae/r/ST9wC3l1E1PoAF7SExiZBLKt1dKliw=; b=k5kEme7YJM7CKL4Z9db14gDVizg1d56emmcJt/VsZrkSl4GjVMOClkZTagwxQ0UXZ5jZO9 B95NGcuerr3eUJ99HSHEth+Ri8TjCtui4nBtLdbGAB3rhpbM4x6WFBLp6qIbkKi3+y5g2r oPrDXIxGrP5KGMYct4pYs7Qo2MFe6vBdcvQonogxvKmRcfGIfmWQUaeaBVLLxldrma2c+Q RAhDYli++kGtC4hOaNy+eoq0xf1XrZ9lWIxnB0qEMD+aDXDMT/NdjCJA3zQ5zmEPq464iQ YOsaRWRssGFSO48RyHf6wI3YuZZ397EuDycwtYDNi916uO0OtobrGzarFg4ysg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724162732; a=rsa-sha256; cv=none; b=rN5RQqV85luBjI/3SM4DZjpItJ9ELoxkMkaOUu/teQPSr24+GB+QG0RzmwpH5yvxHOe5nw zyuSpn9rdvr+Ky0iWC8JAC4Sc5H5Wasj/Bqe0Cdy+ck/w5NJ9T6NFkl+IN0wrTaB1E4YVX UEtdlROD7lxk8ZW9U+QcOQCiQtETm3UPNCCQlnhYuoQKOO+/5cCNyvb1BKVpitXo3VHcf1 fuE65hX5vB1XpzSJQc/H1puwy25pE3Rxy1Sj5hsG0aKh1SugnUcMdiuTh9MEqMmO4NMrnk 53AzmNHYh24+MZsjrupWwLqvELg2IEfc2vNte6G8ET5RNXfV4lPlpwUDpWoASQ== 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=1724162732; 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=IbvOAHjAae/r/ST9wC3l1E1PoAF7SExiZBLKt1dKliw=; b=DY+8gg7S86EYH03Ou+AGQXkXge+CDWtcF+HFz9XtpadOXaV8b2cWRoDfb0mCcaoE/6gBM8 Atz+eMXuR0T90/rMkep1omjhU8ZDbPq/ElCnF4VqwS4Udjcqnyj2qGxU48C/FRx+gQ8XmI C+s+6XSddkoedPLK7ryEuTQM2vKs8iWCl7q+WV646ztvOQMq9mCb4sqdf4Fuipw6nKdzJf O3OkJ6UkxrUwFBIYDXLgL2+NQaqbXfS8qejTQ6/JtdswcqsxN2k8FWHJ0BrENCw5wXg2zA DnyxXoU6i/KzotqLH+/rmblNAiqtaMtixJlHd+3bQvRj0tUEHwU43mKY4UPyHg== 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 4WpB7c0Fvlz13Ms; Tue, 20 Aug 2024 14:05:32 +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 47KE5V53091146; Tue, 20 Aug 2024 14:05:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47KE5VK2091141; Tue, 20 Aug 2024 14:05:31 GMT (envelope-from git) Date: Tue, 20 Aug 2024 14:05:31 GMT Message-Id: <202408201405.47KE5VK2091141@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 63398f340041 - stable/14 - socket: Make the sopt_rights field a pointer to const 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 63398f340041fe630e56f9daccd62920adc85796 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=63398f340041fe630e56f9daccd62920adc85796 commit 63398f340041fe630e56f9daccd62920adc85796 Author: Mark Johnston AuthorDate: 2024-07-11 17:24:35 +0000 Commit: Mark Johnston CommitDate: 2024-08-20 13:22:56 +0000 socket: Make the sopt_rights field a pointer to const No functional change intended. MFC after: 1 week Sponsored by: Klara, Inc. Sponsored by: Stormshield (cherry picked from commit 07f2ed5ce88293b5008a27d1868f47eb8cbd25e2) --- sys/sys/sockopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/sockopt.h b/sys/sys/sockopt.h index b139062cf492..02312eed5439 100644 --- a/sys/sys/sockopt.h +++ b/sys/sys/sockopt.h @@ -53,7 +53,7 @@ struct sockopt { int sopt_name; /* third arg of [gs]etsockopt */ void *sopt_val; /* fourth arg of [gs]etsockopt */ size_t sopt_valsize; /* (almost) fifth arg of [gs]etsockopt */ - struct cap_rights *sopt_rights; /* Capsicum rights attached to the fd */ + const struct cap_rights *sopt_rights; /* Capsicum rights for the fd */ struct thread *sopt_td; /* calling thread or null if kernel */ };