CVS: cvs.openbsd.org: src

2023-03-30 Thread Darren Tucker
CVSROOT:/cvs Module name:src Changes by: dtuc...@cvs.openbsd.org 2023/03/30 23:56:36 Modified files: usr.bin/ssh: scp.c Log message: Explicitly ignore return from waitpid here too.

CVS: cvs.openbsd.org: src

2023-03-30 Thread Darren Tucker
CVSROOT:/cvs Module name:src Changes by: dtuc...@cvs.openbsd.org 2023/03/30 22:45:08 Modified files: usr.bin/ssh: scp.c sftp.c ssh-agent.c Log message: Explictly ignore return codes where we don't check them. From Dmitry Belyavskiy via github PR#238, ok djm@

CVS: cvs.openbsd.org: src

2023-03-30 Thread Darren Tucker
CVSROOT:/cvs Module name:src Changes by: dtuc...@cvs.openbsd.org 2023/03/30 22:42:29 Modified files: usr.bin/ssh: canohost.c Log message: Return immediately from get_sock_port if sock <0 so we don't call getsockname on a negative FD. From Coverity CID 291840, ok

CVS: cvs.openbsd.org: src

2023-03-30 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2023/03/30 22:23:02 Modified files: usr.bin/ssh: readconf.c Log message: don't leak arg2 on parse_pubkey_algos error path; ok dtucker@

CVS: cvs.openbsd.org: src

2023-03-30 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2023/03/30 22:22:27 Modified files: usr.bin/ssh: auth2-gss.c Log message: clamp max number of GSSAPI mechanisms to 2048; ok dtucker

CVS: cvs.openbsd.org: src

2023-03-30 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2023/03/30 22:21:56 Modified files: usr.bin/ssh: ssh-keyscan.c Log message: don't print key if printing hostname failed; with/ok dtucker@

CVS: cvs.openbsd.org: src

2023-03-30 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2023/03/30 22:04:15 Modified files: usr.bin/ssh: clientloop.c Log message: remove redundant test

CVS: cvs.openbsd.org: src

2023-03-30 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2023/03/30 22:00:37 Modified files: usr.bin/ssh: sftp-common.c Log message: don't attempt to decode a ridiculous number of attributes; harmless because of bounds elsewhere, but better to be explicit

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Matthew
CVSROOT:/cvs Module name:src Changes by: jmatt...@cvs.openbsd.org2023/03/30 21:38:26 Modified files: usr.sbin/ypldap: ldapclient.c ypldap.c Log message: Only send the used portion of struct idm_req in imsgs from the ldapclient process to the main process. This

CVS: cvs.openbsd.org: src

2023-03-30 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2023/03/30 21:22:49 Modified files: usr.bin/ssh: sshkey.c Log message: remove unused variable; prompted by Coverity CID 291879

CVS: cvs.openbsd.org: src

