[Patch] Make errata70.html consistent with earlier errata*.html

2021-10-30 Thread Ross L Richardson
Hitherto, errata IDs have been "p" rather than "". Ross Index: errata70.html === RCS file: /cvs/www/errata70.html,v retrieving revision 1.6 diff -u -p -r1.6 errata70.html --- errata70.html 31 Oct 2021 00:14:46 -

OpenBSD Errata: October 31, 2021 (uipc)

2021-10-30 Thread Sebastian Benoit
An errata patch for the kernel has been released for OpenBSD 6.9 and OpenBSD 7.0. The kernel could leak memory when closing unix sockets. Binary updates for the amd64, i386 and arm64 platform are available via the syspatch utility. Source code patches can be found on the respective errata page:

UNIX sockets: make `unp_rights', `unp_msgcount' and `unp_file' atomic

2021-10-30 Thread Vitaliy Makkoveev
This completely removes global rwlock(9) from the unp_internalize() and unp_externalize() normal paths but only leaves it in unp_externalize() error path. Also we don't need to simultaneously hold both fdplock() and `unp_lock' in unp_internalize(). As non obvious profit this simplifies the future

rpki-client-7.4 released

2021-10-30 Thread Sebastian Benoit
rpki-client 7.4 has just been released and will be available in the rpki-client directory of any OpenBSD mirror soon. rpki-client is a FREE, easy-to-use implementation of the Resource Public Key Infrastructure (RPKI) for Relying Parties (RP) to facilitate validation of a BGP announcement. The

OpenBSD Errata: October 31, 2021 (bpf)

2021-10-30 Thread Sebastian Benoit
An errata patch for the kernel has been released for OpenBSD 6.9 and OpenBSD 7.0. Opening /dev/bpf too quickly too often could lead to a kernel crash. Binary updates for the amd64, i386 and arm64 platform are available via the syspatch utility. Source code patches can be found on the respective

OpenBSD Errata: October 31, 2021 (nsd)

2021-10-30 Thread Sebastian Benoit
An errata patch for nsd(8) has been released for OpenBSD 7.0. In certain configurations, nsd can be crashed remotely. Binary updates for the amd64, i386 and arm64 platform are available via the syspatch utility. Source code patches can be found on the respective errata page:

Re: snmpd(8): don't allocate memory for system mib

2021-10-30 Thread Martijn van Duren
On Fri, 2021-10-29 at 04:52 -0600, Theo de Raadt wrote: > Stuart Henderson wrote: > > > > Diff below calls uname(3) only a single time and if the variables > > > aren't snmpd.conf I simply rebuild it every time. > > > > I'm in two minds about this. While it's not something that will happen > >

PATCH: make pkg_delete a bit more finicky

2021-10-30 Thread Marc Espie
We disabled the checksum check because it was rather expensive, but actually we also store timestamps in packing-lists This is a first draft at a better check. What this does: - compare the fs timestamp with the packing-list timestamp. This should be very cheap in most cases, since we're already

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-30 Thread Klemens Nanni
On Fri, Oct 29, 2021 at 08:18:43AM -0600, Theo de Raadt wrote: > Please don't do this. Agreed. Please don't add such quirks to bend over backwards for pagers that misbehave. > Ingo Schwarze wrote: > > > Hi Stuart, > > > > Stuart Henderson wrote on Fri, Oct 29, 2021 at 01:59:38PM +0100: > > >

Re: Is getpass(3) really obsolete?

2021-10-30 Thread Alejandro Colomar (man-pages)
Hi Joseph, On 10/29/21 18:31, Joseph Myers wrote: On Fri, 29 Oct 2021, Alejandro Colomar (man-pages) via Libc-alpha wrote: The broader context is that I was trying to make the deprecation notices more consistent in the Linux manpages, by using the [[deprecated]] attribute where appropriate.

[patch] usr.bin/file: crash due to misplaced "strength" parameter

2021-10-30 Thread Maxim Pugachev
Hi, file(1) crashes if the magic file contains a misplaced "strength" parameter. A simple example to reproduce it: $ cat ~/.magic !:strength * 2 0 string \037\235 compress'd data Index: usr.bin/file/magic-load.c === RCS file:

Re: [PATCH] Change maximum size of /usr/src to 3G for autoinstall

2021-10-30 Thread Mikhail
On Sun, Oct 24, 2021 at 02:17:25PM +0300, Mikhail wrote: > On Sun, Oct 24, 2021 at 11:32:26AM +0100, Stuart Henderson wrote: > > The minimum needs to go up too, a cvs checkout is 1.3G already. > > > > (Not that I use auto defaults without changes anyway, they don't > > work too well for ports