Capture a repeated pattern into sysctl_securelevel_int

2022-01-23 Thread Greg Steuck
As I was staring a bit more at sysctl related code this pattern caught my attention. Looks like a few lines can disappear and hopefully code expressivity goes up. Anybody like this? >From 3b52f9ad743fe9b59316077478d33f77fff9a119 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Sun, 23 Jan 2022

Re: fw_update: unregister firmware that has moved to base

2022-01-23 Thread Theo de Raadt
Right, I suggested that the problem is "rtwn" shouldn't be in the firmware_patterns file, because we don't have internet-sourced firmware for it. In the same way we don't have "em", or "com" or "pms" listed. Andrew Hewus Fresh wrote: > On Sun, Jan 23, 2022 at 06:01:44PM -0800, Andrew Hewus

Re: fw_update: unregister firmware that has moved to base

2022-01-23 Thread Andrew Hewus Fresh
On Sun, Jan 23, 2022 at 06:01:44PM -0800, Andrew Hewus Fresh wrote: > This patch will "unregister" a firmware package if we detect that it has > moved into the base system by removing the package files in /var/db/pkg > and leaving the files in /etc/firmware alone. > > This situation is detected

fw_update: unregister firmware that has moved to base

2022-01-23 Thread Andrew Hewus Fresh
This patch will "unregister" a firmware package if we detect that it has moved into the base system by removing the package files in /var/db/pkg and leaving the files in /etc/firmware alone. This situation is detected with a special entry in the firmware_patterns file where the "pattern" is

Re: kubsan tcp timer shift

2022-01-23 Thread Greg Steuck
Ted Bullock writes: > I've been curious about this for a long time; Would using > const uint16_t or uint32_t instead of proprocessor defines also make > sense anyway if the purpose is to stop the compiler from being > mysterious with implicit data types? I've never seen a compelling reason > to

IPv6 privacy extensions

2022-01-23 Thread Marcel Logen
Hello, since ca. April 2021 I see, that (after boot) no new IPv6 temporary adresses are created after 900 seconds (15 min). The pltime decreases to 900 and then gets a value of 1800. No new temporary address is generated. Is this behaviour correct? | t20$ ifconfig em0 | em0: flags=a48843 mtu

OpenBSD Errata: January 24, 2022 (ppctrap)

2022-01-23 Thread Alexander Bluhm
Errata patches for macppc kernel trap handler have been released for OpenBSD 6.9 and 7.0. Source code patches can be found on the respective errata page: https://www.openbsd.org/errata69.html https://www.openbsd.org/errata70.html

Port 563 (NNTPS) not in /etc/services

2022-01-23 Thread Marcel Logen
Hello, I don't find port 563 (NNTPS) in /etc/services: | t20$ grep -e '563' /etc/services | t20$ grep -e 'nntp' /etc/services | nntp119/tcp

Re: rpki-client unify poll loop

2022-01-23 Thread Theo Buehler
On Sun, Jan 23, 2022 at 10:01:10AM +0100, Claudio Jeker wrote: > Make all poll loops handle EINTR in the same way. Now since the loop is > restarted not poll related functions need to be called in that part of the > code. In rpki-client this only matters for the repo timeout. By merging >

rpki-client unify poll loop

2022-01-23 Thread Claudio Jeker
Make all poll loops handle EINTR in the same way. Now since the loop is restarted not poll related functions need to be called in that part of the code. In rpki-client this only matters for the repo timeout. By merging repo_next_timeout() and repo_check_timeout() together this function can be