Re: Some bwfm(4) diffs

2023-10-08 Thread Peter J. Philipp
On Sun, Oct 08, 2023 at 07:42:54PM +0200, Mark Kettenis wrote: > Hector Martin has added support for the BCM4388 that is found on the > last generation of Apple Macs. Based on his commits I've managed to > get it working on my M2 Pro mini. I still have to clean up some of > that stuff, but here

Re: Some bwfm(4) diffs

2023-10-08 Thread Mike Larkin
On Sun, Oct 08, 2023 at 07:42:54PM +0200, Mark Kettenis wrote: > Hector Martin has added support for the BCM4388 that is found on the > last generation of Apple Macs. Based on his commits I've managed to > get it working on my M2 Pro mini. I still have to clean up some of > that stuff, but here

ipsecctl(8): pledge stdio before parsing pfkey

2023-10-08 Thread Tobias Heider
The diff below adds pledge("stdio") calls for the pfkey dump subset of ipsecctl commands. In particular ipsecctl -s which prints all SAs or flows in the kernel and more importantly ipsecctl -m which contiously parses and prints every pfkey message forwarded by the kernel don't seem to need any

Re: prevent re-upgrade in powerpc64 boot loader

2023-10-08 Thread Klemens Nanni
9/23/23 14:11, Mark Kettenis пишет: >> Date: Thu, 21 Sep 2023 22:30:01 + >> From: Klemens Nanni >> >> In comparison to MI boot which only cares about /bsd.upgrade's x bit, >> powerpc64 rdboot just wants a regular file. >> >> Require and strip u+x before execution to prevent sysupgrade(8)

Re: Use after free in X config parser

2023-10-08 Thread Crystal Kolipe
Hi, On Sun, Oct 08, 2023 at 07:07:27PM +0200, Matthieu Herrb wrote: > I can confirm that there's an issue here. However in my tests, I don't > see a garbled error message. > If I set MALLOC_OPTIONS=F then a double free is reported, which I > tracked down to the realloc() calls in getNextLine()

Some bwfm(4) diffs

2023-10-08 Thread Mark Kettenis
Hector Martin has added support for the BCM4388 that is found on the last generation of Apple Macs. Based on his commits I've managed to get it working on my M2 Pro mini. I still have to clean up some of that stuff, but here is a forst batch of two diffs. The changes to dev/ic/bwfm.c correspond

Re: Use after free in X config parser

2023-10-08 Thread Matthieu Herrb
On Thu, Oct 05, 2023 at 08:11:39PM -0300, Crystal Kolipe wrote: > This is an interesting one... > > There is a use after free bug in the X config parser, which can be trivially > demonstrated by creating a config file with the first line being a comment and > the second line containing invalid

Re: gzip: fix pledge violation

2023-10-08 Thread Klemens Nanni
On Sun, Oct 08, 2023 at 12:18:34AM -0400, George Koehler wrote: > On Fri, 8 Jul 2022 16:04:47 + > Guilherme Janczak wrote: > > > gzip violates wpath if you tell it to extract stdin and restore the > > original filename. > > More than a year ago, Guilherme Janczak reported that OpenBSD's >

Re: wg destroy hangs

2023-10-08 Thread Claudio Jeker
On Wed, Oct 04, 2023 at 11:31:47PM +0200, Alexander Bluhm wrote: > On Wed, Oct 04, 2023 at 11:03:27PM +0300, Vitaliy Makkoveev wrote: > > On Wed, Oct 04, 2023 at 09:13:59PM +0200, Alexander Bluhm wrote: > > > On Wed, Oct 04, 2023 at 08:42:48PM +0200, Kirill Miazine wrote: > > > > > If it happns