Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: slaacd(8): do not peek inside of struct imsg
To:
tech <tech@openbsd.org>
Date:
Sat, 24 Aug 2024 10:59:54 +0200

Download raw body.

Thread
On Fri, Aug 23, 2024 at 05:36:59PM +0200, Florian Obser wrote:
> Two commits on top of each other, first introduce i2s to simplify imsg
> type logging (inspired by smtpd(8)).
> The second diff switches to imsg_get_data to fetch data out of the imsg
> and validate sizes.
> 
> I always wanted to simplify the imsg logging but I was worried about the
> churn. Now is a good time since I have to touch everything anyway.

Works fine here and I can't spot anything wrong with it.

ok tb

PS: control_imsg_relay() and engine_showinfo_ctl() still reach into imsg.