2023-03-30 Thread Kevin Lo
CVSROOT:/cvs Module name:src Changes by: ke...@cvs.openbsd.org 2023/03/30 20:20:22 Modified files: share/man/man4 : igc.4 pci.4 Log message: Document i226. >From Brad.

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 20:16:10 Modified files: sys/dev/pci/drm/amd/amdkfd: kfd_crat.c Log message: drm/amdkfd: Fix the memory overrun >From Ma Jun 8c31b663edc1cc5eb5c82282ab6ca99c69d1d942 in linux-6.1.y/6.1.22

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 20:14:03 Modified files: sys/dev/pci/drm/amd/amdkfd: kfd_crat.c kfd_device.c Log message: drm/amdkfd: add GC 11.0.4 KFD support >From Yifan Zhang 132f1d39439142547d9d5e45d7744d375dd21fdc in

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 20:12:21 Modified files: sys/dev/pci/drm/amd/amdkfd: kfd_crat.c kfd_crat.h kfd_topology.c kfd_topology.h Log message: drm/amdkfd: Fix the warning of

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 20:09:05 Modified files: sys/dev/pci/drm/amd/amdkfd: kfd_crat.c Log message: drm/amdkfd: introduce dummy cache info for property asic >From Prike Liang a5528973c676dad09a1af25cd49e4312238d1428

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 20:07:09 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu.h amdgpu_acpi.c Log message: drm/amdgpu: reposition the gpu reset checking for reuse >From Tim Huang

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 20:04:27 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c Log message: drm/amdgpu: skip ASIC reset for APUs when go to S4 >From Tim Huang 9f7e1dd835ec834fb147a7725419497f0b0d83a7 in

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 20:02:47 Modified files: sys/dev/pci/drm/i915/display: intel_display.c Log message: drm/i915: Preserve crtc_state->inherited during state clearing >From Ville Syrjala

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 20:01:00 Modified files: sys/dev/pci/drm/i915: i915_active.c Log message: drm/i915/active: Fix missing debug object activation >From Nirmoy Das c355945957ef5e9bb05e0554fe4a6f92b0fcaf36 in

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:59:24 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu.h amdgpu_device.c nv.c vi.c Log message: drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi >From Kai-Heng Feng

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:56:10 Modified files: sys/dev/pci/drm/amd/display/dc/dcn32: dcn32_dccg.c Log message: drm/amd/display: fix wrong index used in dccg32_set_dpstreamclk >From Hersen Wu

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:54:30 Modified files: sys/dev/pci/drm/amd/amdgpu: nbio_v7_2.c Log message: drm/amd: Fix initialization mistake for NBIO 7.3.0 >From Mario Limonciello a0e39cdddc155926fc3c0395636b7c80e55e66a1

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:53:07 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_object.c Log message: drm/amdgpu: Fix call trace warning and hang when removing amdgpu device >From lyndonli

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:51:13 Modified files: sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn301: vg_clk_mgr.c Log message: drm/amd/display: Update clock table to include highest clock setting >From Swapnil Patel

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:49:17 Modified files: sys/dev/pci/drm/amd/display/dc/dcn32: dcn32_resource.c Log message: drm/amd/display: Set dcn32 caps.seamless_odm >From Hersen Wu 612cf2495ec6cf5834e8b4a70f599190c35cf8c8

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:47:06 Modified files: sys/dev/pci/drm/i915/gt: intel_gt.c Log message: drm/i915/gt: perform uc late init after probe error injection >From Andrzej Hajda

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:44:03 Modified files: sys/dev/pci/drm/i915/gt/uc: intel_guc_capture.c Log message: drm/i915/guc: Fix missing ecodes >From John Harrison be8c6ad6b16e6181510e35c53928381f0f39640a in

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:42:14 Modified files: sys/dev/pci/drm/i915: i915_gpu_error.h sys/dev/pci/drm/i915/gt/uc: intel_guc_capture.c Log message: drm/i915/guc: Rename GuC register state capture node to be

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:39:50 Modified files: sys/dev/pci/drm/i915/display: intel_fbdev.c Log message: drm/i915/fbdev: lock the fbdev obj before vma pin >From Tejas Upadhyay 9595d71b2a274fe365240b53ce5d03c071c3e6e0

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:38:10 Modified files: sys/dev/pci/drm/i915/display: intel_fbdev.c Log message: drm/i915: Print return value on error >From Nirmoy Das b6375c5ecd8c790e381ee3f9baeda8c9e5da4a45 in

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:36:11 Modified files: sys/dev/pci/drm/amd/display/dc/core: dc_link.c Log message: drm/amd/display: Fix DP MST sinks removal issue >From Cruise Hung ee9caccc5e5cc1092baf6fb645525bba668b01c1 in

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:34:21 Modified files: sys/dev/pci/drm/amd/display/dc/dcn32: dcn32_hwseq.c Log message: drm/amd/display: Remove OTG DIV register write for Virtual signals. >From Saaem Rizvi

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:32:38 Modified files: sys/dev/pci/drm/amd/display/dc/dcn32: dcn32_hwseq.c Log message: drm/amd/display: fix k1 k2 divider programming for phantom streams >From Aurabindo Pillai

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 19:30:52 Modified files: sys/dev/pci/drm/amd/display/dc/dcn32: dcn32_hwseq.c Log message: drm/amd/display: Include virtual signal to set k1 and k2 values >From Eric Bernstein

CVS: cvs.openbsd.org: src

2023-03-30 Thread Darren Tucker
CVSROOT:/cvs Module name:src Changes by: dtuc...@cvs.openbsd.org 2023/03/30 18:44:29 Modified files: usr.bin/ssh: monitor_wrap.c Log message: Check fd against >=0 instead of >0 in error path. The dup could in theory return fd 0 although currently it doesn't in

CVS: cvs.openbsd.org: src

2023-03-30 Thread Omar Polo
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/03/30 16:56:47 Modified files: usr.bin/mg : extend.c Log message: drop unnecessary copy of fname; ok tb@

CVS: cvs.openbsd.org: src

2023-03-30 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2023/03/30 16:53:40 Modified files: sbin/fdisk : part.c Log message: Use 'char * const' instead of #define for repeated GUID strings. Consistently use strcasecmp() when comparing GUID's, allowing use of

CVS: cvs.openbsd.org: src

2023-03-30 Thread Klemens Nanni
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2023/03/30 14:07:49 Modified files: sys/dev/fdt: dwpcie.c Log message: keep match strings sorted

CVS: cvs.openbsd.org: src

2023-03-30 Thread Klemens Nanni
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2023/03/30 14:03:32 Modified files: sys/dev/fdt: dwpcie.c Log message: Attach Baikal-M PCIe https://github.com/Elpitech/baikal-m-linux-kernel/search?q=bm1000-pcie Tested on ET-101-MB Initial diff from

CVS: cvs.openbsd.org: src

2023-03-30 Thread Omar Polo
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/03/30 13:01:25 Modified files: usr.bin/mg : main.c Log message: tabify two lines

CVS: cvs.openbsd.org: src

2023-03-30 Thread Omar Polo
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/03/30 13:00:02 Modified files: usr.bin/mg : def.h extend.c fileio.c main.c ttykbd.c Log message: don't access(conffile) This removes a few access(2) calls in the configuration file handling.

CVS: cvs.openbsd.org: src

2023-03-30 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2023/03/30 11:20:53 Modified files: sbin/iked : crypto.c Log message: i2d_ECDSA_SIG() may return a negative value in case of error. Do no use this as length in iked(8) _dsa_verify_prepare(). OK tobhe@

CVS: cvs.openbsd.org: src

2023-03-30 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/03/30 10:16:32 Modified files: bin/csh: csh.1 Log message: escape "An" in a %T call, so groff does not flag it as an error;

CVS: cvs.openbsd.org: src

2023-03-30 Thread Omar Polo
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/03/30 10:00:47 Modified files: bin/csh: csh.1 Log message: adjust markup of one of the builtin kill usage The Op on its own line becomes part of the item body instead of the list item itself.

CVS: cvs.openbsd.org: src

2023-03-30 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2023/03/30 09:51:09 Modified files: lib/libcrypto/ecdsa: ecs_ossl.c Log message: i2d_ECDSA_SIG() may return a negative value in case of error. Handle this in ossl_ecdsa_sign() and propagate the return

CVS: cvs.openbsd.org: src

2023-03-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/03/30 09:29:15 Modified files: usr.sbin/rpki-client: extern.h output-ometric.c repo.c Log message: Add the protocol used to sync the repository to the open-metric output. OK tb@

CVS: cvs.openbsd.org: src

2023-03-30 Thread Klemens Nanni
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2023/03/30 09:09:01 Modified files: sys/arch/arm64/arm64: machdep.c Log message: Map device tree read/write to unbreak root on softraid Since r1.76 "Get rid of pmap_map_early()" the FDT was mapped

CVS: cvs.openbsd.org: src

2023-03-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/03/30 08:47:25 Modified files: usr.sbin/bgpd : util.c Log message: Refactor extract_prefix() to first do the length checks and only then copy the data out. OK tb@

CVS: cvs.openbsd.org: src

2023-03-30 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2023/03/30 08:38:26 Modified files: sbin/fdisk : part.c Log message: Remove needless memset() call, 'entries' variable and limit check in PRT_menuid_to_guid(). No functional change.

CVS: cvs.openbsd.org: src

2023-03-30 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/03/30 08:28:56 Modified files: lib/libcrypto/bn: bn_mul.c bn_sqr.c Log message: Call bn_copy() unconditionally in BN_mul() and BN_sqr() bn_copy() does the right thing if source and target are the

CVS: cvs.openbsd.org: src

2023-03-30 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/03/30 08:23:50 Modified files: lib/libcrypto/asn1: bio_ndef.c Log message: bio_ndef: add an empty line before return

CVS: cvs.openbsd.org: src

2023-03-30 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/03/30 08:21:11 Modified files: lib/libcrypto/bn: bn_exp.c Log message: Rework BN_exp() a bit This mostly only cleans up the mess that it was - which doesn't stand out because of the horror that lurks

CVS: cvs.openbsd.org: src

2023-03-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/03/30 07:25:23 Modified files: usr.sbin/bgpd : rde_prefix.c Log message: Extra space in struct field definitions. NFC

CVS: cvs.openbsd.org: src

2023-03-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/03/30 06:11:18 Modified files: usr.sbin/bgpd : rde.h rde_prefix.c Log message: Put the size of the pt_entry object into the struct itself. Increase the refcnt to a 32bit int and while there reorder

CVS: cvs.openbsd.org: src

2023-03-30 Thread Kevin Lo
CVSROOT:/cvs Module name:src Changes by: ke...@cvs.openbsd.org 2023/03/30 03:24:22 Modified files: sys/dev/mii: txphy.c Log message: Update comment: RTL8139 -> TNETE2101 ok mpi@

CVS: cvs.openbsd.org: src

2023-03-30 Thread Omar Polo
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/03/30 02:07:07 Modified files: usr.bin/mg : main.c ttykbd.c Log message: trailing whitespaces

CVS: cvs.openbsd.org: src

2023-03-30 Thread Omar Polo
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/03/30 01:26:15 Modified files: usr.bin/mg : fileio.c Log message: strncpy -> strlcpy to properly NUL-terminate the copy of the path otherwise paths longer than NFILEN (1024) given with -u won't

CVS: cvs.openbsd.org: src

2023-03-30 Thread Darren Tucker
CVSROOT:/cvs Module name:src Changes by: dtuc...@cvs.openbsd.org 2023/03/30 01:19:50 Modified files: usr.bin/ssh: ssh.c Log message: Ignore return value from muxclient(). It normally loops without returning, but it if returns on failure we immediately exit.