thunk, linux-user: Add support for SIOCETHTOOL ioctl
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | thunk: supports flexible arraysinclude/ thunk.c | +174 | 0 replies | |
| 2/2 | linux-user: Add support for SIOCETHTOOL ioctllinux-user/ linux-user/ linux-user/ +7 more | +1719 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] thunk, linux-user: Add support for SIOCETHTOOL ioctl
Hi Riku and Laurent,
These two patches together implements the SIOCETHTOOL ioctl operations. Many of the kernel structures in this operations make use of flexible arrays (array with no size / zero size at the end of the structure), so I extended thunk to handle these fields natively.
This patch set was previously sent out under "[PATCH 0/6] fcntl, sockopt, and ioctl options" and the following revisions, but did not get any feedback.
Shu-Chun Weng (2):
thunk: supports flexible arrays
linux-user: Add support for SIOCETHTOOL ioctl
include/exec/user/thunk.h | 24 + linux-user/ethtool.c | 848 ++++++++++++++++++++++++++++++++++ linux-user/ethtool.h | 20 + linux-user/ethtool_entries.h | 107 +++++ linux-user/ioctls.h | 2 + linux-user/meson.build | 1 + linux-user/qemu.h | 1 + linux-user/syscall.c | 36 +- linux-user/syscall_defs.h | 12 + linux-user/syscall_types.h | 280 +++++++++++ tests/tcg/multiarch/ethtool.c | 423 +++++++++++++++++ thunk.c | 152 +++++- 12 files changed, 1893 insertions(+), 13 deletions(-) create mode 100644 linux-user/ethtool.c create mode 100644 linux-user/ethtool.h create mode 100644 linux-user/ethtool_entries.h create mode 100644 tests/tcg/multiarch/ethtool.c
Signature · 1 line
2.29.2.684.gfbc64c5ab5-goog