public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 00/22] Fixes for non-x86_64, older kernels/glibc, and some more
@ 2022-01-28 18:33 Stefano Brivio
  2022-01-28 18:33 ` [PATCH 01/22] tcp: Cover all usages of tcpi_snd_wnd with HAS_SND_WND Stefano Brivio
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: Stefano Brivio @ 2022-01-28 18:33 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 3226 bytes --]

This series carries fixes for issues that emerged from testing on
architectures other than x86_64, older kernels and older versions of
gcc and glibc (1/22 to 7/22, 9/22, 11/22 to 12/22), some logic bugs
that appeared during further testing (8/22, 10/22, 20/22) and
fixes for tests, scripts and documentation (remaining patches).

passt and pasta should now work on multiple architectures, build
starting from gcc 4.7 and glibc 2.19, and actually work on kernel
versions >= 4.4 with glibc >= 2.25. Tests checking this are
introduced in the next series.

Note to package maintainers: ausyscall(8) is not used anymore to
generate seccomp profiles.

Stefano Brivio (22):
  tcp: Cover all usages of tcpi_snd_wnd with HAS_SND_WND
  tap, tcp: Fix two comparisons with different signedness reported by
    gcc 7
  passt: Drop <linux/ipv6.h> include, carry own ipv6hdr and opt_hdr
    definitions
  Makefile, seccomp: Fix build for i386, ppc64, ppc64le
  util: Fall-back definitions for SECCOMP_RET_KILL_PROCESS,
    ETH_{MAX,MIN}_MTU
  seccomp: Introduce mechanism to allow per-arch syscalls
  tcp, netlink, HAS{BYTES_ACKED,MIN_RTT,GETRANDOM} and
    NETLINK_GET_STRICT_CHK
  conf, pasta: Explicitly pass CLONE_{NEWUSER,NEWNET} to setns()
  tcp, udp, util: Fixes for bitmap handling on big-endian, casts
  netlink: Fix swapped v4/v6-only flags in external interface detection
  pasta: Check for zero d_reclen returned by getdents64() syscall
  tcp: Don't round down MSS to >= 64KiB page size, but clamp it in any
    case
  seccomp: Add a number of alternate and per-arch syscalls
  demo/pasta: Don't wait for pasta to return to a prompt
  test/two_guests: Drop stray spaces after sleep directives
  perf/passt_udp: Lower failure throughput thresholds with big MTUs
  test/lib/setup: Don't rely on IFS to properly separate qemu arguments
  test/lib/video: Drop -preset ultrafast from ffmpeg arguments
  hooks/pre-push: Delete old versions, add -DGLIBC_NO_STATIC_NSS,
    disable legacy builds
  conf: Fix support for --stderr as short option (-e)
  README: Fix anchor for Performance section
  README: Fix link to IGMP/MLD proxy ticket

 Makefile              | 29 ++++++++++++++++++--
 README.md             |  6 ++--
 arp.c                 |  2 --
 conf.c                | 18 ++++++++----
 dhcp.c                |  2 --
 dhcpv6.c              |  2 --
 hooks/pre-push        | 18 +++++++-----
 icmp.c                |  1 -
 ndp.c                 |  1 -
 netlink.c             | 14 ++++++----
 passt.c               | 17 +++++++-----
 passt.h               |  3 +-
 pasta.c               | 13 +++++----
 pcap.c                |  2 --
 qrap.c                |  2 --
 seccomp.sh            | 63 +++++++++++++++++++++++++++++++++++-------
 tap.c                 |  5 ++--
 tcp.c                 | 51 +++++++++++++++++++++++++++++-----
 test/demo/pasta       |  2 +-
 test/lib/setup        | 64 +++++++++++++++++++++----------------------
 test/lib/video        |  2 +-
 test/perf/passt_udp   |  8 +++---
 test/two_guests/basic |  8 +++---
 udp.c                 |  6 ++--
 util.c                | 18 +++++++-----
 util.h                | 40 +++++++++++++++++++++++++++
 26 files changed, 275 insertions(+), 122 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-01-28 18:33 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 18:33 [PATCH 00/22] Fixes for non-x86_64, older kernels/glibc, and some more Stefano Brivio
2022-01-28 18:33 ` [PATCH 01/22] tcp: Cover all usages of tcpi_snd_wnd with HAS_SND_WND Stefano Brivio
2022-01-28 18:33 ` [PATCH 02/22] tap, tcp: Fix two comparisons with different signedness reported by gcc 7 Stefano Brivio
2022-01-28 18:33 ` [PATCH 03/22] passt: Drop <linux/ipv6.h> include, carry own ipv6hdr and opt_hdr definitions Stefano Brivio
2022-01-28 18:33 ` [PATCH 04/22] Makefile, seccomp: Fix build for i386, ppc64, ppc64le Stefano Brivio
2022-01-28 18:33 ` [PATCH 05/22] util: Fall-back definitions for SECCOMP_RET_KILL_PROCESS, ETH_{MAX,MIN}_MTU Stefano Brivio
2022-01-28 18:33 ` [PATCH 06/22] seccomp: Introduce mechanism to allow per-arch syscalls Stefano Brivio
2022-01-28 18:33 ` [PATCH 07/22] tcp, netlink, HAS{BYTES_ACKED,MIN_RTT,GETRANDOM} and NETLINK_GET_STRICT_CHK Stefano Brivio
2022-01-28 18:33 ` [PATCH 08/22] conf, pasta: Explicitly pass CLONE_{NEWUSER,NEWNET} to setns() Stefano Brivio
2022-01-28 18:33 ` [PATCH 09/22] tcp, udp, util: Fixes for bitmap handling on big-endian, casts Stefano Brivio
2022-01-28 18:33 ` [PATCH 10/22] netlink: Fix swapped v4/v6-only flags in external interface detection Stefano Brivio
2022-01-28 18:33 ` [PATCH 11/22] pasta: Check for zero d_reclen returned by getdents64() syscall Stefano Brivio
2022-01-28 18:33 ` [PATCH 12/22] tcp: Don't round down MSS to >= 64KiB page size, but clamp it in any case Stefano Brivio
2022-01-28 18:33 ` [PATCH 13/22] seccomp: Add a number of alternate and per-arch syscalls Stefano Brivio
2022-01-28 18:33 ` [PATCH 14/22] demo/pasta: Don't wait for pasta to return to a prompt Stefano Brivio
2022-01-28 18:33 ` [PATCH 15/22] test/two_guests: Drop stray spaces after sleep directives Stefano Brivio
2022-01-28 18:33 ` [PATCH 16/22] perf/passt_udp: Lower failure throughput thresholds with big MTUs Stefano Brivio
2022-01-28 18:33 ` [PATCH 17/22] test/lib/setup: Don't rely on IFS to properly separate qemu arguments Stefano Brivio
2022-01-28 18:33 ` [PATCH 18/22] test/lib/video: Drop -preset ultrafast from ffmpeg arguments Stefano Brivio
2022-01-28 18:33 ` [PATCH 19/22] hooks/pre-push: Delete old versions, add -DGLIBC_NO_STATIC_NSS, disable legacy builds Stefano Brivio
2022-01-28 18:33 ` [PATCH 20/22] conf: Fix support for --stderr as short option (-e) Stefano Brivio
2022-01-28 18:33 ` [PATCH 21/22] README: Fix anchor for Performance section Stefano Brivio
2022-01-28 18:33 ` [PATCH 22/22] README: Fix link to IGMP/MLD proxy ticket Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).