CVS: cvs.openbsd.org: src

2024-01-28 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2024/01/28 23:05:50

Modified files:
lib/libcrypto/cmac: cmac.c 

Log message:
Curious to see if explicitly ignoring the return value appeases Coverity



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:58:43

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_kms.c 

Log message:
drm/amdgpu: fall back to INPUT power for AVG power via INFO IOCTL

>From Alex Deucher
836e236b878a385911db619b38393d624a4d7eae in linux-6.6.y/6.6.14
d02069850fc102b07ae923535d5e212f2c8a34e9 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:56:26

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_migrate.c 

Log message:
drm/amdkfd: fixes for HMM mem allocation

>From Dafna Hirschfeld
1515db19c4a374f75e6bf5430f9cb9b7e3c2fd0d in linux-6.6.y/6.6.14
02eed83abc1395a1207591aafad9bcfc5cb1abcb in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:54:54

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_flat_memory.c 

Log message:
Revert "drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole"

>From Kaibo Ma
3a99f15ce9d01bcce4f1f260194f964523f5c07a in linux-6.6.y/6.6.14
0f35b0a7b8fa402adbffa2565047cdcc4c480153 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:53:19

Modified files:
sys/dev/pci/drm/amd/display/dc/link/protocols: 
   link_dp_training.c 
   link_dp_training.h 

Log message:
drm/amd/display: avoid stringop-overflow warnings for dp_decide_lane_settings()

>From Arnd Bergmann
ecfaeb66b1f08c72fe8e8d1df955cf2879d7333b in linux-6.6.y/6.6.14
c966dc0e9d96dc44423c404a2628236f1200c24e in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:51:19

Modified files:
sys/dev/pci/drm/amd/pm/powerplay/hwmgr: smu7_hwmgr.c 

Log message:
drm/amd/pm/smu7: fix a memleak in smu7_hwmgr_backend_init

>From Zhipeng Lu
ae7cbf935b9a1b41f65fe6443e7cd0c401500b20 in linux-6.6.y/6.6.14
2f3be3ca779b11c332441b10e00443a2510f4d7b in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:49:28

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_topology.c 

Log message:
drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in 
kfd_topology.c

>From Srinivasan Shanmugam
5024cce888e11e5688f77df81db9e14828495d64 in linux-6.6.y/6.6.14
499839eca34ad62d43025ec0b46b80e77065f6d8 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:47:49

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_priv.h 

Log message:
drm/amdkfd: Fix type of 'dbg_flags' in 'struct kfd_process'

>From Srinivasan Shanmugam
9b0cc30d26c32432b334ee7a5fc11b9d401c0a85 in linux-6.6.y/6.6.14
217e85f97031791fb48a2d374c7bdcf439365b21 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:46:11

Modified files:
sys/dev/pci/drm/amd/pm/legacy-dpm: legacy_dpm.c 

Log message:
drm/amd/pm: fix a double-free in amdgpu_parse_extended_power_table

>From Zhipeng Lu
0c5d08b1c98e5dbb0cf56cb99c45adec887790ce in linux-6.6.y/6.6.14
a6582701178a47c4d0cb2188c965c59c0c0647c8 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:44:25

Modified files:
sys/dev/pci/drm/radeon: radeon_vm.c 

Log message:
gpu/drm/radeon: fix two memleaks in radeon_vm_init

>From Zhipeng Lu
4c9a96dd6d4acaa18146f5b1de457fec1004628c in linux-6.6.y/6.6.14
c2709b2d6a537ca0fa0f1da36fdaf07e48ef447d in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:42:34

Modified files:
sys/dev/pci/drm/amd/pm/legacy-dpm: amdgpu_kv_dpm.c 

Log message:
drivers/amd/pm: fix a use-after-free in kv_parse_power_table

>From Zhipeng Lu
95084632a65d5c0d682a83b55935560bdcd2a1e3 in linux-6.6.y/6.6.14
28dd788382c43b330480f57cd34cde0840896743 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:40:59

Modified files:
sys/dev/pci/drm/amd/pm/legacy-dpm: amdgpu_si_dpm.c 

Log message:
drm/amd/pm: fix a double-free in si_dpm_init

>From Zhipeng Lu
fb1936cb587262cd539e84b34541abb06e42b2f9 in linux-6.6.y/6.6.14
ac16667237a82e2597e329eb9bc520d1cf9dff30 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:39:33

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_debugfs.c 

Log message:
drm/amdgpu/debugfs: fix error code when smc register accessors are NULL

>From Alex Deucher
5bc4f16118c575410e7be220bbb9b1fa2ee4274b in linux-6.6.y/6.6.14
afe58346d5d3887b3e49ff623d2f2e471f232a8d in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:37:53

Modified files:
sys/dev/pci/drm/radeon: trinity_dpm.c 

Log message:
drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table

>From Zhipeng Lu
0564e8a427914015d773a32f6e9baa2bd2f38a37 in linux-6.6.y/6.6.14
28c28d7f77c06ac2c0b8f9c82bc04eba22912b3b in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:36:31

