Re: libsoup2/3 conflicts and gstreamer1 [Re: audio/quodlibet & devel/libsoup]

2022-08-11 Thread Stuart Henderson
Moving from ports@. Quick intro: A library (gstreamer1) uses functions from another library (libsoup) which exists in two incompatible versions (libsoup-2.4.so.XX and libsoup-3.0.so.XX). Other software calling gstreamer might use one or other of these two libsoups for its own purposes, so

Re: slowcgi, httpd and fastcgi abnormal termination

2022-08-11 Thread Claudio Jeker
On Wed, Aug 10, 2022 at 09:45:44PM +0200, Omar Polo wrote: > On 2022/08/10 15:07:15 +0200, Claudio Jeker wrote: > > On Sun, Aug 07, 2022 at 11:10:22AM +0200, Omar Polo wrote: > > > blob - ddf83f965d0e6a99ada695694bea77b775bae2aa > > > blob + 1d577ba63efca388ca3644d1a52d9b3d9f246014 > > > ---

Re: slowcgi, httpd and fastcgi abnormal termination

2022-08-11 Thread Florian Obser
On 2022-08-11 11:39 +02, Claudio Jeker wrote: > On Wed, Aug 10, 2022 at 09:45:44PM +0200, Omar Polo wrote: >> On 2022/08/10 15:07:15 +0200, Claudio Jeker wrote: >> > On Sun, Aug 07, 2022 at 11:10:22AM +0200, Omar Polo wrote: >> > Should slowcgi kill the command if SCRIPT_DONE is not set? >> >>

Re: echo(1): check for stdio errors

2022-08-11 Thread Stuart Henderson
On 2022/08/10 19:37, Scott Cheloha wrote: > On Thu, Aug 11, 2022 at 02:22:08AM +0200, Jeremie Courreges-Anglas wrote: > > On Wed, Aug 10 2022, Scott Cheloha wrote: > > > [...] > > > > > > 1. Our ksh(1) already checks for stdout errors in the echo builtin. > > > > So do any of the scripts in our

ipv4 and ipv6 fragment refactoring

2022-08-11 Thread Alexander Bluhm
Hi, ip_fragment() and ip6_fragment() do nearly the same thing, but they are implemented differently. The idea of this diff is to move things around. Then only differences from the IP standards but not in coding style remain. This allows to compare both functions easily. In IPv4 assume that

Re: slowcgi, httpd and fastcgi abnormal termination

2022-08-11 Thread Claudio Jeker
On Thu, Aug 11, 2022 at 11:49:12AM +0200, Florian Obser wrote: > On 2022-08-11 11:39 +02, Claudio Jeker wrote: > > On Wed, Aug 10, 2022 at 09:45:44PM +0200, Omar Polo wrote: > >> On 2022/08/10 15:07:15 +0200, Claudio Jeker wrote: > >> > On Sun, Aug 07, 2022 at 11:10:22AM +0200, Omar Polo wrote: >

subscribe

2022-08-11 Thread David Anthony
subscribe

rpki-client: replace unchecked X509_dup() with X509_up_ref()

2022-08-11 Thread Theo Buehler
There is no need to make a deep copy of the certificate that was deserialized as part of the d2i_CMS_ContentInfo() call. We can as well keep a reference to it. While X509_dup() can actually fail, X509_up_ref() can't. It seems cleaner to have a check. Index: cms.c

Re: Framework/PixArt clickpad quirk

2022-08-11 Thread Laurence Tratt
On Sat, Aug 06, 2022 at 06:05:30PM +0100, Laurence Tratt wrote: > The Framework clickpad (a PixArt PIXA3854) announces that it has 4 buttons > which defeats the normal heuristic of "2 or more buttons means it's a > touchpad". When it's identified as a touchpad, right hand mouse clicks don't >

ip6 routing header 0 offset

2022-08-11 Thread Alexander Bluhm
Hi, The IPv6 routing header type 0 check should modify *offp only in case of an error, so that the genrated icmp6 packet has the correct pointer. After successful return, *offp should not be modified. ok? bluhm Index: netinet6/ip6_input.c

httpd server_fcgi_read vs HEAD requests

2022-08-11 Thread Claudio Jeker
Reading through the fcgi code of httpd I wonder if HEAD requests are handled correctly. In server_fcgi_read() the function just returns when it hits the HEAD case but I think this is not correct since it does not drain the clt_srvevb buffer and it kind of ignores possible padding bytes. I think

netstat ip input dropped counter

2022-08-11 Thread Alexander Bluhm
Hi, There are some places in ip and ip6 input where operations fail due to out of memory. I think a generic idropped counter is useful for those. ok? bluhm Index: sys/netinet/ip_input.c === RCS file:

Re: httpd server_fcgi_read vs HEAD requests

