diff options
| author | Breno Leitao <leitao@debian.org> | 2026-05-12 14:12:21 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-06-11 21:24:39 +0300 |
| commit | 255f8d39aa71240922f8264d9158b7f68c7528bc (patch) | |
| tree | 838987eaab347adb3177605d71921a6c4713d6d5 /tools/lib/python/feat | |
| parent | bf01627cc04b70c04a6d68eda06f836fed3078bc (diff) | |
| download | linux-255f8d39aa71240922f8264d9158b7f68c7528bc.tar.xz | |
Bluetooth: SCO: convert to getsockopt_iter
Convert SCO 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()
- Drop the open-coded ptr cursor in BT_CODEC; iter_out advances on
every copy_to_iter() naturally
- Add linux/uio.h for copy_to_iter()
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