Modified files:
sys/dev/pci/drm/radeon: sumo_dpm.c 

Log message:
drm/radeon/dpm: fix a memleak in sumo_parse_power_table

>From Zhipeng Lu
a26634b3ce218ee3a308f2c0e326a1c7d4bb97ec in linux-6.6.y/6.6.14
0737df9ed0997f5b8addd6e2b9699a8c6edba2e4 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:34:47

Modified files:
sys/dev/pci/drm/radeon: radeon_display.c 

Log message:
drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()

>From Yang Yingliang
0b813a6a0087451cb702b6eb841f10856f49d088 in linux-6.6.y/6.6.14
7a2464fac80d42f6f8819fed97a553e9c2f43310 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:32:31

Modified files:
sys/dev/pci/drm: drm_drv.c 

Log message:
drm/drv: propagate errors from drm_modeset_register_all()

>From Dmitry Baryshkov
af9d39677c919f5c7dc67675aa0d30f7793bd324 in linux-6.6.y/6.6.14
5f8dec200923a76dc57187965fd59c1136f5d085 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:30:49

Modified files:
sys/dev/pci/drm/radeon: si.c 

Log message:
drm/radeon: check return value of radeon_ring_lock()

>From Nikita Zhandarovich
18bd4d184675fbb2fc4b2f9b80aaebea2e05fca0 in linux-6.6.y/6.6.14
71225e1c930942cb1e042fc08c5cc0c4ef30e95e in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:29:18

Modified files:
sys/dev/pci/drm/radeon: r100.c 

Log message:
drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()

>From Nikita Zhandarovich
056484916a131ebad65ee33048ec959f6186befc in linux-6.6.y/6.6.14
b5c5baa458faa5430c445acd9a17481274d77ccf in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:27:31

Modified files:
sys/dev/pci/drm/radeon: r600_cs.c 

Log message:
drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()

>From Nikita Zhandarovich
0413e8869171145d8a53f9d009f59c804b37c7b2 in linux-6.6.y/6.6.14
39c960bbf9d9ea862398759e75736cfb68c3446f in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:25:00

Modified files:
sys/dev/pci/drm/include/drm: drm_bridge.h 

Log message:
drm/bridge: Fix typo in post_disable() description

>From Dario Binacchi
c111350d673a517c3995849c724e444205f7e51c in linux-6.6.y/6.6.14
288b039db225676e0c520c981a1b5a2562d893a3 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/28 18:23:04

Modified files:
sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm.c 
   amdgpu_dm_mst_types.c 
sys/dev/pci/drm/display: drm_dp_mst_topology.c 
sys/dev/pci/drm/i915/display: intel_dp_mst.c 
sys/dev/pci/drm/include/drm/display: drm_dp_mst_helper.h 

Log message:
drm/dp_mst: Fix fractional DSC bpp handling

>From Ville Syrjala
4e042f022255604c68ab5d5f73c8f437d24d651e in linux-6.6.y/6.6.14
7707dd6022593f3edd8e182e7935870cf326f874 in mainline linux



CVS: cvs.openbsd.org: src

2024-01-28 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2024/01/28 17:59:55

Modified files:
sbin/ipsecctl  : ipsecctl.c 

Log message:
Open /etc/{services,protocols} before pledge(2).

ok tobhe



CVS: cvs.openbsd.org: src

2024-01-28 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2024/01/28 15:30:39

Modified files:
sys/dev/ic : qwx.c qwxreg.h qwxvar.h 

Log message:
add support for sending management frames to qwx(4)

The initial AUTH frame is now sent when an AP is found during scans.
We then receive an AUTH response from the AP. Handling this response
in the driver will be our next step.



CVS: cvs.openbsd.org: src

2024-01-28 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2024/01/28 14:00:54

Modified files:
lib/libcrypto/conf: conf_lib.c 

Log message:
The KNF script didn't grok LHASH_OF(), STACK_OF()



CVS: cvs.openbsd.org: src

2024-01-28 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2024/01/28 13:57:15

Modified files:
lib/libcrypto/cmac: cmac.c 

Log message:
Avoid calling EVP_CIPHER_CTX_reset() on a NULL ctx



CVS: cvs.openbsd.org: src

2024-01-28 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2024/01/28 13:34:25

Modified files:
sys/netinet: in_pcb.c in_pcb.h tcp_subr.c tcp_timer.c 
 udp_usrreq.c 
sys/netinet6   : in6_pcb.c 

Log message:
Use more specific sockaddr type for inpcb notify.

in_pcbnotifyall() is an IPv4 only function.  All callers check that
sockaddr dst is in fact a sockaddr_in.  Pass the more spcific type
and remove the runtime check at beginning of in_pcbnotifyall().
Use const sockaddr_in in in_pcbnotifyall() and const sockaddr_in6
in6_pcbnotify() as dst parameter.

OK millert@



CVS: cvs.openbsd.org: src

2024-01-28 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/01/28 12:05:33

Modified files:
bin/ps : print.c ps.1 