2022-08-11 Thread Omar Polo
On 2022/08/11 19:37:08 +0200, Claudio Jeker wrote: > Reading through the fcgi code of httpd I wonder if HEAD requests are > handled correctly. In server_fcgi_read() the function just returns when it > hits the HEAD case but I think this is not correct since it does not drain > the clt_srvevb

renice(8): don't succeed after 256 errors

2022-08-11 Thread Scott Cheloha
This is a good one. $ renice -n -1 -p 1 ; echo $? renice: setpriority: 1: Operation not permitted 1 $ renice -n -1 -p 1 1 ; echo $? renice: setpriority: 1: Operation not permitted renice: setpriority: 1: Operation not permitted 2 $ renice -n -1 -p 1 1 1 ; echo $? renice: setpriority: 1: Operation

VisionFive RISC-V board questions

2022-08-11 Thread Bryan Everly
Hi, I recently purchased a VisionFive board (8GB of RAM + video) and wanted to run OpenBSD on it. The FAQ states that this board needs "Some firmware configuration tweaks" to boot OpenBSD. I have searched the mailing list archives on marc.info and was unable to find anything on this. I have

Re: httpd server_fcgi_read vs HEAD requests

2022-08-11 Thread Claudio Jeker
On Thu, Aug 11, 2022 at 08:41:43PM +0200, Omar Polo wrote: > On 2022/08/11 19:37:08 +0200, Claudio Jeker wrote: > > Reading through the fcgi code of httpd I wonder if HEAD requests are > > handled correctly. In server_fcgi_read() the function just returns when it > > hits the HEAD case but I think

Re: renice(8): don't succeed after 256 errors

2022-08-11 Thread Todd C . Miller
On Thu, 11 Aug 2022 17:55:08 -0500, Scott Cheloha wrote: > Fix is to just set error instead of incrementing it. Sure. OK millert@ - todd

Re: OpenBSD Errata: August 12, 2022 (zlib)

2022-08-11 Thread Dave Voutila
enh writes: > is there a CVE or PoC for the zlib bug? it seems like OpenBSD is the > only place where this has been fixed, and none of the various > upstreams/forks of zlib (of which there are far too many!) seem to > have this? > See upstream:

Re: OpenBSD Errata: August 12, 2022 (zlib)

2022-08-11 Thread Theo Buehler
On Thu, Aug 11, 2022 at 01:07:53PM -0700, enh wrote: > is there a CVE or PoC for the zlib bug? it seems like OpenBSD is the > only place where this has been fixed, and none of the various > upstreams/forks of zlib (of which there are far too many!) seem to > have this? Details are here:

[RFC] Adding ESRT and EFI vars support for fwupd

2022-08-11 Thread Sergii Dmytruk
Hello OpenBSD devs, Background -- As some might know, FreeBSD gained an interface for querying ESRT about a year ago ([1], [2]), which was done as part of [3]. [1]: https://reviews.freebsd.org/rGd12d651f8692cfcaf6fd0a6e8264c29547f644c9 [2]:

[RFC] Adding ESRT and EFI variables for fwupd

2022-08-11 Thread Sergii Dmytruk
Hello OpenBSD devs, Background -- As some might know, FreeBSD gained an interface for querying ESRT about a year ago ([1], [2]), which was done as part of [3]. [1]: https://reviews.freebsd.org/rGd12d651f8692cfcaf6fd0a6e8264c29547f644c9 [2]:

Add ksh editing utf-8 encoding support

2022-08-11 Thread duzhiwei
Hello, Added support for utf-8 editing in emacs mode and vi mode for ksh, and fixed some utf-8 encoding issues. it is good? Index: bin/ksh/emacs.c === RCS file: /cvs/src/bin/ksh/emacs.c,v retrieving revision 1.89 diff -u -p -u

Add ksh editing utf-8 encoding support

2022-08-11 Thread duzhiwei
Hello, Added support for utf-8 editing in emacs mode and vi mode for ksh, and fixed some utf-8 encoding issues. it is good? Index: bin/ksh/emacs.c === RCS file: /cvs/src/bin/ksh/emacs.c,v retrieving revision 1.89 diff -u -p -u

Add ksh editing utf-8 encoding support

2022-08-11 Thread duzhiwei
Hello, Added support for utf-8 editing in emacs mode and vi mode for ksh, and fixed some utf-8 encoding issues. it is good? Index: bin/ksh/emacs.c === RCS file: /cvs/src/bin/ksh/emacs.c,v retrieving revision 1.89 diff -u -p -u

OpenBSD Errata: August 12, 2022 (zlib)

2022-08-11 Thread Alexander Bluhm
Errata patches for zlib have been released for OpenBSD 7.0 and 7.1. 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/errata70.html

arm64: installboot: support softraid

2022-08-11 Thread Klemens Nanni
Booting off softraid on arm64 is supported but installboot(8) has no softraid(4) support on arm64. This means installboot always copies the single bootstrap efiboot on the root volume and completely ignores softraid chunks, so root on softraid on arm64 is unable to boot unless one manually drops