diff options
| author | Breno Leitao <leitao@debian.org> | 2026-05-12 14:12:19 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-06-11 21:24:38 +0300 |
| commit | 69092990519b882127be93d5c412a737eb9f2578 (patch) | |
| tree | 7e26ac232fa796fcc7538638ca25d26718882c7a /tools/lib/python/feat | |
| parent | bafa5552d646959e320b6376df884844742395bd (diff) | |
| download | linux-69092990519b882127be93d5c412a737eb9f2578.tar.xz | |
Bluetooth: RFCOMM: convert to getsockopt_iter
Convert RFCOMM 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 *sopt
- Use sopt->optlen for buffer length (input)
- Use copy_to_iter() instead of put_user()/copy_to_user()
- Add linux/uio.h for copy_to_iter()
The sockopt_t parameter is named sopt rather than opt to avoid
collision with the existing local u32 opt used by RFCOMM_LM.
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/lib/python/feat')
0 files changed, 0 insertions, 0 deletions
