OpenBSD Errata: October 27, 2022 (ukbd)

2022-10-26 Thread Alexander Bluhm
Errata patch for USB keyboard has been released for OpenBSD 7.2. 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: https://www.openbsd.org/errata72.html

Re: don't save emtpy lines in ksh history

2022-10-26 Thread Klemens Nanni
On Wed, Oct 26, 2022 at 11:30:20AM +0200, Uwe Werler wrote: > Hi all, > > when running ksh in vi-mode an empty line could be stored in history: > > Steps to reproduce in command mode: > > 1. go history back e.g.: k > 2. start editor with: v > 3. delete the whole line and :wq > 4. check history

netstart: do not wait for DAD completion in dry-mode

2022-10-26 Thread Klemens Nanni
There is no point in waiting when only printing would-be commands. OK? I'll promptly update this diff or the "netstart: improve shell style" one in case either lands since they both touch the same line. Index: netstart === RCS

Re: netstart: SOII: fix comment, print step with -n

2022-10-26 Thread Klemens Nanni
On Mon, Oct 24, 2022 at 07:01:02PM +, Klemens Nanni wrote: > IPv6LL no longer uses SOII (ifconfig(8) `soii' description got fixed). Relevant commit: sys/netinet6/in6_ifattach.c revision 1.114 date: 2019/08/21 15:32:18; author: florian; state: Exp; lines: +2 -83;

Re: installboot: merge duplicate code into sr_open_chunk()

2022-10-26 Thread Klemens Nanni
On Wed, Oct 05, 2022 at 10:31:38AM +, Klemens Nanni wrote: > On Sat, Sep 10, 2022 at 02:10:22AM +, Klemens Nanni wrote: > > It does not have the prettiest signature, but nicely folds identical > > copies into MI softraid.c, which then allows us to > > - avoid further diverging MD code > >

Re: [acpi] patch for embedded controller detection

2022-10-26 Thread Mikhail
On Sat, Oct 08, 2022 at 03:10:18PM +0300, Mikhail wrote: > I'm troubleshooting battery status for my Lenovo IdeaPad 3 14ITL05, on > latest -current it shows that battery is absent and AC not connected: > > Battery state: absent, 0% remaining, unknown life estimate > AC adapter state: not

don't save emtpy lines in ksh history

2022-10-26 Thread Uwe Werler
Hi all, when running ksh in vi-mode an empty line could be stored in history: Steps to reproduce in command mode: 1. go history back e.g.: k 2. start editor with: v 3. delete the whole line and :wq 4. check history with fc -l Without patch: zarathustra:/usr/src/bin/ksh$ fc -l 2 ls -la 3

Re: snmpd_metrics: Don't stop walking on empty table

2022-10-26 Thread Martijn van Duren
I should've probably been more clear: This is about OPENBSD-PF-MIB's pfTblAddrTable. On Wed, 2022-10-26 at 10:45 +0200, Martijn van Duren wrote: > Found by Alec on misc@. > When there's an empty table pfta_get_nextaddr jumps to fail and > mib.c returns an agentx_varbind_notfound not libagentx,

snmpd_metrics: Don't stop walking on empty table

2022-10-26 Thread Martijn van Duren
Found by Alec on misc@. When there's an empty table pfta_get_nextaddr jumps to fail and mib.c returns an agentx_varbind_notfound not libagentx, resulting in the upper code assuming that the object has no more entries after that. Note that this is not just an issue of the new code, but apparently

Re: audio: make get_props() optional, remove it from duplex drivers

2022-10-26 Thread Alexandre Ratchov
On Tue, Oct 25, 2022 at 10:25:30PM +, Klemens Nanni wrote: > The property bits of audio(9) are obsolete and ought to be removed > completely. > > sys/dev/audio.c:audio_open() currently uses get_props() to bail out if > read *and* write was requested on a driver non-duplex driver. > > Drivers