Thread (21 messages) read the whole thread 21 messages, 3 authors, 2025-10-23

Re: [PATCH v3 1/9] net: Add struct sockaddr_unspec for sockaddr of unknown length

From: Kees Cook <kees@kernel.org>
Date: 2025-10-23 16:33:21
Also in: bpf, linux-hardening, lkml

On Wed, Oct 22, 2025 at 10:26:24AM +0100, David Laight wrote:
If you do add a #define, it can generate the size from that of the
supplied address structure (and error things that are stupidly short).
I have more patches coming that consolidate all the open-coded casting
and size checking into a macro. So far, only a couple places weren't
doing the full checking.

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help