mbox series

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

Message ID 20250120213340.359195-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. 20, 2025, 9:33 p.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 #1 and #7.

Changes in v4:
- rewrote patch #1 to fix build on ubuntu 22.04 and add
  cleanup-patch #7
- added S-o-b from Laurent to patches #3 and #4

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 (7):
  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: netlink: Use QEMU_IFA_XXX values instead of IFA_XXX

 linux-user/fd-trans.c     | 169 ++++++++++++++++++++++++++++++++++++--
 linux-user/syscall.c      |  34 ++++++--
 linux-user/syscall_defs.h |   6 ++
 3 files changed, 192 insertions(+), 17 deletions(-)