Re: stdio: fclose(3), fopen(3): intended locking hierarchy?

2020-11-27 Thread Philip Guenther
On Wed, Nov 25, 2020 at 4:23 PM Scott Cheloha wrote: > In stdio, which lock are you supposed to take first? The global > sfp_mutex or the per-FILE lock? > > In __sfp() we hold sfp_mutex while iterating through the pool (unsure > what else to call it) of FILEs. No two threads can modify the pool

Re: sio_open.3: clarify what sio_start() does

2020-11-27 Thread Érico Nogueira
On Fri Nov 27, 2020 at 3:05 PM -03, Alexandre Ratchov wrote: > this wording is shorter and more precise and complete. > > ok? > > Index: sio_open.3 > === > RCS file: /cvs/src/lib/libsndio/sio_open.3,v > retrieving revision 1.51 > diff

Re: lld for macppc kernel

2020-11-27 Thread Mark Kettenis
> Date: Mon, 23 Nov 2020 22:59:19 -0500 > From: George Koehler > > With this diff, lld can link macppc's kernel. > > The first part of the diff adds R_PPC_ADDR24 to lld. I didn't find > code in upstream lld's git for R_PPC_ADDR24. We need R_PPC_ADDR24 for > "ba" and "bla" in locore.S. I suppo

Re: slaacd(8): unexpected FD

2020-11-27 Thread Theo Buehler
On Fri, Nov 27, 2020 at 09:41:21PM +0100, Florian Obser wrote: > An interface might have disappeared or switched rdomains while we > waited for a FD. It's not a fatal condition if it arrives late. That makes sense. > I can only get it to lose the race by introducing a sleep in the > parent proces

Re: lld for macppc kernel

2020-11-27 Thread George Koehler
On Mon, 23 Nov 2020 22:59:19 -0500 George Koehler wrote: > My macppc can now build, link, > and boot the GENERIC kernel with either ld.bfd or ld.lld. ld.lld with my diff can link macppc kernels GENERIC, GENERIC.MP, and RAMDISK, and I can boot and run them, but all macppc kernels from lld have &e

Re: slaacd(8): changing rdomain

2020-11-27 Thread Theo Buehler
On Fri, Nov 27, 2020 at 09:34:59PM +0100, Florian Obser wrote: > > Handle the case of an autoconf interface changing its rdomain. > > To avoide code duplication have get_icmp6ev_by_rdomain() either return > an existing icmp6ev in the correct rdomain or allocate one. > > OK? ok tb. > > diff --

slaacd(8): unexpected FD

2020-11-27 Thread Florian Obser
An interface might have disappeared or switched rdomains while we waited for a FD. It's not a fatal condition if it arrives late. I can only get it to lose the race by introducing a sleep in the parent process, but the race is still there. Found while implementing rdomain support in rad(8) using t

slaacd(8): unref_icmp6ev()

