From: Todd C. Miller Subject: Re: const inpcb To: Alexander Bluhm Cc: tech@openbsd.org Date: Tue, 09 Jan 2024 08:09:48 -0700 On Tue, 09 Jan 2024 16:05:42 +0100, Alexander Bluhm wrote: > On Fri, Jan 05, 2024 at 06:47:27PM +0100, Alexander Bluhm wrote: > > Hi, > > > > Having const struct inpcb * makes argueing about socket lock easier. > > We know where read-only access is. I have already converted most > > of them, these functions were missed. > > > > ok? > > Anyone? This makes it easier to reason about what can and can't change inp. OK millert@ - todd