CVS: cvs.openbsd.org: src

2023-12-14 Thread Jonathan Matthew
CVSROOT:/cvs Module name:src Changes by: jmatt...@cvs.openbsd.org2023/12/14 23:03:01 Modified files: distrib/amd64/ramdisk_cd: Makefile distrib/amd64/iso: Makefile Log message: For amd64 cdXX.iso and installXX.iso, create an EFI system partition image

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 18:51:23 Modified files: lib/libcrypto/objects: obj_dat.c Log message: Hoist OBJ_sn2nid() over OBJ_ln2nid() In all other places, the short name comes before the long name, so fix the only

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 18:47:50 Modified files: lib/libcrypto/objects: obj_dat.c Log message: Coverity rightly points out that an unsigned int is always >= 0

CVS: cvs.openbsd.org: src

2023-12-14 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2023/12/14 17:24:57 Modified files: sys/netinet: in_pcb.h ip_gre.c raw_ip.c sys/netinet6 : in6_src.c raw_ip6.c Log message: Use inpcb table mutex to set addresses. Protect all remaining

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:32:49 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create: sorry Omar, aobj is a better name than op Done.

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:31:03 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create: use a nid variable to avoid nested function call

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:16:13 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create: malloc() -> calloc()

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:15:21 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create: test and assign as usual

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:12:51 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create: initialize buf and turn function into single exit

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:10:32 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create: rename ok to ret and make it last declaration

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:09:35 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create(): rename i to len

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:08:18 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create(): remove pointless parentheses

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 11:06:44 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OBJ_create(): remove useless cast

CVS: cvs.openbsd.org: www

2023-12-14 Thread Stefan Hagen
CVSROOT:/cvs Module name:www Changes by: s...@cvs.openbsd.org2023/12/14 10:45:59 Modified files: faq/ports : guide.html . : plus32.html plus31.html 69.html Log message: Fix manpage links ...and thanks for the hint that I don't need OKs for

CVS: cvs.openbsd.org: www

2023-12-14 Thread Alexander Bluhm
CVSROOT:/cvs Module name:www Changes by: bl...@cvs.openbsd.org 2023/12/14 08:33:38 Modified files: . : errata73.html errata74.html Log message: Release xserver errata.

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 08:33:09 Modified files: lib/libcrypto/objects: obj_dat.c Log message: OPENSSL_assert() that the passed nid is within range discussed with deraadt and jsing

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 08:31:22 Modified files: lib/libcrypto : cryptlib.c Log message: Bump OPENSSL_showfatal() from LOG_INFO to LOG_CONS This way people can actually notice that an OPENSSL_assert() triggered.

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 07:45:45 Modified files: lib/libcrypto/objects: obj_dat.c Log message: Move the txt to obj/nid conversions a bit down. No code change

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 07:33:23 Modified files: lib/libcrypto/objects: obj_dat.c Log message: Dedup OBJ_nid2{obj,sn,ln}() First get the obj corresponding to nid, then inspect its sn and ln. Shaves off 40 lines of code

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 07:04:57 Modified files: sys/kern : kern_malloc.c Log message: Workaround for broken clang which has a broken -fno-zero-initialized-in-bss implementation. Set nkmempages to -1 by default

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 07:04:46 Modified files: lib/libcrypto/objects: obj_dat.c Log message: Simplify OBJ_nid2obj() This is now yet another identical copy of the same code... Next step will be to dedup. ok jsing

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 07:02:57 Modified files: lib/libcrypto/objects: obj_dat.c Log message: Simplify OBJ_nid2sn() This is exactly the same as the previous OBJ_nid2ln() change modulo s/ln/sn/g. ok jsing

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 07:01:42 Modified files: lib/libcrypto/objects: obj_dat.c Log message: Simplify OBJ_nid2ln() If nid is in the range of built-in NIDs, return the corresponding long name, unless some genius left

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 06:52:38 Modified files: usr.sbin/bgpd : rde.c rtr.c session.c Log message: Mostly straightforward conversion to imsg_get_fd() only the handling of the control socket needs a local variable

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 06:34:23 Modified files: share/man/man4 : options.4 Log message: There is no more option NKMEMPAGES_MAX OK miod@

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 06:26:50 Modified files: sys/arch/alpha/include: param.h sys/arch/amd64/include: param.h sys/arch/arm/include: param.h sys/arch/arm64/include: param.h

CVS: cvs.openbsd.org: src

2023-12-14 Thread Job Snijders
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/12/14 05:26:04 Modified files: etc/rpki : afrinic.constraints Log message: Constrain the AFRINIC TA further Today AFRINIC clarified its actual current resource holdings by issuing a new CA

CVS: cvs.openbsd.org: src

2023-12-14 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/12/14 05:02:10 Modified files: lib/libcrypto/x509: x509_vpm.c Log message: Fix sk_deep_copy() implementation sk_deep_copy() is bad code. It is less bad than the upstream code, but still bad: it passes

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 04:58:09 Modified files: sys/kern : kern_malloc.c Log message: Bring default logic to set nkmempages into the 21st century. The new logic is: Up to 1G physmem use physical memory / 4,

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 04:10:19 Modified files: usr.sbin/ldpd : lde.c ldpe.c Log message: Use imsg_get_fd() to access the file descriptor passed in the imsg. OK tb@

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 04:09:56 Modified files: usr.sbin/eigrpd: eigrpe.c rde.c Log message: Use imsg_get_fd() to access the file descriptor passed in the imsg. OK tb@

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 04:09:34 Modified files: usr.sbin/rad : engine.c frontend.c Log message: Use imsg_get_fd() to access the file descriptor passed in the imsg. OK tb@

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 03:02:27 Modified files: usr.sbin/eigrpd: packet.c Log message: Rewrite send_packet to update the eigrp header without using ibuf_seek. There is a long term goal to remove ibuf_seek from the

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 02:59:27 Modified files: sbin/unwind: frontend.c resolver.c Log message: Use imsg_get_fd() to access the fd passed with the imsg. Go ahead florian@ OK tb@

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 02:58:59 Modified files: sbin/slaacd: engine.c frontend.c Log message: Use imsg_get_fd() to access the fd passed with the imsg. Go ahead florian@ OK tb@

CVS: cvs.openbsd.org: src

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/12/14 02:58:37 Modified files: sbin/dhcpleased: engine.c frontend.c Log message: Use imsg_get_fd() to access the fd passed with the imsg. Go ahead florian@ OK tb@

CVS: cvs.openbsd.org: xenocara

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:xenocara Changes by: clau...@cvs.openbsd.org 2023/12/14 02:46:10 Modified files: app/xlockmore/xlock: xlock.c Log message: Replace another memset() with explicit_bzero() since the goal is the reason why we have explicit_bzero(). OK matthieu@

CVS: cvs.openbsd.org: xenocara

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:xenocara Changes by: clau...@cvs.openbsd.org 2023/12/14 02:44:15 Modified files: app/xlockmore/xlock: privsep.c Log message: Use proper len in strndup() call for the style argument. OK matthieu@

CVS: cvs.openbsd.org: src

2023-12-14 Thread Job Snijders
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/12/14 02:13:00 Modified files: etc/rpki : apnic.constraints Log message: For historical reasons, APNIC ended up with a v6 block for IX assignments carved out of a larger block assigned to RIPE