Re: Send international text with mail(1) - proposal and patches

2023-09-25 Thread Walter Alejandro Iglesias
This new version, when it detects invalid utf-8 in the body saves a dead.letter, prints the following message and exits. $ mail -s hello user < invalid_utf8.txt Invalid or incomplete multibyte or wide character . . . message not sent. Index: send.c

Re: [patch] [arm64] cpu.c patch based on amd64 idea, provides more debug for multicore kernel

2023-09-25 Thread Klemens Nanni
On Tue, Jul 25, 2023 at 01:30:43PM +0300, Slava Voronzoff wrote: > Hi, pinging and refreshing this patch > > What it does: > allow arm64 cpus to break from the loop of waiting to start core and > drop to DDB or OS. > > Patch based on same concept in amd64 cpu.c > > Any suggestions? Good to go?

Re: rpki-client: refactor sbgp_assysnum() and sbgp_ipaddrblk()

2023-09-25 Thread Theo Buehler
On Mon, Sep 25, 2023 at 02:47:37PM +0200, Claudio Jeker wrote: > On Sat, Sep 23, 2023 at 01:23:34PM +0200, Theo Buehler wrote: > > This is a second chunk split out of the diff mentioned in my previous > > mail. It factors the parsing of ASIdentifiers and IPAddrBlocks out of > > sbgp_assysnum() and

Re: Send international text with mail(1) - proposal and patches

2023-09-25 Thread Hiltjo Posthuma
On Mon, Sep 25, 2023 at 03:13:03PM +0200, Walter Alejandro Iglesias wrote: > This new version, when it detects invalid utf-8 in the body saves a > dead.letter, prints the following message and exits. > > $ mail -s hello user < invalid_utf8.txt > Invalid or incomplete multibyte or wide

Re: Please test; midi(4): make midi{read,write}_filtops mp safe

2023-09-25 Thread Vitaliy Makkoveev
On Mon, Sep 25, 2023 at 05:39:34AM +, Visa Hankala wrote: > On Sun, Sep 24, 2023 at 11:03:54PM +0300, Vitaliy Makkoveev wrote: > > Please test this diff, I have no midi(4) devices. > > > > midi(4) already uses `audio_lock' mutex(9) for filterops, but they are > > still kernel locked. Wipe out

Re: rpki-client: refactor sbgp_assysnum() and sbgp_ipaddrblk()

2023-09-25 Thread Claudio Jeker
On Mon, Sep 25, 2023 at 04:38:48PM +0200, Theo Buehler wrote: > On Mon, Sep 25, 2023 at 02:47:37PM +0200, Claudio Jeker wrote: > > On Sat, Sep 23, 2023 at 01:23:34PM +0200, Theo Buehler wrote: > > > This is a second chunk split out of the diff mentioned in my previous > > > mail. It factors the

Re: rpki-client: refactor sbgp_assysnum() and sbgp_ipaddrblk()

2023-09-25 Thread Theo Buehler
On Mon, Sep 25, 2023 at 04:43:31PM +0200, Claudio Jeker wrote: > On Mon, Sep 25, 2023 at 04:38:48PM +0200, Theo Buehler wrote: > > On Mon, Sep 25, 2023 at 02:47:37PM +0200, Claudio Jeker wrote: > > > On Sat, Sep 23, 2023 at 01:23:34PM +0200, Theo Buehler wrote: > > > > This is a second chunk split

Re: rpki-client: refactor sbgp_assysnum() and sbgp_ipaddrblk()

2023-09-25 Thread Claudio Jeker
On Mon, Sep 25, 2023 at 05:02:06PM +0200, Theo Buehler wrote: > On Mon, Sep 25, 2023 at 04:43:31PM +0200, Claudio Jeker wrote: > > On Mon, Sep 25, 2023 at 04:38:48PM +0200, Theo Buehler wrote: > > > On Mon, Sep 25, 2023 at 02:47:37PM +0200, Claudio Jeker wrote: > > > > On Sat, Sep 23, 2023 at

Re: prevent re-upgrade in powerpc64 boot loader

2023-09-25 Thread Klemens Nanni
On Mon, Sep 25, 2023 at 05:35:40AM +, Visa Hankala wrote: > On Sat, Sep 23, 2023 at 02:26:18PM +, Klemens Nanni wrote: > > On Sat, Sep 23, 2023 at 01:11:32PM +0200, Mark Kettenis wrote: > > > > Date: Thu, 21 Sep 2023 22:30:01 + > > > > From: Klemens Nanni > > > > > > > > In

Re: vmd(8): fix deadlock during pausing

2023-09-25 Thread Mike Larkin
On Sun, Sep 24, 2023 at 01:07:43AM -0400, Dave Voutila wrote: > vmd has a sneaky little deadlock hidden in the pause logic related to > the use of mutexes and condition variables. > > When pausing, the vcpu is holding the "run" mutex. It then sleeps > waiting for the unpause condition. If the

Re: Send international text with mail(1) - proposal and patches

2023-09-25 Thread Walter Alejandro Iglesias
On Mon, 25 Sep 2023 19:00:15 +0200, Hiltjo Posthuma wrote: > On Mon, Sep 25, 2023 at 03:13:03PM +0200, Walter Alejandro Iglesias wrote: > > This new version, when it detects invalid utf-8 in the body saves a > > dead.letter, prints the following message and exits. > > > > $ mail -s hello user <

Re: prevent re-upgrade in powerpc64 boot loader

2023-09-25 Thread Theo de Raadt
Klemens Nanni wrote: > Are there more reasons or benefits to this approach than a) less intrusive > chmod() and b) more shared, overall less code? > > I obviously don't see the full picture (yet). A normal bootloader only reads from disk. No write occur. The chmod hack is a write. In the

Re: Send international text with mail(1) - proposal and patches

2023-09-25 Thread wai
On Mon, 25 Sep 2023 21:31:08 +0200, Walter wrote: > Yours are the first technical, functional corrections I got about the > code. Thanks! Let's go back in time, then. I think that what you're > telling me can be done by simply replacing "break" for "return" in my > original function. Tell me

Re: rpki-client: pass talid to callers of cert_parse_ee_cert()

2023-09-25 Thread Claudio Jeker
On Sat, Sep 23, 2023 at 12:59:48PM +0200, Theo Buehler wrote: > This is a boring mechanical diff that splits some of the noise out of a > larger diff that Job will send out and explain in detail soon. In itself > it changes nothing. For a given product we will need to know the > originating TA for

Re: rpki-client: refactor sbgp_assysnum() and sbgp_ipaddrblk()

2023-09-25 Thread Claudio Jeker
On Sat, Sep 23, 2023 at 01:23:34PM +0200, Theo Buehler wrote: > This is a second chunk split out of the diff mentioned in my previous > mail. It factors the parsing of ASIdentifiers and IPAddrBlocks out of > sbgp_assysnum() and sbgp_ipaddrblk() and makes the latter only extract > the info from the