CVS: cvs.openbsd.org: src

2024-04-29 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2024/04/30 00:23:51

Modified files:
usr.bin/ssh: sftp-server.c 

Log message:
fix home-directory extension implementation, it always returned
the current user's home directory contrary to the spec.

Patch from Jakub Jelen via GHPR477



CVS: cvs.openbsd.org: src

2024-04-29 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2024/04/30 00:16:55

Modified files:
usr.bin/ssh: sftp.c 

Log message:
flush stdout after writing "sftp>" prompt when not using editline.

>From Alpine Linux via GHPR480



CVS: cvs.openbsd.org: src

2024-04-29 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2024/04/29 23:53:03

Modified files:
usr.bin/ssh: ssh-keysign.c 

Log message:
stricter validation of messaging socket fd number; disallow usage of
stderr. Based on GHPR492 by RealHurrison



CVS: cvs.openbsd.org: src

2024-04-29 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2024/04/29 23:45:56

Modified files:
usr.bin/ssh: PROTOCOL.agent 

Log message:
add missing reserved fields to key constraint protocol documentation.

from Wiktor Kwapisiewicz via GHPR487



CVS: cvs.openbsd.org: src

2024-04-29 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/04/29 23:05:23

Modified files:
share/man/man4 : efi.4 

Log message:
appeard -> appeared;



CVS: cvs.openbsd.org: src

2024-04-29 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2024/04/29 20:14:10

Modified files:
usr.bin/ssh: clientloop.c serverloop.c 

Log message:
correctly restore sigprocmask around ppoll()
reported by Tõivo Leedjärv; ok deraadt@



CVS: cvs.openbsd.org: src

2024-04-29 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2024/04/29 20:10:49

Modified files:
usr.bin/ssh: clientloop.c sshconnect.c sshconnect.h 

Log message:
add explict check for server hostkey type against HostkeyAlgorithms.
Allows HostkeyAlgorithms to disable implicit fallback from certificate
keys to plain keys. ok markus@



CVS: cvs.openbsd.org: src

2024-04-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/04/29 19:53:49

Modified files:
sys/arch/riscv64/conf: GENERIC 

Log message:
remove commented DEBUG_TIMER for timer driver removed in 2021



CVS: cvs.openbsd.org: www

2024-04-29 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2024/04/29 19:38:50

Modified files:
.  : security.html 

Log message:
fix off-by-one error



CVS: cvs.openbsd.org: www

2024-04-29 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2024/04/29 19:36:26

Modified files:
.  : artwork.html security.html 

Log message:
add 7.5



CVS: cvs.openbsd.org: src

2024-04-29 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/04/29 15:32:10

Modified files:
sys/arch/powerpc64/conf: GENERIC 

Log message:
em(4) will work



CVS: cvs.openbsd.org: src

2024-04-29 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2024/04/29 14:18:12

Modified files:
distrib/sets/lists/man: mi 
share/man/man4 : Makefile 
share/man/man4/man4.arm64: Makefile 
Added files:
share/man/man4 : efi.4 
Removed files:
share/man/man4/man4.arm64: efi.4 

Log message:
Turn efi(4/arm64) into MI efi(4), sync with reality;  OK kettenis



CVS: cvs.openbsd.org: src

2024-04-29 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2024/04/29 10:17:46

Modified files:
usr.sbin/httpd : server_file.c 

Log message:
plug fd leak introduced in "avoid toctu" rewrite.

Issue reported by job
OK tb, job



CVS: cvs.openbsd.org: src

2024-04-29 Thread Dave Voutila
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2024/04/29 08:47:06

Modified files:
sys/arch/amd64/amd64: vmm_machdep.c 
sys/arch/amd64/include: vmmvar.h 
usr.sbin/vmd   : vm.c 

Log message:
vmm & vmd: drop "continue" flag to simplify running a vcpu.

There's no need to distinguish the "first" time running a vcpu from
the subsequent times because vmm(4) uses in-kernel state tracking
the last vm exit reason to optimize the logic for updating vcpu
registers from userland. While here, clean up the DPRINTF's to make
the Intel VMX logic similar to the AMD SVM.

ok mlarkin@



CVS: cvs.openbsd.org: src

2024-04-29 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2024/04/29 07:34:19

Modified files:
lib/libc/time  : strftime.3 

Log message:
strftime.3: clarify %G and %g description

Clarify that %G and %g produce the rarely needed ISO week-numbering
year rather than the Gregorian calendar year.

With millert@ and Evan Silberman.
Some of the wording is from the upstream version.

ok tb@



CVS: cvs.openbsd.org: src

2024-04-29 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2024/04/29 07:23:19

Modified files:
distrib/sets/lists/man: mi 
usr.bin/tput   : Makefile 

Log message:
install accidentally dropped tput(1) man page again



CVS: cvs.openbsd.org: src

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

Modified files:
sys/arch/riscv64/include: cpu.h 

Log message:
remove prototypes for removed functions



CVS: cvs.openbsd.org: src

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

Modified files:
sys/arch/arm64/arm64: machdep.c 
sys/arch/arm64/include: cpu.h 

Log message:
remove prototypes for removed functions



CVS: cvs.openbsd.org: src

2024-04-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/04/29 06:46:22

Modified files:
sys/arch/armv7/omap: intc.h 

Log message:
remove unused armv7 specific find_first_bit()



CVS: cvs.openbsd.org: src

2024-04-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/04/29 06:42:06

Modified files:
sys/arch/armv7/omap: intc.c intc.h 

Log message:
remove unused intc_intr_bootstrap()



CVS: cvs.openbsd.org: src

2024-04-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/04/29 06:33:17

Modified files:
sys/arch/arm/arm: fault.c 
sys/arch/armv7/omap: intc.c intc.h 
sys/arch/armv7/sunxi: sxiintc.c sxiintc.h 

Log message:
remove unused global vars



CVS: cvs.openbsd.org: src

2024-04-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/04/29 06:24:46

Modified files:
sys/arch/arm/include: machdep.h pmap.h 
sys/arch/armv7/omap: intc.h 
sys/arch/armv7/sunxi: sxiintc.h 

Log message:
remove prototypes for removed functions



CVS: cvs.openbsd.org: src

2024-04-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/04/29 04:07:37

Modified files:
sys/arch/riscv64/riscv64: pmap.c 

Log message:
remove unused pmap_vp_remove()
ok miod@ kettenis@