sshd_config(5): Use correct path for system-wide known_hosts

2022-04-10 Thread Martin Vahlensieck
Hi The path to the system-wide known_hosts file is /etc/ssh/ssh_known_hosts and not /etc/ssh/known_hosts. See auth2-hostbased.c line 221-223. Best, Martin Index: sshd_config.5 === RCS file: /cvs/src/usr.bin/ssh/sshd_config.5,v ret

Re: gpio: Add missing device_unref()

2022-04-10 Thread Jeremie Courreges-Anglas
On Sun, Apr 10 2022, Visa Hankala wrote: > Make gpio(4) release the device reference that device_lookup() takes. > > OK? ok jca@ -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

ddb: simplify "machine" command handling

2022-04-10 Thread Christian Weisgerber
Most of our architectures implement a "machine" command as a MD extension in ddb(4). Currently that is handled in this way: * A define is placed in a MD header. * The MI ddb code checks for the define, creates an incomplete entry in the command table, and provides an initialization function. * M

Re: [ouex]hci(4), dwctwo(4): constify bus/pipe method tables

2022-04-10 Thread Marcus Glocker
On Sun, Apr 10, 2022 at 03:28:41PM +0200, Christian Weisgerber wrote: > Marcus Glocker: > > > > This constifies the bus method and pipe method tables in our USB > > > host controller drivers. > > > > dwctwo(4) also exists on arm64. > > Oops, right. That arch I have. > > The USB host controlle

Re: [PATCH] [src] usr.bin/sendbug/sendbug.c - update categories

2022-04-10 Thread Jeremie Courreges-Anglas
On Tue, Mar 29 2022, Theo Buehler wrote: > On Tue, Mar 29, 2022 at 08:51:25PM +0200, Jeremie Courreges-Anglas wrote: >> On Tue, Mar 29 2022, Raf Czlonka wrote: >> > Hello, >> > >> > sparc and vax ports have been retired a while back; add riscv64 >> > while there. >> >> Committed, thanks. >> >>

gpio: Add missing device_unref()

2022-04-10 Thread Visa Hankala
Make gpio(4) release the device reference that device_lookup() takes. OK? Index: dev/gpio/gpio.c === RCS file: src/sys/dev/gpio/gpio.c,v retrieving revision 1.16 diff -u -p -r1.16 gpio.c --- dev/gpio/gpio.c 6 Apr 2022 18:59:28 -0

Re: [ouex]hci(4), dwctwo(4): constify bus/pipe method tables

2022-04-10 Thread Christian Weisgerber
Marcus Glocker: > > This constifies the bus method and pipe method tables in our USB > > host controller drivers. > > dwctwo(4) also exists on arm64. Oops, right. That arch I have. The USB host controller drivers also have another set of tables to emulate the root hub. I have extended the dif

Re: [diff] gzip verbose message

2022-04-10 Thread Todd C . Miller
On Sun, 10 Apr 2022 13:24:15 +0200, Jeremie Courreges-Anglas wrote: > The diff below keeps the same output by default and outputs the same as > GNU gzip(1) is -k is given. OK millert@ - todd

OpenBSD Errata: April 11, 2022 (rpki)

2022-04-10 Thread Alexander Bluhm
Errata patches for rpki-client have been released for OpenBSD 6.9 and 7.0. 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/errata69.html https://www.openbsd.o

Re: [diff] gzip verbose message

2022-04-10 Thread Jeremie Courreges-Anglas
On Wed, Apr 06 2022, prx wrote: > Since gzip has -k flag to keep original file, the output when used with -v > flag is wrong. > > Find below a stupid diff almost shorter than this message. > > Regards > > Index: main.c > === > RCS fi

Re: have in_pcbselsrc copy the selected ip to the caller instead of a reference to it

2022-04-10 Thread Claudio Jeker
On Mon, Mar 21, 2022 at 02:17:21PM +1000, David Gwynne wrote: > in_pcbselsrc has this: > > ifp = if_get(mopts->imo_ifidx); > if (ifp != NULL) { > if (ifp->if_rdomain == rtable_l2(rtableid)) > IFP_TO_IA(ifp, ia); >

Re: rpki-client: simplify SIA parsing

2022-04-10 Thread Claudio Jeker
On Tue, Apr 05, 2022 at 06:33:35PM +0200, Theo Buehler wrote: > Instead of manually unpacking the SIA extension with super low-level > ASN.1 fiddling, we can let the templated ASN.1 in libcrypto do this work > for us, which makes the code quite a bit simpler. This resolves one > FIXME and removes o