Re: libcrypto: Fix EINVAL in openssl/tls_init

2023-03-24 Thread Theo Buehler
> Thus, I would suggest to set this constant to ELAST. So, we will avoid > useless unknown error strings and a non-zero errno after tls_init(). ELAST isn't portable. It's under __BSD_VISIBLE in sys/errno.h. It would seem better to use the save_errno idiom to store the errno at the start of the l

libcrypto: Fix EINVAL in openssl/tls_init

2023-03-24 Thread Jan Klemkow
Hi, after tls_init() and OPENSSL_init_ssl() errno is always set to EINVAL. This is caused by a routine that tries to prefetch all error strings up to 127 from strerror(3). But, strerror(3) sets EINVAL for unknown values of error. Thus, I would suggest to set this constant to ELAST. So, we will

Re: timer(4/sparc64): remove driver

2023-03-24 Thread Claudio Jeker
On Thu, Mar 23, 2023 at 05:37:05PM -0500, Scott Cheloha wrote: > On Sat, Mar 18, 2023 at 12:17:33PM -0600, Ted Bullock wrote: > > On 2023-03-17 12:29 p.m., Mike Larkin wrote: > > > On Thu, Mar 16, 2023 at 12:25:15PM -0500, Scott Cheloha wrote: > > >> This code has been dead since we switched sparc6