summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-05-01 08:52:52 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-04 19:02:30 -0700
commite21bf72954df20dc5a743afeb061d7c3c8f92b1f (patch)
tree17a42d90d2538bac6ca72afd63abb84e7b986334 /include/linux/debugobjects.h
parent390bf43b7788a5cbe11be68fe56ef0d3ffd4b81f (diff)
vsock: convert to getsockopt_iter
Convert AF_VSOCK's getsockopt implementation to use the new getsockopt_iter callback with sockopt_t. The single vsock_connectible_getsockopt() callback is shared by both vsock_stream_ops and vsock_seqpacket_ops, so both proto_ops are updated to use .getsockopt_iter. Key changes: - Replace (char __user *optval, int __user *optlen) with sockopt_t *opt - Use opt->optlen for buffer length (input) and returned size (output) - Use copy_to_iter() instead of put_user()/copy_to_user() Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Bobby Eshleman <bobbyeshleman@meta.com> Acked-by: Stanislav Fomichev <sdf@fomichev.me> Link: https://patch.msgid.link/20260501-getsock_one-v1-2-810ce23ea70e@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions