CVS: cvs.openbsd.org: src

2022-05-12 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2022/05/13 00:31:50 Modified files: usr.bin/ssh: scp.c sftp-client.c sftp-client.h sftp.c Log message: arrange for scp, when in sftp mode, to not ftruncate(3) files early previous behavious of unconditi

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/13 00:18:22 Modified files: usr.sbin/rpki-client: ip.c Log message: Fix unused bits handling for ip addresses If ASN1_STRING_FLAG_BITS_LEFT is set, only the lower three bits of the flags represent t

CVS: cvs.openbsd.org: src

2022-05-12 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2022/05/12 23:06:56 Modified files: sys/dev/pci: if_iwx.c if_iwxvar.h Log message: Make iwx(4) load a0-hr-b0 firmware on AX211 devices which require it. Firmware for these devices was added in iwx-firmwa

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 22:23:46 Modified files: sys/dev/pci/drm: drm_cache.c Log message: reduce diff to linux

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 21:32:08 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c Log message: drm/amdgpu: Ensure HDA function is suspended before ASIC reset >From Kai-Heng Feng 94ca25aed1234eaab273da94f548bf6f5

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 21:28:25 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c Log message: drm/amdgpu: don't set s3 and s0ix at the same time >From Mario Limonciello 060102fbd92d2d514c4a4da71d555cf9b7d65faa

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 21:24:22 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_device.c Log message: drm/amdgpu: explicitly check for s0ix when evicting resources >From Mario Limonciello 22b80bff17261427a5e152e537c

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 21:20:30 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_debugfs.c amdgpu_device.c amdgpu_object.c amdgpu_object.h amdgpu

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 21:17:30 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_virt.c Log message: drm/amdgpu: do not use passthrough mode in Xen dom0 >From Marek Marczykowski-Gorecki 1a78d8fe6606aabcbdecef1745446f

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 21:13:31 Modified files: sys/dev/pci/drm/amd/display/dc/core: dc_link_dp.c Log message: drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT >From Harry Wentland c10bab89a1bea39

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 21:05:05 Added files: sys/dev/pci/drm/include/xen: xen.h Log message: add xen.h for 5.15.39 drm

CVS: cvs.openbsd.org: src

2022-05-12 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/05/12 21:03:54 src/sys/dev/pci/drm/include/xen Update of /cvs/src/sys/dev/pci/drm/include/xen In directory cvs.openbsd.org:/tmp/cvs-serv3748/xen Log Message: Directory /cvs/src/sys/dev/pci/drm/include/xen added

Re: CVS: cvs.openbsd.org: src

2022-05-12 Thread YASUOKA Masahiko
On Thu, 12 May 2022 18:17:20 -0600 (MDT) YASUOKA Masahiko wrote: > CVSROOT: /cvs > Module name: src > Changes by: yasu...@cvs.openbsd.org 2022/05/12 18:17:20 > > Modified files: > usr.sbin/vmctl : main.c vmctl.c vmctl.h > > Log message: > Follow the recent change that the unit of

CVS: cvs.openbsd.org: src

2022-05-12 Thread YASUOKA Masahiko
CVSROOT:/cvs Module name:src Changes by: yasu...@cvs.openbsd.org 2022/05/12 18:17:20 Modified files: usr.sbin/vmctl : main.c vmctl.c vmctl.h Log message: Follow the recent change that the unit of `imgsize' argument of create_imagefile() became MB. Also change the argueme

CVS: cvs.openbsd.org: src

2022-05-12 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2022/05/12 16:13:06 Modified files: etc/mtree : special Log message: add login.conf.d to mtree, from Raf Czlonka, ok deraadt

CVS: cvs.openbsd.org: src

2022-05-12 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2022/05/12 15:33:31 Modified files: sys/dev/pci: if_iwx.c Log message: Fix setting of HT/VHT bits in rate flags of the iwx(4) Tx command. Firmware can panic if rate flags ask for HT frames in VHT mode.

CVS: cvs.openbsd.org: src

2022-05-12 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2022/05/12 14:45:01 Modified files: etc: changelist Log message: add /etc/login.conf.d/* to /etc/changelist, ok deraadt

CVS: cvs.openbsd.org: src

2022-05-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2022/05/12 14:06:46 Modified files: lib/libcrypto/asn1: tasn_dec.c Log message: Call the ASN1_OP_D2I_PRE callback after ASN1_item_ex_new(). In asn1_item_ex_d2i_choice(), only call the ASN1_OP_D2I_PRE callba

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/12 14:00:06 Modified files: lib/libcrypto/x509: x509_asid.c Log message: Small readability tweak suggested by jsing

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/12 13:58:45 Modified files: regress/lib/libcrypto/x509/rfc3779: rfc3779.c Log message: Enable X509v3_asid_subset() tests now that they no longer segfault.

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/12 13:56:43 Modified files: lib/libcrypto/x509: x509_asid.c Log message: Rewrite and fix X509v3_asid_subset() X509v3_asid_subset() assumes that both asnum and rdi are present while they are both mar

CVS: cvs.openbsd.org: src

2022-05-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2022/05/12 13:55:58 Modified files: lib/libcrypto/asn1: asn1_locl.h tasn_fre.c tasn_utl.c Log message: Rename asn1_enc_free() to asn1_enc_cleanup(). This function does not actually free an ASN1_ENCODING, wh

CVS: cvs.openbsd.org: src

2022-05-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2022/05/12 13:52:31 Modified files: lib/libcrypto/asn1: tasn_dec.c Log message: Rewrite asn1_item_ex_d2i_choice() using CBS. Now that combine no longer exists, we can also free and reallocate. ok tb@

CVS: cvs.openbsd.org: src

2022-05-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2022/05/12 13:33:19 Modified files: lib/libcrypto/asn1: asn1_locl.h tasn_dec.c tasn_utl.c Log message: Rewrite asn1_enc_save() using CBS. Rework and clean up other asn1_enc_* related functions while here.

CVS: cvs.openbsd.org: src

2022-05-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2022/05/12 13:24:38 Modified files: lib/libcrypto/asn1: tasn_utl.c Log message: Use freezero() with ASN1_ENCODING. While ASN1_ENCODING is currently only used with types that should only contain public infor

CVS: cvs.openbsd.org: src

2022-05-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2022/05/12 13:11:14 Modified files: lib/libcrypto/asn1: asn1t.h tasn_dec.c Log message: Remove ASN1_AFLG_BROKEN. This workaround was used by ASN1_BROKEN_SEQUENCE, which existed for NETSCAPE_ENCRYPTED_PKEY.

CVS: cvs.openbsd.org: src

2022-05-12 Thread Marc Espie
CVSROOT:/cvs Module name:src Changes by: es...@cvs.openbsd.org 2022/05/12 11:01:01 Modified files: usr.sbin/pkg_add/OpenBSD: PkgCreate.pm Log message: yet another stupid shadowed variable, thx sthen@

CVS: cvs.openbsd.org: src

2022-05-12 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2022/05/12 10:29:58 Modified files: sys/kern : exec_elf.c Log message: During coredumps only a single thread should be active, check this by checking that it is a single threaded process or that ps_sin

CVS: cvs.openbsd.org: src

2022-05-12 Thread George Koehler
CVSROOT:/cvs Module name:src Changes by: gkoeh...@cvs.openbsd.org2022/05/12 09:51:23 Modified files: gnu/usr.bin/clang: Makefile.inc Log message: Drop old powerpc flags from the build of clang Drop NOPIE_FLAGS = -fPIE and change CFLAGS on powerpc to be the same a

CVS: cvs.openbsd.org: src

2022-05-12 Thread Marc Espie
CVSROOT:/cvs Module name:src Changes by: es...@cvs.openbsd.org 2022/05/12 08:21:06 Modified files: usr.sbin/pkg_add/OpenBSD: PkgCreate.pm Log message: explicitly write LRU in a comment so that it's easier to find ;)

CVS: cvs.openbsd.org: src

2022-05-12 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2022/05/12 08:10:05 Modified files: sbin/fdisk : fdisk.8 Log message: And the man page change too.

CVS: cvs.openbsd.org: src

2022-05-12 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2022/05/12 07:33:00 Modified files: sys/kern : kern_event.c Log message: kqueue: Fix race condition in knote_remove() Always fetch the knlist array pointer at the start of every iteration in knote_rem

CVS: cvs.openbsd.org: src

2022-05-12 Thread Vitaliy Makkoveev
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2022/05/12 07:33:09 Modified files: sys/sys: filedesc.h Log message: Convert `fd_cmask' and `fd_refcnt' types from u_short to 32 bit types. `fd_cmask' and `fd_refcnt' are 16 bit variables which are

CVS: cvs.openbsd.org: src

2022-05-12 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2022/05/12 06:49:31 Modified files: sys/uvm: uvm_pdaemon.c Log message: Consider BUFPAGES_DEFICIT in swap_shortage. ok beck@

CVS: cvs.openbsd.org: src

2022-05-12 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2022/05/12 06:48:36 Modified files: sys/uvm: uvm_page.c uvm_page.h Log message: Introduce uvm_pagedequeue() to reduce code duplication. ok kettenis@

CVS: cvs.openbsd.org: src

2022-05-12 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2022/05/12 06:29:28 Modified files: sys/dev/pci: if_iwxvar.h Log message: Bump IWX_UCODE_SECT_MAX to allow all new AX210/AX211 fw images to be parsed successfully. Else we get "iwx0: firmware parse error

CVS: cvs.openbsd.org: src

2022-05-12 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2022/05/12 05:37:57 Modified files: sys/dev/pci: if_iwx.c Log message: Add missing AX210/AX211 devices to the device ID matching table. The driver will now actually match on all those new devices, as int

CVS: cvs.openbsd.org: src

2022-05-12 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2022/05/12 05:04:27 Modified files: sbin/fdisk : fdisk.c Log message: Prevent '-u' when operating on GPT formatted disks, as the equivalent 'update' editing command already is. Avoids the destruction of

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/12 04:53:59 Modified files: usr.sbin/rpki-client: validate.c Log message: Remove verify callback It is no longer possible to build rpki-client with LibreSSL < 3.5 or with OpenSSL built with OPENSSL_

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/12 04:50:12 Modified files: usr.sbin/rpki-client: validate.c Log message: nuke tabs

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/12 04:49:23 Modified files: usr.sbin/rpki-client: cert.c Log message: Align parsing of ipAddrBlock with autnomousSysNum We now do one allocation per address family instead of one per prefix or range

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/12 04:12:18 Modified files: regress/lib/libcrypto/x509/rfc3779: rfc3779.c Log message: Add a few more testcases for X509v3_asid_subset()

CVS: cvs.openbsd.org: src

2022-05-12 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/05/12 02:53:33 Modified files: usr.sbin/rpki-client: cert.c Log message: Tidy up IP handling Populate struct ip in the leaf functions instead of handing it through several layers and copying it along t

CVS: cvs.openbsd.org: src

2022-05-12 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2022/05/12 01:45:27 Modified files: usr.sbin/rpki-client: cert.c Log message: Refactor parsing of autonomousSysNum. Adjust code so that the allocation needed for append_as() is done upfront. OK tb@