CVS: cvs.openbsd.org: src

2023-09-18 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/09/18 19:22:31

Modified files:
lib/libssl : ssl_lib.c 

Log message:
More 0/NULL confusions in SSL_CTX_new()



CVS: cvs.openbsd.org: src

2023-09-18 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/09/18 19:19:45

Modified files:
lib/libssl : ssl_lib.c 

Log message:
Fix some NULL/0 misspellings in SSL_CTX_new()



CVS: cvs.openbsd.org: src

2023-09-18 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2023/09/18 19:14:05

Modified files:
usr.bin/awk: b.c 

Log message:
Compare int value against 0, not '\0', for consistency.



CVS: cvs.openbsd.org: src

2023-09-18 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2023/09/18 17:33:21

Modified files:
usr.bin/awk: b.c 

Log message:
Fix a bad cast to char * that causes incorrect results on big endian.

Now that awk stores chars as int we need to cast the Node * to int *.



CVS: cvs.openbsd.org: src

2023-09-18 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/09/18 16:38:16

Modified files:
lib/libcrypto/aes/asm: aesni-x86_64.pl 

Log message:
aesni_ctr32_encrypt_blocks() is called indirectly from C code, so it
needs endbr64
ok kettenis tb



CVS: cvs.openbsd.org: src

2023-09-18 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2023/09/18 13:32:20

Modified files:
usr.bin/awk: awk.h b.c main.c run.c 

Log message:
Disable utf-8 for non-multibyte locales, such as C or POSIX.

This makes it possible to get the old awk behavior (where chars are
bytes) by setting LC_CTYPE to C or POSIX.  OK schwarze@



CVS: cvs.openbsd.org: src

2023-09-18 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2023/09/18 12:33:17

Modified files:
regress/usr.bin/sed: sedtest.sh 

Log message:
Favor jot while generating characters within the [1, 256) range as awk
recently became utf-8 aware.

ok millert@



CVS: cvs.openbsd.org: src

2023-09-18 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/09/18 11:25:15

Modified files:
lib/libtls/man : tls_read.3 

Log message:
remove tls_reset(3) from the NAME, SYNOPSIS, and HISTORY sections
because it is documented in the separate tls_client(3) manual page



CVS: cvs.openbsd.org: src

2023-09-18 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/09/18 11:01:41

Modified files:
sys/arch/riscv64/riscv64: pmap.c 

Log message:
Reuse pmap_pte_insert() in pmap_clear_modify()

Stricter code which further reduces the difference between the pmap of
arm64 and riscv64 and also the number of functions where member pted_pte
is manipulated.

ok drahn@ kettenis@



CVS: cvs.openbsd.org: src

2023-09-18 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/09/18 09:26:46

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

Log message:
PEM_def_callback(3) does not truncate its argument but merely the copy,
plus a few wording improvements



CVS: cvs.openbsd.org: src

2023-09-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/09/18 09:20:48

Modified files:
usr.bin/awk: awk.1 main.c 

Log message:
add --csv to usage(), and reformat it to match manual; while here,
reformat a lengthy line in awk.1;

ok millert



CVS: cvs.openbsd.org: www

2023-09-18 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:www
Changes by: o...@cvs.openbsd.org2023/09/18 09:17:32

Modified files:
.  : events.html 
Added files:
papers : eurobsdcon2023-otto-malloc.pdf 

Log message:
EuroBSDCon 2023 malloc slides



CVS: cvs.openbsd.org: src

2023-09-18 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/09/18 09:16:22

Modified files:
usr.bin/awk: run.c 

Log message:
2 cases of c99 for-scope variable decl, when a variable already exists
in scope.  but a 3rd similar situation in the same scope exists also,
which does not create a new variable, and uses the upper scope variable.
Pretty sloppy stuff.
ok millert



CVS: cvs.openbsd.org: src

2023-09-18 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/09/18 08:49:43

Modified files:
lib/libcrypto/man: CRYPTO_set_ex_data.3 RSA_get_ex_new_index.3 

Log message:
Rewrite RSA_get_ex_new_index(3) and CRYPTO_set_ex_data(3) from scratch.
The defects of the old pages were too numerous to list in full but included
vagueness, gaps, misleading statements, bad ordering, and duplication.
Use my Copyright since none of the text we inherited from OpenSSL remains.

Without doing a thorough review, tb@ thinks he likes the new pages
after quickly reading through both of them.



CVS: cvs.openbsd.org: src

2023-09-18 Thread Igor Sobrado
CVSROOT:/cvs
Module name:src
Changes by: sobr...@cvs.openbsd.org 2023/09/18 08:44:21

Modified files:
etc/examples   : radiusd.conf 

Log message:
match style used in revision 1.16 of src/etc/examples/radiusd.conf

ok yasuoka@



CVS: cvs.openbsd.org: src

2023-09-18 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/09/18 08:25:05

Modified files:
distrib/sets/lists/base: md.alpha md.hppa md.landisk md.luna88k 
 md.sparc64 
distrib/sets/lists/comp: gcc.alpha gcc.hppa gcc.landisk 
 gcc.luna88k gcc.sparc64 

Log message:
sync to 7.4



CVS: cvs.openbsd.org: src

2023-09-18 Thread Robert Nagy
CVSROOT:/cvs
Module name:src
Changes by: rob...@cvs.openbsd.org  2023/09/18 07:29:00

Modified files:
sys/sys: videoio.h 

Log message:
The CTA-861 standards have been updated to refer to opRGB instead
of AdobeRGB. The official standard is in fact named opRGB, so
switch to that.

The two old defines referring to ADOBERGB in the public API are
put under #ifndef _KERNEL and a comment mentions that they are
deprecated.

This keeps us in sync with the linux header.

ok feinerer@, mpi@, deraadt@



CVS: cvs.openbsd.org: src

2023-09-18 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/09/18 07:18:25

Modified files:
sys/sys: param.h 

Log message:
crank to 7.4-beta



CVS: cvs.openbsd.org: src

2023-09-18 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/09/18 07:16:13

Modified files:
share/mk   : sys.mk 
etc/root   : root.mail 
sys/conf   : newvers.sh 
sys/arch/macppc/stand/tbxidata: bsd.tbxi 
usr.bin/signify: signify.1 

Log message:
crank to 7.4-beta



CVS: cvs.openbsd.org: www

2023-09-18 Thread Klemens Nanni
CVSROOT:/cvs
Module name:www
Changes by: k...@cvs.openbsd.org2023/09/18 04:50:54

Modified files:
.  : events.html 

Log message:
merge 2023 entries



CVS: cvs.openbsd.org: www

2023-09-18 Thread Klemens Nanni
CVSROOT:/cvs
Module name:www
Changes by: k...@cvs.openbsd.org2023/09/18 04:27:29

Modified files:
.  : events.html 
Added files:
papers : eurobsdcon2023-kn-installer.pdf 

Log message:
EuroBSDCon 2023 is over, add my slides



CVS: cvs.openbsd.org: src

2023-09-18 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2023/09/18 00:47:21

Modified files:
sys/dev/pci: if_mcx.c 

Log message:
Add 100GB LR4 Ethernet capability and map it to IFM_100G_LR4.
This isn't listed in the public PRM but it can be found in the Linux driver.

from Olivier Croquin