CVS: cvs.openbsd.org: src

2023-08-07 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2023/08/07 22:45:44

Modified files:
bin/ls : cmp.c 
usr.sbin/makefs: ffs.c 

Log message:
Replace use of the old BSD st_*timensec members in struct stat with
the POSIX-standard st_*tim.tv_nsec members.

ok millert@



CVS: cvs.openbsd.org: src

2023-08-07 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/08/07 20:42:36

Modified files:
distrib/sets/lists/comp: mi 
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2023-08-07 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/08/07 17:10:03

Modified files:
regress/lib/libcrypto/man: check_complete.pl 

Log message:
No need to mark BN_options() as intentionally undocumented any longer.
In bn.h rev. 1.75 (July 31, 2023), tb@ removed it from the public API.

While here, stop marking BN_prime_checks as obsolete.
In BN_generate_prime.3 rev. 1.23 (May 11, 2023), tb@ documented
the constant BN_prime_checks in that manual page.



CVS: cvs.openbsd.org: src

2023-08-07 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/08/07 16:39:49

Modified files:
regress/lib/libcrypto/man: check_complete.pl 

Log message:
Mark asn1_ps_func as obsolete and intentionally undocumented.
In bio.h rev. 1.59 (July 28, 2023), tb@ removed the last four functions
that took function pointers of this type from the public API.



CVS: cvs.openbsd.org: src

2023-08-07 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/08/07 16:22:15

Modified files:
regress/lib/libcrypto/man: check_complete.pl 

Log message:
Mark BIT_STRING_BITNAME as obsolete and intentionally undocumented.
In asn1.h rev. 1.80 (July 28, 2023), tb@ removed the last three
functions that were using this data type from the public API.



CVS: cvs.openbsd.org: src

2023-08-07 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/08/07 14:28:47

Modified files:
sys/dev/ic : dwqe.c 

Log message:
Raise transmit threshold to 512 bytes.  This makes dwqe(4) work at
1000baseT.  We still see a small number of underflow errors when hammering
the interface with packets, but it is defenitely usable.

While there, make sure we count transmit errors.

ok jmatthew@



CVS: cvs.openbsd.org: src

2023-08-07 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/07 11:11:14

Modified files:
sys/arch/sparc64/sparc64: clock.c 

Log message:
Revert 1.43 and always make our own mapping of the Mostek chip. Trying to
reuse the prom mapping here is a bad idea because we alter its writeability
and the prom will not always expect this.

Repairs powerdown on Tapdole Ultrabook IIe.

discussed with and ok kettenis@



CVS: cvs.openbsd.org: src

2023-08-07 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/08/07 10:29:36

Modified files:
share/man/man4 : sec.4 

Log message:
some readability tweaks; ok dlg



CVS: cvs.openbsd.org: src

2023-08-07 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/07 05:00:54

Modified files:
regress/lib/libcrypto/bio: bio_chain.c 

Log message:
Add a regress test exercising BIO_dup_chain() and triggering the leak
fixed in bio_lib.c r1.47 as confirmed by ASAN.



CVS: cvs.openbsd.org: src

2023-08-07 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/07 04:58:56

Modified files:
lib/libcrypto/bio: bio_lib.c 

Log message:
Fix two leaks in BIO_dup_chain()

If CRYPTO_dup_ex_data() fails, the new_bio is leaked. If an error occurs
after the first iteration, all members of the new chain except the head
are leaked.

ok jsing



CVS: cvs.openbsd.org: src

2023-08-07 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/08/07 04:54:14

Modified files:
lib/libcrypto/bio: bss_sock.c 

Log message:
Add missing space before =



CVS: cvs.openbsd.org: src

2023-08-07 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/07 04:52:00

Modified files:
usr.bin/tmux   : cmd-display-menu.c 

Log message:
Free title earlier, from Alexis Hildebrandt.



CVS: cvs.openbsd.org: src

2023-08-07 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/07 04:04:29

Modified files:
usr.bin/tmux   : format-draw.c 

Log message:
Trim can generate strings longer than the original if there are many #s,
so create a bigger buffer. Reported by Robert Morris.



CVS: cvs.openbsd.org: src

2023-08-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/08/07 02:22:52

Modified files:
share/misc : airport 

Log message:
add LJG



CVS: cvs.openbsd.org: src

2023-08-07 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2023/08/07 00:21:53

Modified files:
usr.sbin/pppd/chat: chat.8 

Log message:
In 2016, chat changed its syslog output for hidden strings.
Sync the manpage to match.

markup advice jmc@