mbox series

[v3,0/6] linux-user: Add support for various missing netlink sockopt entries

Message ID 20250119044122.9637-1-deller@kernel.org (mailing list archive)
Headers show
Series linux-user: Add support for various missing netlink sockopt entries | expand

Message

Helge Deller Jan. 19, 2025, 4:41 a.m. UTC
From: Helge Deller <deller@gmx.de>

This patchset adds various missing sockopt calls, so that qemu linux-user
is able to successfully build the debian gupnp package in a chroot.

Tested with a 32-bit big-endian hppa linux-user chroot running on a phyiscal
x86-64 little-endian host.

This fixes debian's bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1044651

Signed-off-by: Helge Deller <deller@gmx.de>

Please review patches #3, #4 and #5.

Changes in v3:
- Updated patches #3, #4 and #5 based on suggestions from
  Laurent Vivier

Changes in v2:
- Moved IFA_PROTO in patch 1 as suggested by Laurent Vivier
- Added Reviewed-by from Philippe Mathieu-Daudé and Laurent Vivier
  in patch 2

Helge Deller (6):
  linux-user: netlink: Add missing IFA_PROTO to
    host_to_target_data_addr_rtattr()
  linux-user: Use unique error messages for cmsg parsing
  linux-user: netlink: Add IP_PKTINFO cmsg parsing
  linux-user: netlink: Add emulation of IP_MULTICAST_IF
  linux-user: netlink: add netlink neighbour emulation
  linux-user: netlink: Add missing QEMU_IFLA entries

 linux-user/fd-trans.c     | 137 +++++++++++++++++++++++++++++++++++++-
 linux-user/syscall.c      |  34 +++++++---
 linux-user/syscall_defs.h |   6 ++
 3 files changed, 168 insertions(+), 9 deletions(-)