CVS: cvs.openbsd.org: src

2023-08-20 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2023/08/20 23:10:25

Modified files:
regress/sbin/bioctl: Makefile 

Log message:
bioctl tests needs root



CVS: cvs.openbsd.org: src

2023-08-20 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/08/20 22:59:55

Modified files:
usr.bin/ssh: serverloop.c 

Log message:
correct math for ClientAliveInterval that caused the probes to be
sent less frequently than configured; from Dawid Majchrzak



CVS: cvs.openbsd.org: src

2023-08-20 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/08/20 22:36:46

Modified files:
usr.bin/ssh: sshkey.c 

Log message:
want stdlib.h for free(3)



CVS: cvs.openbsd.org: src

2023-08-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/08/20 21:26:42

Modified files:
lib/libcrypto/man: EVP_chacha20.3 

Log message:
spelling



CVS: cvs.openbsd.org: src

2023-08-20 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2023/08/20 19:37:57

Modified files:
usr.bin/kdump  : kdump.c 

Log message:
Make kdump show kqueue1(2) flags.

OK guenther@



CVS: cvs.openbsd.org: src

2023-08-20 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2023/08/20 19:35:43

Modified files:
sys/arch/powerpc64/include: cpu.h 
sys/arch/powerpc64/powerpc64: locore.S 

Log message:
cpu_idle_{enter,leave}() are no-ops in ASM; replace them
with no-op macros.

ok gkoehler@



CVS: cvs.openbsd.org: src

2023-08-20 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/08/20 17:19:00

Added files:
regress/sbin/bioctl: Makefile 

Log message:
First tests for bioctl(8), start with scripted creation + passphrase change

These are meant for CLI bits like passphrase hashing, error handling and
interactive vs. scripted behaviour.

regress/sys/dev/softraid/ and stuff like regress/usr.sbin/installboot/
already test specific softraid(4) disciplines and disk handling.



CVS: cvs.openbsd.org: src

2023-08-20 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/08/20 16:38:49

Modified files:
regress/usr.sbin/installboot: Makefile 

Log message:
stricter devname match on bioctl(8) output avoids false positives on failure



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 16:35:52

Modified files:
regress/lib/libcrypto/cast: casttest.c 

Log message:
Make some global variables const



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 16:32:15

Modified files:
regress/lib/libcrypto/cast: casttest.c 

Log message:
Bye bye to all people out there



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 16:30:56

Modified files:
regress/lib/libcrypto/cast: casttest.c 

Log message:
Add some spaces after comma



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 16:27:52

Modified files:
regress/lib/libcrypto/cast: casttest.c 

Log message:
unifdef -D FULL_TEST



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 16:26:24

Modified files:
regress/lib/libcrypto/cast: casttest.c 

Log message:
knfmt(1) to the rescue



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 16:22:55

Modified files:
regress/lib/libcrypto/dsa: dsatest.c 

Log message:
Another OPENSSL_NO_DEPRECATED hits the bit bucket



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 16:21:00

Modified files:
regress/lib/libcrypto/dh: dhtest.c 

Log message:
Drop unnecessary OPENSSL_NO_DEPRECATED dance



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 16:20:12

Modified files:
regress/lib/libcrypto/dh: dhtest.c 

Log message:
Use a separate flags variable for the error flags in DH_check()



CVS: cvs.openbsd.org: src

2023-08-20 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/08/20 16:00:36

src/regress/sbin/bioctl

Update of /cvs/src/regress/sbin/bioctl
In directory cvs.openbsd.org:/cvs.d/hack/kn/src/regress/sbin/bioctl

Log Message:
Directory /cvs/src/regress/sbin/bioctl added to the repository



CVS: cvs.openbsd.org: src

2023-08-20 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/08/20 13:52:40

Modified files:
lib/libc/sys   : kqueue.2 

Log message:
remove "flag" from the Dv line;



CVS: cvs.openbsd.org: src

2023-08-20 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2023/08/20 10:48:04

Modified files:
distrib/sets/lists/base: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 10:25:48

Modified files:
sys/lib/libz   : deflate.c inftrees.c zlib.h 

Log message:
Sync zlib 1.3 with userland



CVS: cvs.openbsd.org: src

2023-08-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/20 10:25:09

Modified files:
lib/libz   : ChangeLog README deflate.c inftrees.c zlib.h 

Log message:
Bump zlib version to 1.3

We have been pulling in all actual changes over the past months, so this
is only a version number bump. The relevant entries of the ChangeLog are:

* Building using K&R (pre-ANSI) function definitions is no longer supported.
* Fixed a bug in deflateBound() for level 0 and memLevel 9.
* Fixed a bug when gzungetc() is used immediately after gzopen().
* Fixed a bug when using gzflush() with a very small buffer.
* Fixed a crash when gzsetparams() is attempted for a transparent write.

ok deraadt miod millert



CVS: cvs.openbsd.org: src

2023-08-20 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2023/08/20 09:19:34

Modified files:
regress/sys/kern/kqueue: Makefile main.c main.h 
Added files:
regress/sys/kern/kqueue: kqueue-exec.c 

Log message:
Add initial regress tests for kqueue1(2)



CVS: cvs.openbsd.org: src

2023-08-20 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2023/08/20 09:17:53

Modified files:
lib/libc   : Symbols.list 
lib/libc/hidden/sys: event.h 
lib/libc/sys   : Makefile.inc kqueue.2 pledge.2 
lib/librthread : shlib_version 

Log message:
Add syscall stub for kqueue1(2)

This rides previous libc minor bump.

Feedback and OK guenther@



CVS: cvs.openbsd.org: src

2023-08-20 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2023/08/20 09:14:20

Modified files:
sys/kern   : init_sysent.c syscalls.c 
sys/sys: syscall.h syscallargs.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2023-08-20 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2023/08/20 09:13:43

Modified files:
sys/kern   : kern_event.c kern_pledge.c syscalls.master 
sys/sys: event.h 

Log message:
Add kqueue1() system call

kqueue1() takes the flags argument. This lets the kqueue file descriptor
be opened with O_CLOEXEC. Adapted from NetBSD.

OK guenther@



CVS: cvs.openbsd.org: src

2023-08-20 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/08/20 09:02:51

Modified files:
distrib/sets/lists/base: mi 
distrib/sets/lists/comp: mi 
include: Makefile 
lib/libc   : Symbols.list shlib_version 
lib/libc/locale: Makefile.inc mbrtowc.3 wcrtomb.3 
Added files:
include: uchar.h 
lib/libc/hidden: uchar.h 
lib/libc/locale: c16rtomb.3 c16rtomb.c c32rtomb.c mbrtoc16.3 
 mbrtoc16.c mbrtoc32.c 

Log message:
Provide C11 .
OK millert@.
Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port.
I originally wrote the code in 2022 at the prodding of espie@.
Using one improvement to a manual page from jmc@.