linux/net/x25
Breno Leitao 447edcb0e4 x25: convert to getsockopt_iter
Convert X.25 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) and returned size (output)
- Use copy_to_iter() instead of put_user()/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-3-5873111d9c12@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-10 10:11:08 -07:00
..
af_x25.c x25: convert to getsockopt_iter 2026-05-10 10:11:08 -07:00
Kconfig net: x25: remove dead links from Kconfig 2024-03-07 20:24:35 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sysctl_net_x25.c ax.25: x.25: Remove the now superfluous sentinel elements from ctl_table array 2024-05-03 13:29:43 +01:00
x25_dev.c net/x25: Remove unused x25_terminate_link() 2025-07-14 17:19:13 -07:00
x25_facilities.c net: remove SOCK_DEBUG leftovers 2023-12-26 20:31:01 +00:00
x25_forward.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
x25_in.c net/x25: Fix overflow when accumulating packets 2026-04-02 13:36:08 +02:00
x25_link.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
x25_out.c net: remove SOCK_DEBUG leftovers 2023-12-26 20:31:01 +00:00
x25_proc.c treewide: change inode->i_ino from unsigned long to u64 2026-03-06 14:31:28 +01:00
x25_route.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
x25_subr.c net/x25: Fix overflow when accumulating packets 2026-04-02 13:36:08 +02:00
x25_timer.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00