Date: Mon, 12 Aug 2024 23:05:30 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 07f2ed5ce882 - main - socket: Make the sopt_rights field a pointer to const Message-ID: <202408122305.47CN5UWk072085@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=07f2ed5ce88293b5008a27d1868f47eb8cbd25e2 commit 07f2ed5ce88293b5008a27d1868f47eb8cbd25e2 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-07-11 17:24:35 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-08-12 22:53:26 +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 --- 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 6cc8875a2665..bfe12d8510d7 100644 --- a/sys/sys/sockopt.h +++ b/sys/sys/sockopt.h @@ -51,7 +51,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 */ };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408122305.47CN5UWk072085>