[patch] Remove dead code in uvm_pmr_getpages()

2023-06-10 Thread Chris Waddey
Hello. The diff in this email removes dead code in uvm_pmr_getpages(). This had bothered me for a bit because I had intuitively believed it wasn't necessary, but had never bothered to fully convince myself. Since I have now, I'll share the reasoning. This diff concerns the following bit of code:

Re: libtls, smtpd: switch to EC_KEY_METHOD

2023-06-10 Thread Omar Polo
On 2023/05/25 19:23:48 +0200, Omar Polo wrote: > As far as I (and grep) can see, smtpd and the part it needs in libtls > are the only user of ECDSA_METHOD in tree. > > What I've understood talking with tb (and apologizes if I'm making > mistakes) is that ECDSA_METHOD was replaced with EC_KEY_METH

Re: iked: replace ibuf string API with stdio open_memstream()

2023-06-10 Thread Theo Buehler
On Sat, Jun 10, 2023 at 11:21:20AM +0200, Claudio Jeker wrote: > On Sat, Jun 10, 2023 at 10:15:53AM +0200, Theo Buehler wrote: > > On Sat, Jun 10, 2023 at 09:00:54AM +0200, Claudio Jeker wrote: > > > Instead of building an API for ibufs to handle dynamic strings use > > > open_memstream(3) which do

Re: iked: replace ibuf string API with stdio open_memstream()

2023-06-10 Thread Claudio Jeker
On Sat, Jun 10, 2023 at 10:15:53AM +0200, Theo Buehler wrote: > On Sat, Jun 10, 2023 at 09:00:54AM +0200, Claudio Jeker wrote: > > Instead of building an API for ibufs to handle dynamic strings use > > open_memstream(3) which does the same via stdio. > > > > Now open_memstream() requires a bit mor

Re: iked: replace ibuf string API with stdio open_memstream()

2023-06-10 Thread Theo Buehler
On Sat, Jun 10, 2023 at 09:00:54AM +0200, Claudio Jeker wrote: > Instead of building an API for ibufs to handle dynamic strings use > open_memstream(3) which does the same via stdio. > > Now open_memstream() requires a bit more plumbing (one needs to close the > FILE stream and free the buffer) bu

iked: replace ibuf string API with stdio open_memstream()

2023-06-10 Thread Claudio Jeker
Instead of building an API for ibufs to handle dynamic strings use open_memstream(3) which does the same via stdio. Now open_memstream() requires a bit more plumbing (one needs to close the FILE stream and free the buffer) but on the plus side you can use all stdio functions like fprintf() to fill