CVS: cvs.openbsd.org: src

2025-08-01 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2025/08/02 00:16:34 Log message: Provide harness to run illumos's oclo tests from libc regress This depends on the illumos-os-tests port I just imported and can be linked to the build once guenther la

CVS: cvs.openbsd.org: src

2025-08-01 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2025/08/02 00:05:13 Modified files: regress/lib/libc/hash: hash_test.c Log message: hash_test: remove variable name from prototype and fix a cast

CVS: cvs.openbsd.org: src

2025-08-01 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2025/08/01 18:41:40 Modified files: games/ppt : ppt.6 Log message: Correct ppt(6) history. Before it appeared in 4.3BSD-Tahoe, a ppt command appeared in v7 (without source). It was described in v7 bcd

CVS: cvs.openbsd.org: src

2025-08-01 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2025/08/01 15:58:48 Modified files: regress/sys/netinet/tcpstate: Makefile README tcp_closing.py tcp_established.py tcp_finwait.py

CVS: cvs.openbsd.org: src

2025-08-01 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2025/08/01 14:39:26 Modified files: sys/dev/ic : ath.c sys/net80211 : ieee80211.c ieee80211_input.c ieee80211_node.c ieee80211_node.h ieee80211_output.c

CVS: cvs.openbsd.org: src

2025-08-01 Thread Christian Ludwig
CVSROOT:/cvs Module name:src Changes by: clud...@cvs.openbsd.org 2025/08/01 13:00:38 Modified files: sys/kern : subr_pool.c Log message: pool: Check early that we can sleep Check early that we actuallly are in a sleepable context in pool_get(). There is an equivale

CVS: cvs.openbsd.org: src

2025-08-01 Thread Miod Vallat
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2025/08/01 12:34:57 Modified files: distrib/sets/lists/base: md.macppc distrib/sets/lists/comp: clang.macppc Log message: sync

CVS: cvs.openbsd.org: src

2025-08-01 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2025/08/01 11:29:30 Modified files: usr.sbin/rpki-client: x509.c Log message: rpki-client: add experimental support for P-256 TA keys This reuses a subset of the checks in cert_check_spki() and passes regre

Re: CVS: cvs.openbsd.org: src

2025-08-01 Thread Theo de Raadt
Stefan Sperling wrote: > On Fri, Aug 01, 2025 at 01:09:07AM -0600, Theo de Raadt wrote: > > There are two issues being solved. One is blocking kernel behaviors > > during the time when the kernel is fully in control. The second issue > > is ignoring the user's requests. If the timer is simply

CVS: cvs.openbsd.org: src

2025-08-01 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2025/08/01 10:33:58 Modified files: usr.sbin/rpki-client: filemode.c Log message: rpki-client: add more smarts to filemode file type detection If the file extension doesn't indicate what file type we have,

CVS: cvs.openbsd.org: src

2025-08-01 Thread Job Snijders
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2025/08/01 09:26:05 Modified files: usr.sbin/rpki-client: cert.c Log message: Don't check filename<>SIA matches in filemode As this gets in the way of filemodes' file type autodetection OK tb@

CVS: cvs.openbsd.org: src

2025-08-01 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2025/08/01 08:57:15 Modified files: usr.sbin/rpki-client: aspa.c cert.c cms.c extern.h gbr.c geofeed.c mft.c roa.c rsc.c spl.c tak.c validate.c L

CVS: cvs.openbsd.org: src

2025-08-01 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2025/08/01 08:56:02 Modified files: usr.bin/mandoc : term.c Log message: Fix a regression introduced in rev. 1.152: Initialize the right variable (max_sz, not this_sz). Caught by jsg@ with smatch, wh

CVS: cvs.openbsd.org: src

2025-08-01 Thread Stefan Fritsch
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2025/08/01 08:41:03 Modified files: sys/dev/pv : if_vio.c vioblk.c vioscsi.c virtio.c Log message: virtio: Allow DMA mem above 4G Allow to use memory above 4G on amd64 for virtio rings and descriptors.

CVS: cvs.openbsd.org: src

2025-08-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2025/08/01 08:37:06 Modified files: sys/dev/pci: if_mwx.c Log message: Remove a double space

CVS: cvs.openbsd.org: src

2025-08-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2025/08/01 07:46:06 Modified files: usr.sbin/rpki-client: cert.c extern.h http.c io.c main.c mft.c repo.c rrdp.c rsync.c tal.c Log message: Split io_read_str() in two. One vers

CVS: cvs.openbsd.org: src

2025-08-01 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2025/08/01 07:35:37 Modified files: regress/sys/netinet/tcpstate: tcp_closing.py tcp_established.py tcp_finwait.py tcp_lastack.py t

CVS: cvs.openbsd.org: src

2025-08-01 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2025/08/01 07:32:53 Modified files: sys/kern : kern_fork.c Log message: Inherit PS_NOBTCFI at fork(2) Else the forked children could get killed by our BTCFI safeguards. PS_NOBTCFI is supposed to be se