2020-11-27 Thread Florian Obser
Reduce code duplication by introducing unref_icmp6ev() OK? diff --git frontend.c frontend.c index 624ff5562f3..4b3f575611e 100644 --- frontend.c +++ frontend.c @@ -92,6 +92,7 @@ void get_lladdr(char *, struct ether_addr *, struct sockaddr_in6 *); struct iface *get_iface_by_id(uint32

slaacd(8): changing rdomain

2020-11-27 Thread Florian Obser
Handle the case of an autoconf interface changing its rdomain. To avoide code duplication have get_icmp6ev_by_rdomain() either return an existing icmp6ev in the correct rdomain or allocate one. OK? diff --git frontend.c frontend.c index 3bf418ba31e..624ff5562f3 100644 --- frontend.c +++ fronte

sio_open.3: clarify what sio_start() does

2020-11-27 Thread Alexandre Ratchov
this wording is shorter and more precise and complete. ok? Index: sio_open.3 === RCS file: /cvs/src/lib/libsndio/sio_open.3,v retrieving revision 1.51 diff -u -p -r1.51 sio_open.3 --- sio_open.3 20 Nov 2020 12:09:45 - 1.51

Fan Management Framework

2020-11-27 Thread Marcus Glocker
Hi, I recently decided to replace MacOSX on my iMac11,3 27" with OpenBSD. During the MacOSX times I had to replace the broken HDD with a new SSD. The new SSD didn't offer pins to attach the sensor cable back, which was previously attached to the HDD, so I left it loose. This caused the HDD fan to

Re: wg(4) manpage tweaks

2020-11-27 Thread Renaud Allard
On 11/27/20 1:29 PM, Stuart Henderson wrote: It's not very clear how to fetch the pubkey. OK to add this to wg(4)? Index: wg.4 === RCS file: /cvs/src/share/man/man4/wg.4,v retrieving revision 1.6 diff -u -p -r1.6 wg.4 --- wg.4

Re: wg(4) manpage tweaks

2020-11-27 Thread Jason McIntyre
On Fri, Nov 27, 2020 at 02:28:42PM +, Stuart Henderson wrote: > On 2020/11/27 14:17, Jason McIntyre wrote: > > On Fri, Nov 27, 2020 at 02:09:57PM +, Stuart Henderson wrote: > > > On 2020/11/27 13:41, Jason McIntyre wrote: > > > > > +++ wg.4 27 Nov 2020 12:28:32 - > > > > > @@ -64,6

Re: wg(4) manpage tweaks

2020-11-27 Thread Stuart Henderson
On 2020/11/27 14:17, Jason McIntyre wrote: > On Fri, Nov 27, 2020 at 02:09:57PM +, Stuart Henderson wrote: > > On 2020/11/27 13:41, Jason McIntyre wrote: > > > > +++ wg.427 Nov 2020 12:28:32 - > > > > @@ -64,6 +64,9 @@ interface may be configured to recognise > > > > .It Key > > >

Re: wg(4) manpage tweaks

2020-11-27 Thread Jason McIntyre
On Fri, Nov 27, 2020 at 02:09:57PM +, Stuart Henderson wrote: > On 2020/11/27 13:41, Jason McIntyre wrote: > > > +++ wg.4 27 Nov 2020 12:28:32 - > > > @@ -64,6 +64,9 @@ interface may be configured to recognise > > > .It Key > > > Each peer uses its private key and corresponding public ke

Re: wg(4) manpage tweaks

2020-11-27 Thread Stuart Henderson
On 2020/11/27 13:41, Jason McIntyre wrote: > > +++ wg.427 Nov 2020 12:28:32 - > > @@ -64,6 +64,9 @@ interface may be configured to recognise > > .It Key > > Each peer uses its private key and corresponding public key to > > identify itself to others. > > +The public key may be displayed

Re: wg(4) manpage tweaks

2020-11-27 Thread Jason McIntyre
On Fri, Nov 27, 2020 at 12:29:01PM +, Stuart Henderson wrote: > It's not very clear how to fetch the pubkey. OK to add this to wg(4)? > hi. > Index: wg.4 > === > RCS file: /cvs/src/share/man/man4/wg.4,v > retrieving revision 1.6

wg(4) manpage tweaks

2020-11-27 Thread Stuart Henderson
It's not very clear how to fetch the pubkey. OK to add this to wg(4)? Index: wg.4 === RCS file: /cvs/src/share/man/man4/wg.4,v retrieving revision 1.6 diff -u -p -r1.6 wg.4 --- wg.424 Nov 2020 16:33:05 - 1.6 +++ wg.4

Re: Typo fix in nsd.conf.5.in

2020-11-27 Thread Eddie Thieda
On Fri, Nov 27, 2020 at 6:29 AM Florian Obser wrote: > > Could you please submit this upstream at > https://github.com/NLnetLabs/nsd > > Thanks, > Florian > Done. https://github.com/NLnetLabs/nsd/commit/800ff7cd44b8bf0eb5586bc538444006751e90a1 > On Fri, Nov 27, 2020 at 05:44:11AM -0500, Eddie T

Re: Typo fix in nsd.conf.5.in

2020-11-27 Thread Florian Obser
Could you please submit this upstream at https://github.com/NLnetLabs/nsd Thanks, Florian On Fri, Nov 27, 2020 at 05:44:11AM -0500, Eddie Thieda wrote: > Hello, > > Here's a small typo fix, url included if text gets mangled. > > http://ix.io/2FEF > > --- nsd.conf.5.in Tue Oct 13 06:06:08 2020

Re: Typo fix in nsd.conf.5.in

2020-11-27 Thread Emil Engler
I think "ease of compatibility" was meant I personally would keep it that way but thanks for the nice catch! Cheers, Emil On 11/27/20 11:44 AM, Eddie Thieda wrote: Hello, Here's a small typo fix, url included if text gets mangled. http://ix.io/2FEF --- nsd.conf.5.in Tue Oct 13 06:06:08 2020

Typo fix in nsd.conf.5.in

2020-11-27 Thread Eddie Thieda
Hello, Here's a small typo fix, url included if text gets mangled. http://ix.io/2FEF --- nsd.conf.5.in Tue Oct 13 06:06:08 2020 +++ nsd.conf.5.in2 Fri Nov 27 05:35:17 2020 @@ -161,7 +161,7 @@ anycast instances. Use ip-transparent to be able to l turn on later (typical for certain load-balancin