Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: [update, pledge fix] ngircd: 28
To:
"Alvar Penning" <post@0x21.biz>
Cc:
"Michael" <michi+openbsd@dataswamp.org>, ports@openbsd.org, dlg@openbsd.org
Date:
Fri, 04 Sep 2026 18:10:19 -0600

Download raw body.

Thread
Alvar Penning <post@0x21.biz> wrote:

> Checking src for recent changes, I stumbled about dlg's commit[0] and
> tried to follow allowed and forbidden combinations. A few printf
> debugging attempts later, I ended up with the following debug diff,
> demonstrating that ngircd calls "setsockopt(..., IPPROTO_IP, IP_TOS,
> ...)" on an AF_INET6 socket.

Previous to this diff, the kernel returned an error from that system
call.

But checking for errors from system calls is oh so who cares