Log message:
Remove the 'l' and 'L' flag printing in 'STAT' column. These were added
to provide visibility of the internal behaviour of pinsyscalls(2) during
introduction.  These flags remain (less) visible in the "-o procflags"
option, as 0x0800 (PS_PIN) and 0x1000 (PS_LIBCPIN).
That's good enough.



CVS: cvs.openbsd.org: src

2024-01-28 Thread Marcus Glocker
CVSROOT:/cvs
Module name:src
Changes by: mgloc...@cvs.openbsd.org2024/01/28 11:42:58

Modified files:
sys/dev/pci: if_em.c if_em.h if_em_hw.h 

Log message:
Back out the TSO support diff, since we got issues reported for which
no solution could be found.  Known issues at this point:

1. sparc64 panics, probably because of an alignment issue in struct
tcphdr { th_off }.  A diff for potentially fixing the alignment issue
exists, but testing is pending.
2. Watchdogs reported on the I350 chip, which can't be reproduced on own
hardware.



CVS: cvs.openbsd.org: src

2024-01-28 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/01/28 11:38:16

Modified files:
usr.sbin/radiusd/radiusd_bsdauth: Makefile 
usr.sbin/radiusd/radiusd_radius: Makefile 

Log message:
correct DPADD; fromKrystian Lewandowski



CVS: cvs.openbsd.org: src

2024-01-28 Thread Omar Polo
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2024/01/28 10:23:17

Modified files:
usr.sbin/smtpd : smtp_session.c 

Log message:
allow escaping inside quotes

RFC5322 allows for escapes using \ inside quotes.  Otherwise, headers
such as

From: "\"Doe, John\"" 

get mangled as "\"Doe@localhost, John\"  since \ would be treated as
ordinary character and not the escape for the quote.

Bug reported by TobiasEgg on the OpenSMTPD-portable github repository.

ok millert@



CVS: cvs.openbsd.org: src

2024-01-28 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2024/01/28 09:11:31

Modified files:
sys/lib/libz   : deflate.c trees.c zutil.h 

Log message:
sync with userland



CVS: cvs.openbsd.org: src

2024-01-28 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2024/01/28 09:10:51

Modified files:
lib/libz   : README deflate.c trees.c zutil.h 

Log message:
Pull in some post 1.3.1 upstream commits

This is only cosmetic as far as OpenBSD is concerned.



CVS: cvs.openbsd.org: src

2024-01-28 Thread Joshua Sing
CVSROOT:/cvs
Module name:src
Changes by: jos...@cvs.openbsd.org  2024/01/28 07:55:40

Modified files:
lib/libcrypto/cmac: cmac.c 

Log message:
Clean up EVP_CIPHER_CTX_init() usage in cmac.c

This replaces usage of EVP_CIPHER_CTX_init() with EVEP_CIPHER_CTX_new(),
and EVP_CIPHER_CTX_cleanup() with EVP_CIPHER_CTX_reset().

This also replaces usage of malloc with calloc, and free with freezero.

ok tb@



CVS: cvs.openbsd.org: src

2024-01-28 Thread Joshua Sing
CVSROOT:/cvs
Module name:src
Changes by: jos...@cvs.openbsd.org  2024/01/28 07:43:48

Modified files:
lib/libcrypto/asn1: asn1_item.c 

Log message:
Clean up EVP_MD_CTX_{init,cleanup}() usage in ASN1_item_verify()

ok tb@



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:24:55

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:01:27

Modified files:
app/xbiff  : ChangeLog Mailbox.c Makefile.in aclocal.m4 
 compile config.h.in configure configure.ac 
 install-sh xbiff.c 
app/xbiff/man  : Makefile.in xbiff.man 

Log message:
Update to xbiff 1.0.5



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:00:32

Modified files:
app/xeyes  : ChangeLog Eyes.c Eyes.h EyesP.h Makefile.in 
 README.md aclocal.m4 config.h.in configure 
 configure.ac install-sh transform.h xeyes.c 
app/xeyes/man  : Makefile.in xeyes.man 

Log message:
Update to xeyes 1.3.0



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 06:59:43

Modified files:
app/fonttosfnt : ChangeLog Makefile.in aclocal.m4 compile 
 config.h.in configure configure.ac fonttosfnt.c 
 fonttosfnt.h install-sh struct.c util.c write.c 
app/fonttosfnt/man: Makefile.in 

Log message:
Update to fonttosfnt 1.2.3



CVS: cvs.openbsd.org: src

2024-01-28 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2024/01/28 05:36:21

Modified files:
regress/usr.sbin/bgpd/integrationtests: ixp.sh 
network_statement.sh 
Added files:
regress/usr.sbin/bgpd/integrationtests: util.sh 

Log message:
Use the wait until construct in ixp.sh in the hopes of making it more
stable.



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 02:58:05

Modified files:
xserver: ChangeLog configure configure.ac meson.build 
xserver/randr  : rrmonitor.c 

Log message:
Update to xserver 21.1.11.
All the security fixes have already been committed.