CVS: cvs.openbsd.org: src

2021-12-28 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2021/12/29 00:16:30 Modified files: regress/sys/dev/kcov: Makefile kcov.c Log message: Ensure file descriptor send/receive is not allowed.

CVS: cvs.openbsd.org: src

2021-12-28 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2021/12/29 00:15:13 Modified files: sys/dev: kcov.c sys/kern : uipc_usrreq.c sys/sys: kcov.h Log message: Do not allow send/receive of kcov descriptors as the file

CVS: cvs.openbsd.org: src

2021-12-28 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2021/12/28 17:04:45 Modified files: sbin/fdisk : gpt.c Log message: Tweak some DEBUG output. Always put '0x' prefix in front of displayed hex values, i.e. the checksums. Add missing letoh32() so bad

CVS: cvs.openbsd.org: src

2021-12-28 Thread Vitaliy Makkoveev
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2021/12/28 17:04:35 Modified files: regress/sys/kern/unixsockets: unsopassgc.c Log message: Add unp_dispose() threads to 'unsopassgc' test.

CVS: cvs.openbsd.org: src

2021-12-28 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2021/12/28 16:44:02 Modified files: sbin/fdisk : gpt.c Log message: Tweak some DEBUG output. 'EFI PART' reads better than "TRAP IFE" and checksums are easier to read/compare when shown in hex rather

CVS: cvs.openbsd.org: src

2021-12-28 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2021/12/28 16:13:20 Modified files: sys/net: if_veb.c Log message: whitespace tweak, no functional change.

CVS: cvs.openbsd.org: src

2021-12-28 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2021/12/28 16:10:58 Modified files: sys/net: if_veb.c Log message: it doesnt make sense to configure a vport as a span port.

CVS: cvs.openbsd.org: src

2021-12-28 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2021/12/28 16:10:30 Modified files: sys/net: if_veb.c Log message: move away from using the M_PROTO1 flag to prevent loops with vports if a vlan interface is configured on a vport interface,

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 14:23:40 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Fix typo in comment

CVS: cvs.openbsd.org: src

2021-12-28 Thread Christian Weisgerber
CVSROOT:/cvs Module name:src Changes by: na...@cvs.openbsd.org 2021/12/28 14:14:24 Modified files: gnu/llvm/lld/ELF: Driver.cpp gnu/llvm/lld/docs: ld.lld.1 Log message: lld: restore upstream default for --[no-]allow-shlib-undefined ok patrick@ kettenis@

CVS: cvs.openbsd.org: src

2021-12-28 Thread Christian Weisgerber
CVSROOT:/cvs Module name:src Changes by: na...@cvs.openbsd.org 2021/12/28 14:13:21 Modified files: gnu/llvm/lld/ELF: InputFiles.cpp Log message: lld: do not report undefined weak references in shared libraries

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 14:06:01 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Use lowercase letters for hexadecimal constants, as both jsing and I prefer this.

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 14:00:27 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Rewrite X509v3_addr_canonize() with new accessors This is again a straightforward conversion and leads to something which

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 13:58:05 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Validate AFIs before sorting in X509v3_adr_canonize() Again, we're dealing with necessarily not fully validated data here,

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 13:50:37 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Rewrite/simplify X509v3_addr_is_canonical() This is a more or less straightforward conversion using the new IPAddressFamily

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 13:44:56 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Check AFI/SAFI before comparing them in X509v3_addr_is_canonical() As mentioned in a previous commit, IPAddressFamily_cmp()

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 13:07:17 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Make IPAddressFamily_cmp() more pleasing on the eye Define and use MINIMUM() instead of a ternary operator and separate the

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 12:59:33 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Style improvements in X509v3_addr_add_range() ok jsing

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 12:56:45 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Style improvements in X509v3_addr_add_prefix() ok jsing

CVS: cvs.openbsd.org: src

2021-12-28 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2021/12/28 10:50:10 Modified files: sys/dev: kcov.c Log message: The initial kd_lookup() in kcovopen() is redundant as kcov is a cloning device. Turn it into an assertion instead to better state the

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 10:45:41 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Another small readability tweak in X509v3_addr_inherits() Declare IPAddressFamily before using it.

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 10:25:46 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Use an accessor in X509v3_addr_inherits()

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 09:40:13 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Add a comment to i2r_IPAddrBlocks that we may want/have to deal with unknown address family types. Pointed out by jsing

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 09:37:37 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Add a few accessors for IPAddressFamily and make first use of them One reason why this file is hard to read are endless

CVS: cvs.openbsd.org: src

2021-12-28 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/12/28 09:29:59 Modified files: sys/arch/amd64/conf: Makefile.amd64 Log message: Now that -A prints -- markers as it is supposed to filter them out when doing the consistency check for locore.o; ok

CVS: cvs.openbsd.org: src

2021-12-28 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/12/28 09:27:53 Modified files: usr.bin/grep : util.c Log message: Fix printing of -- marker when using -A as noted by gnezdo@ ok millert@

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 09:26:53 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Simplify and explain expand_addr() a bit RFC 3779 section 2.1.2 does a decent job of explaining how IP addresses are encoded

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 09:21:59 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Add a comment so I don't forget to think about input validation in make_IPAddressFamily()

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 09:10:47 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Convert make_IPAddressFamily to CBS/CBB The IPAddrBlocks type, which represents the IPAddrBlocks extension, should have

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 09:05:24 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Remove two pointless NULL checks and allocations The ASN.1 template for IPAddressFamily doesn't mark either of its two

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 08:59:13 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Check for trailing garbage in X509_addr_get_afi() Per RFC 3779 2.2.3.3, the addressFamily field contains the 2-byte AFI and

CVS: cvs.openbsd.org: src

2021-12-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/12/28 08:49:11 Modified files: lib/libcrypto/x509: x509_addr.c Log message: Convert X509v3_adr_get_afi() to CBS The manual byte bashing is performed more safely using this API which would have avoided

CVS: cvs.openbsd.org: src

2021-12-28 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2021/12/28 08:45:17 Modified files: gnu/lib/libcompiler_rt: Makefile Log message: Compile out-of-line helpers for atomic operations which can be enabled through -moutline-atomics. These are included by

CVS: cvs.openbsd.org: src

2021-12-28 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2021/12/28 06:16:28 Modified files: sys/uvm: uvm_fault.c Log message: Unlock bottom part of the fault handler. Tested by many during the past months, thanks! ok sthen@

CVS: cvs.openbsd.org: src

2021-12-28 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/12/28 04:59:48 Modified files: usr.bin/rsync : io.c Log message: In io_write_buf() adjust the calculation of the multiplex message size so that the loop works even for buffers bigger than 0xff.