summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-05-07 03:57:50 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-10 10:11:07 -0700
commit85f22f66f303678a3e1294f56809c3ef16da52b8 (patch)
treeb94b68a45b113db6c7019fadfcc8adc650966b83 /rust/kernel/alloc/kvec/errors.rs
parent70f764ecca72bd35668b0c17426af4b088f4c88d (diff)
mctp: convert to getsockopt_iter
Convert MCTP socket's getsockopt implementation to use the new getsockopt_iter callback with sockopt_t. Key changes: - Replace (char __user *optval, int __user *optlen) with sockopt_t *opt - Use opt->optlen for buffer length (input) - Use copy_to_iter() instead of copy_to_user() - Add linux/uio.h for copy_to_iter() Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20260507-getsock_two-v2-1-5873111d9c12@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions