diff options
| author | Breno Leitao <leitao@debian.org> | 2026-05-12 14:12:17 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-06-11 21:24:38 +0300 |
| commit | ad6cde306654504209f5602b00d6ceac681e29f2 (patch) | |
| tree | 2367afce6b7e667e6e6aa53a5654ae7a9578df62 /tools/lib/python/feat | |
| parent | 79cf74d870603939183760888ea1cf0ff787d6b1 (diff) | |
| download | linux-ad6cde306654504209f5602b00d6ceac681e29f2.tar.xz | |
Bluetooth: hci_sock: convert to getsockopt_iter
Convert HCI 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 int opt used by HCI_DATA_DIR and
HCI_TIME_STAMP.
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
