linux-kernelorg-stable/net/netlink
Kees Cook 85cb0757d7 net: Convert proto_ops connect() callbacks to use sockaddr_unsized
Update all struct proto_ops connect() callback function prototypes from
"struct sockaddr *" to "struct sockaddr_unsized *" to avoid lying to the
compiler about object sizes. Calls into struct proto handlers gain casts
that will be removed in the struct proto conversion patch.

No binary changes expected.

Signed-off-by: Kees Cook <kees@kernel.org>
Link: https://patch.msgid.link/20251104002617.2752303-3-kees@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-04 19:10:32 -08:00
..
Kconfig
Makefile
af_netlink.c net: Convert proto_ops connect() callbacks to use sockaddr_unsized 2025-11-04 19:10:32 -08:00
af_netlink.h
diag.c net: lockless sock_i_ino() 2025-09-03 16:08:24 -07:00
genetlink.c genetlink: fix genl_bind() invoking bind() after -EPERM 2025-09-08 17:50:36 -07:00
genetlink.h
policy.c