Re: rewritten vxlan(4)

2022-02-15 Thread Claudio Jeker
On Tue, Feb 15, 2022 at 04:49:10PM +1000, David Gwynne wrote: > On Fri, Feb 11, 2022 at 03:13:25PM +1000, David Gwynne wrote: > > On Fri, Mar 05, 2021 at 05:09:29PM +1000, David Gwynne wrote: > > > On Thu, Mar 04, 2021 at 03:36:19PM +1000, David Gwynne wrote: > > > > as the subject says, this is a

Re: Ship ubsan_minimal library in base?

2022-02-15 Thread Jeremie Courreges-Anglas
On Sat, Feb 05 2022, Greg Steuck wrote: > Sweet, let's look at the two patches below. No sets yet. > > I tested on amd64 with the UBSan sample program and also with > games/battlestar. If somebody could repeat the steps I listed in the > previous email on a non-amd64 platform, that would be

testers needed: MSFT Surface thermal zones

2022-02-15 Thread Dave Voutila
My Microsoft Surface Go 3 is full of lovely oddities where Microsoft decided to ignore using standard ACPI paradigms. One is the way thermal zones and trip points are exposed: acpitz(4) can read zones, but there's no trip points expressed! As a result, a simple `make -j4` to build a kernel puts

Re: testers needed: MSFT Surface thermal zones

2022-02-15 Thread Mark Kettenis
> From: Dave Voutila > Date: Tue, 15 Feb 2022 09:11:54 -0500 > Content-Type: text/plain > > My Microsoft Surface Go 3 is full of lovely oddities where Microsoft > decided to ignore using standard ACPI paradigms. One is the way thermal > zones and trip points are exposed: acpitz(4) can read

Re: dhcpleased(8) vs. microsoft dhcp server

2022-02-15 Thread Todd C . Miller
On Tue, 15 Feb 2022 20:18:45 +0100, Florian Obser wrote: > Also fixes a whitespace issue while here. > > if (dho_len < 1) > goto wrong_length; > > is redundant now, but I want to keep the pattern of checking the length > right after identifying the option. Right, makes sense.

Re: dhcpleased(8) vs. microsoft dhcp server

2022-02-15 Thread Todd C . Miller
On Tue, 15 Feb 2022 20:01:52 +0100, Florian Obser wrote: I think you need that to be: /* MUST delete trailing NUL, per RFC 2132 */ slen = dho_len; while (slen > 0 && p[slen - 1] == '\0') slen--; to avoid underflow if the string happens to consist entirely

Re: Driver for PolarFire SoC MSS I2C controller

2022-02-15 Thread Mark Kettenis
> Date: Mon, 14 Feb 2022 17:50:55 + > From: Visa Hankala > > This patch adds a basic driver for the PolarFire SoC MSS I2C controller. > > OK? Small not below, Otherwise ok kettenis@ > Index: share/man/man4/iic.4 > === > RCS

Re: dhcpleased(8) vs. microsoft dhcp server

2022-02-15 Thread Florian Obser
On 2022-02-15 12:07 -07, "Todd C. Miller" wrote: > On Tue, 15 Feb 2022 20:01:52 +0100, Florian Obser wrote: > > I think you need that to be: > > /* MUST delete trailing NUL, per RFC 2132 */ > slen = dho_len; > while (slen > 0 && p[slen - 1] == '\0') > slen--; > >

Re: mvdog(4): add support for armada-380-wdg

2022-02-15 Thread Mark Kettenis
> Date: Mon, 14 Feb 2022 00:04:50 +0100 > From: Tobias Heider > > On Sun, Feb 13, 2022 at 03:47:28PM +0100, Mark Kettenis wrote: > > > > I'm not sure this code should share a driver with the A3700 code. The > > hardware doesn't seem to share any commonalities except for the > > Marvell name.

dhcpleased(8) vs. microsoft dhcp server

2022-02-15 Thread Florian Obser
Jan reported that the microsoft dhcp server sends the domain name option as a C string (i.e. NUL terminated) on-wire. This then ends up in /var/db/dhcpleased/$IF as e.g. domain-name: example.com\^@ which the installer uses to form /etc/myname which then later on smtpd complains about. I'm fresh

Re: lldb(1) libedit support

2022-02-15 Thread Greg Steuck
Andrei writes: > The lldb(1) debugger was recently added in base and as I was playing around > with it I noticed the lack of line editing functionality. > > This is because currently lldb is built without support for > libedit. It would be nice to have libedit in base such to be able to > link