knote(9) and knote_locked(9)

2023-02-01 Thread Visa Hankala
Make knote(9) lock the knote list internally, and add knote_locked(9) for the typical situation where the list is already locked. Simplify the kqueue API a bit (and make room for the new function) by dropping the KNOTE(9) macro. Its value is dubious, not least because it is common to use proper

Re: Move duplicating initialization to soalloc()

2023-02-01 Thread Visa Hankala
On Tue, Jan 31, 2023 at 09:50:26PM +0300, Vitaliy Makkoveev wrote: > On Tue, Jan 31, 2023 at 06:00:45PM +, Visa Hankala wrote: > > On Tue, Jan 31, 2023 at 12:44:47PM +0300, Vitaliy Makkoveev wrote: > > > Since we have soalloc() to do common socket initialization, move the > > > rest within. I

Re: npppd(8): remove "pipex" option

2023-02-01 Thread YASUOKA Masahiko
Hi, On Wed, 1 Feb 2023 21:32:29 +0300 Vitaliy Makkoveev wrote: > On Wed, Feb 01, 2023 at 09:00:13PM +0900, YASUOKA Masahiko wrote: >> ... >> >> But I think we should keep the part since it is needed when adding a >> tunneling protocol which is not supported by pipex, or running npppd >> on

Re: npppd(8): remove "pipex" option

2023-02-01 Thread Vitaliy Makkoveev
On Wed, Feb 01, 2023 at 09:00:13PM +0900, YASUOKA Masahiko wrote: > Hi > > ... > > But I think we should keep the part since it is needed when adding a > tunneling protocol which is not supported by pipex, or running npppd > on another OS. > > >> If having "pipex yes/no" configuration is

Re: libcrypto for powerpc g5 xonly

2023-02-01 Thread Mark Kettenis
> Date: Tue, 31 Jan 2023 20:19:19 -0500 > From: George Koehler > > OpenBSD/macppc can enforce xonly on the PowerPC G5. libcrypto linked > with cc -Wl,--execute-only will SIGSEGV as the PowerPC asm of sha256 > tries to read a table from text. The fix is to move the table to > rodata. To find

Re: npppd(8): remove "pipex" option

2023-02-01 Thread YASUOKA Masahiko
I'm sorry for sending 2 mails. First one was a draft. Please read second one.

Re: npppd(8): remove "pipex" option

2023-02-01 Thread YASUOKA Masahiko
Hi On Tue, 31 Jan 2023 11:30:43 +0300 Vitaliy Makkoveev wrote: > On Tue, Jan 31, 2023 at 01:40:19PM +0900, YASUOKA Masahiko wrote: >> Hi, >> >> On Sun, 29 Jan 2023 14:35:05 +0300 >> Vitaliy Makkoveev wrote: >> > While switchind pppx(4) and pppac(4) from selwakeup() to KNOTE(9), I >> > found

Re: npppd(8): remove "pipex" option

2023-02-01 Thread YASUOKA Masahiko
On Tue, 31 Jan 2023 11:30:43 +0300 Vitaliy Makkoveev wrote: > On Tue, Jan 31, 2023 at 01:40:19PM +0900, YASUOKA Masahiko wrote: >> Hi, >> >> On Sun, 29 Jan 2023 14:35:05 +0300 >> Vitaliy Makkoveev wrote: >> > While switchind pppx(4) and pppac(4) from selwakeup() to KNOTE(9), I >> > found