Skip to content

linux-user: fix regression with some ioctls with newest glibc

Daniel P. Berrangé qemu-devel 1 version Applied

Status from this message: Applied to my linux-user-for-7.2 branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4linux-user: add more compat ioctl definitionslinux-user/syscall.c+25 -02 replies
2/4linux-user: remove conditionals for many fs.h ioctlslinux-user/ioctls.h+0 -242 replies
3/4meson: enforce a minimum Linux kernel headers version >= 4.18meson.build+12 -09 replies
4/4linux-user: drop conditionals for obsolete kernel header versionslinux-user/linux_loop.h linux-user/syscall.c tests/tcg/i386/test-i386.c+5 -231 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchLaurent Vivier
1/4R-b
2/4R-b
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] linux-user: fix regression with some ioctls with newest glibc

This fixes a problem where some ioctls lost their definition when we build with latest glibc that prevents use using linux/fs.h It further does some cleanup of conditionals to mitigate against such problems in future.

Daniel P. Berrangé (4):
linux-user: add more compat ioctl definitions
linux-user: remove conditionals for many fs.h ioctls
meson: enforce a minimum Linux kernel headers version >= 4.18
linux-user: drop conditionals for obsolete kernel header versions

 linux-user/ioctls.h        | 24 -----------------------
 linux-user/linux_loop.h    |  4 ----
 linux-user/syscall.c       | 39 ++++++++++++++++++++++++++------------
 meson.build                | 12 ++++++++++++
 tests/tcg/i386/test-i386.c | 10 +++-------
 5 files changed, 42 insertions(+), 47 deletions(-)
Signature · 1 line
2.37.3