CVS: cvs.openbsd.org: src

2025-08-01 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2025/08/01 07:00:18 Modified files: sys/msdosfs: bootsect.h Log message: fist -> first; ok mglocker@ miod@

CVS: cvs.openbsd.org: src

2025-08-01 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2025/08/01 06:38:21 Modified files: sys/kern : subr_suspend.c Log message: Better fix for power-button event handling during resume Reset resume_time once we have passed the sleep_state() function. Wi

CVS: cvs.openbsd.org: src

2025-08-01 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2025/08/01 05:10:00 Modified files: regress/sys/netinet/tcpstate: Makefile Added files: regress/sys/netinet/tcpstate: tcp_synsent.py Log message: Check that SYN packets are retransmitted in SYN_SENT

CVS: cvs.openbsd.org: src

2025-08-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2025/08/01 04:53:23 Modified files: sys/kern : sched_bsd.c sys/sys: proc.h Log message: Instead of resetting p_cpticks in schedcpu() for all procs make p_cpticks a constantly increasin

CVS: cvs.openbsd.org: src

2025-08-01 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2025/08/01 04:14:59 Modified files: sys/arch/arm64/arm64: trap.c Log message: Avoid decoding instructions when elr isn't pointing into the kernel part of the virtual address space. Use fault() inste

CVS: cvs.openbsd.org: src

2025-08-01 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2025/08/01 03:51:52 Modified files: sys/arch/arm64/dev: rtkit.c Log message: fix memory leak; ok kettenis@

CVS: cvs.openbsd.org: src

2025-08-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2025/08/01 03:52:03 Modified files: usr.sbin/rpki-client: parser.c Log message: Be more precise in the way we batch offload messages from the workq and singnal other threads once done. OK job@ tb@

CVS: cvs.openbsd.org: src

2025-08-01 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2025/08/01 03:45:47 Modified files: sys/net80211 : ieee80211.c Log message: revert 'fix wrong ifmedia macro used to check for IFM_AUTO'; change was wrong While IFM_AUTO is indeed in the IFM_SUBTYPE range

CVS: cvs.openbsd.org: src

2025-08-01 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2025/08/01 03:18:30 Modified files: sys/kern : subr_disk.c Log message: Use a clearer idiom for initializing/using the GPT spoof whitelist. Tested on sparc64/gcc4 and ok jca@

CVS: cvs.openbsd.org: src

2025-08-01 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2025/08/01 03:13:11 Modified files: sys/net80211 : ieee80211_node.c ieee80211_node.h sys/dev/ic : qwx.c Log message: replace ieee80211_iserp_sta() with a check for the 11g xrates info element

CVS: cvs.openbsd.org: src

2025-08-01 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2025/08/01 03:05:51 Modified files: usr.bin/tmux : cmd-if-shell.c Log message: Do not leak on failure, GitHub 4565.

Re: CVS: cvs.openbsd.org: src

2025-08-01 Thread Stefan Sperling
On Fri, Aug 01, 2025 at 01:09:07AM -0600, Theo de Raadt wrote: > There are two issues being solved. One is blocking kernel behaviors > during the time when the kernel is fully in control. The second issue > is ignoring the user's requests. If the timer is simply extended > once the kernel-resum

CVS: cvs.openbsd.org: src

2025-08-01 Thread Marcus Glocker
CVSROOT:/cvs Module name:src Changes by: mgloc...@cvs.openbsd.org2025/08/01 02:55:09 Modified files: sys/dev/fdt: qcpas.c Log message: Fix typo in comment. Some jokes from job@ and deraadt@ indicates that they are ok

CVS: cvs.openbsd.org: src

2025-08-01 Thread Vitaliy Makkoveev
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2025/08/01 02:40:25 Modified files: sys/kern : sysv_sem.c Log message: Set the upper boundary of 'kern.seminfo.semopm' variable to "(MALLOC_MAX / sizeof(struct sembuf))". Otherwise the greater value co

CVS: cvs.openbsd.org: src

2025-08-01 Thread Nicholas Marriott
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2025/08/01 02:17:27 Modified files: usr.bin/tmux : tmux.1 Log message: Fix reverse documentation of display-popup -s and -S, from Ricardo Signes.

CVS: cvs.openbsd.org: src

2025-08-01 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2025/08/01 02:16:31 Modified files: usr.sbin/relayd: relayd.c Log message: For IMSG_BINDANY, bnd.bnd_proc wasn't range checked to ensure it is positive. As a result IF the other side of the privsep was succe

Re: CVS: cvs.openbsd.org: src

2025-08-01 Thread Theo de Raadt
Stefan Sperling wrote: > On Thu, Jul 31, 2025 at 10:35:49AM -0600, Theo de Raadt wrote: > > > Modified files: > > > sys/kern : subr_suspend.c > > > > > > Log message: > > > Give the resume_time check in resuming() more headroom. > > > > > > On the Z13 resume by power button will usuall