Re: Unlock getsockname(2) syscall

2022-02-23 Thread Vitaliy Makkoveev
On Wed, Feb 23, 2022 at 11:04:40PM +0100, Alexander Bluhm wrote: > On Thu, Feb 24, 2022 at 12:02:55AM +0300, Vitaliy Makkoveev wrote: > > ping... > > I have tested it on my i386 regress machine, it passed, and then I > forgot. > > OK bluhm@ > Thanks!

Re: perl clang -Wcompound-token-split-by-macro

2022-02-23 Thread Alexander Bluhm
On Sat, Jan 22, 2022 at 02:24:51AM +0100, Marc Espie wrote: > Or we can automate this with something like this: I have updated Devel::PPPort in base and it works for me. Two ports have ppport.h in a different location. There this diff has no effect. All other ports in my test setup work fine wi

Re: Unlock getsockname(2) syscall

2022-02-23 Thread Alexander Bluhm
On Thu, Feb 24, 2022 at 12:02:55AM +0300, Vitaliy Makkoveev wrote: > ping... I have tested it on my i386 regress machine, it passed, and then I forgot. OK bluhm@ > > On 10 Feb 2022, at 11:25, Vitaliy Makkoveev wrote: > > > > For inet and UNIX sockets it fills passed 'sockaddr' structure with >

Re: Unlock getsockname(2) syscall

2022-02-23 Thread Vitaliy Makkoveev
ping... > On 10 Feb 2022, at 11:25, Vitaliy Makkoveev wrote: > > For inet and UNIX sockets it fills passed 'sockaddr' structure with > socket's address. For key management and route domain sockets it just > returns error. > > ok? > > Index: sys/kern/syscalls.master > ==

OpenBSD Errata: February 24, 2022 (libexpat)

2022-02-23 Thread Alexander Bluhm
Errata patches for expat XML library 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.op

Re: [v2] amd64: simplify TSC sync testing

2022-02-23 Thread Dave Voutila
Scott Cheloha writes: > Hi, > > Here is a second draft patch for changing our approach to TSC > synchronization. > > With this patch, instead of trying to fix desync with a handshake we > test for desync with a (more) foolproof loop and then don't attempt to > correct for desync if we detect it

Re: yacc(1): skeleton.c: remove outdated comment

2022-02-23 Thread Martin Vahlensieck
ping, diff reattached On Thu, Feb 10, 2022 at 04:29:53PM +0100, Martin Vahlensieck wrote: > Hi > > yysccsid was removed in 1.30 back in 2009. > > Best, > > Martin > > Index: skeleton.c > === > RCS file: /cvs/src/usr.bin/yacc/skelet

ssh(1): monitor.c: save a xstrdup

2022-02-23 Thread Martin Vahlensieck
Hi Tiny diff to save an allocation. Best, Martin Index: monitor.c === RCS file: /cvs/src/usr.bin/ssh/monitor.c,v retrieving revision 1.231 diff -u -p -r1.231 monitor.c --- monitor.c 28 Jan 2022 06:18:42 - 1.231 +++ monit

Re: Fix kernel stack alignment on riscv64

2022-02-23 Thread Mark Kettenis
> Date: Wed, 23 Feb 2022 14:18:40 + > From: Visa Hankala > > So far this patch has worked fine on my test system. Cool. I'm a little bit bothered by that 0x10 in the calculation, and maybe that can go now. But that is cleanup for later. Making the allocation explicit is progress. ok kett

Re: [v2] amd64: simplify TSC sync testing

2022-02-23 Thread Hrvoje Popovski
On 23.2.2022. 3:58, Scott Cheloha wrote: > Please test! In particular: > > - I'd love retests on systems that failed the test using the previous > patch. Almost all of these were AMD Ryzen CPUs. It's hard to say > what the issue is there. My vague guess is a firmware bug. > > One would

Re: Fix kernel stack alignment on riscv64

2022-02-23 Thread Visa Hankala
So far this patch has worked fine on my test system. On Tue, Feb 22, 2022 at 06:41:31PM +, Visa Hankala wrote: > Index: arch/riscv64/include/frame.h > === > RCS file: src/sys/arch/riscv64/include/frame.h,v > retrieving revision 1.

Re: [PATCH] [src] usr.bin/make/PSD.doc/tutorial.ms - fix order: makefile -> Makefile

2022-02-23 Thread Jason McIntyre
On Wed, Feb 23, 2022 at 11:09:44AM +, Raf Czlonka wrote: > Hello, > > Pretty straightforward, 'makefile' comes before 'Makefile'. > > Regards, > > Raf > yep, ok. jmc > Index: usr.bin/make/PSD.doc/tutorial.ms > === > RCS file:

[PATCH] [src] usr.bin/make/PSD.doc/tutorial.ms - fix order: makefile -> Makefile

2022-02-23 Thread Raf Czlonka
Hello, Pretty straightforward, 'makefile' comes before 'Makefile'. Regards, Raf Index: usr.bin/make/PSD.doc/tutorial.ms === RCS file: /cvs/src/usr.bin/make/PSD.doc/tutorial.ms,v retrieving revision 1.13 diff -u -p -r1.13 tutorial.m

Re: allow bgpd to listen and connect to non common ports

2022-02-23 Thread Theo Buehler
On Tue, Feb 22, 2022 at 05:54:36PM +0100, Claudio Jeker wrote: > Sometimes (mainly for tests) it can be useful to run bgpd on something > different than port 179. The following diff does mostly that. It allows > to define a port with 'listen on' and makes it possible to set the port > on a neighbor