This series fixes issues and warnings I spotted in Martin's build logs
for OpenSUSE on armv6l and armv7l (patches 1/7 to 3/7).
I couldn't find (yet) a convenient way to add armv6l and armv7l OpenSUSE
builds to the tests using qemu TCG (suggestions welcome!) so I tried
things out on a Raspberry Pi Zero and a Raspberry Pi 4 for the moment
being -- patches 4/7 to 7/7 fix the other issues I hit there.
Stefano Brivio (7):
passt: Explicitly check return value of chdir()
udp: Explicitly initialise sin6_scope_id and sin_zero in
sockaddr_in{,6}
seccomp.sh: Handle syscall number defines in the (x + y) form
tap: Cast ETH_MAX_MTU to signed in comparisons
Makefile: Fix up AUDIT_ARCH for armv6l, armv7l
passt: Don't warn on failed madvise()
seccomp: Adjust list of allowed syscalls for armv6l, armv7l
Makefile | 1 +
passt.c | 15 +++++++++------
pasta.c | 3 ++-
seccomp.sh | 3 +++
tap.c | 4 ++--
udp.c | 2 ++
util.c | 3 ++-
7 files changed, 21 insertions(+), 10 deletions(-)
--
2.34.1
Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>
---
passt.1 | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/passt.1 b/passt.1
index 1e7cf1a..57cf745 100644
--- a/passt.1
+++ b/passt.1
@@ -171,14 +171,6 @@ configured (see options \fB--no-dhcp-dns\fR, \fB--dhcp-dns\fR,
This option can be specified multiple times, and a single, empty option disables
usage of DNS addresses altogether.
-.TP
-.BR \-D ", " \-\-dns " " \fIaddr
-Use \fIaddr\fR (IPv4 or IPv6) for DHCP, DHCPv6, NDP or DNS forwarding, as
-configured (see options \fB--no-dhcp-dns\fR, \fB--dhcp-dns\fR,
-\fB--dns-forward\fR) instead of reading addresses from \fI/etc/resolv.conf\fR.
-This option can be specified multiple times, and a single, empty option disables
-usage of DNS addresses altogether.
-
.TP
.BR \-\-dns-forward " " \fIaddr
Map \fIaddr\fR (IPv4 or IPv6) as seen from guest or namespace to the first
@@ -440,9 +432,7 @@ The default path is shown with --help.
.TP
.BR \-\-config-net
Configure networking in the namespace: set up addresses and routes as configured
-or sourced from the host, and bring up the tap interface. This option implies
-\fB--no-ra\fR: the static configuration of the IPv6 address will not allow the
-kernel to set up the default route using SLAAC.
+or sourced from the host, and bring up the tap interface.
.TP
.BR \-\-ns-mac-addr " " \fIaddr
--
2.34.1