CVS: cvs.openbsd.org: src

2024-03-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/03/31 23:47:03

Modified files:
distrib/sets/lists/comp: gcc.sparc64 

Log message:
sync



CVS: cvs.openbsd.org: src

2024-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2024/03/31 23:11:49

Modified files:
sys/arch/amd64/amd64: vmm_machdep.c vmm_support.S 
sys/arch/amd64/include: vmmvar.h 

Log message:
Delete 108 lines of ASM from vmx_enter_guest() that predated lots
of later enhancements, removing the save/restore of flags, selectors,
and MSRs: flags are caller-saved and don't need restoring while
selectors and MSRs are auto-restored.  The FSBASE, GSBASE, and
KERNELGSBASE MSRs just need the correct values set with vmwrite()
in the "on new CPU?" block of vcpu_run_vmx().

Also, only rdmsr(MSR_MISC_ENABLE) once in vcpu_reset_regs_vmx(),
give symbolic names to the exit-load MSR slots, eliminate
VMX_NUM_MSR_STORE, and #if 0 the vc_vmx_msr_entry_load_{va,pa} code
and definitions as unused.

ok dv@



CVS: cvs.openbsd.org: src

2024-03-31 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2024/03/31 21:10:27

src/gnu/usr.bin/test

Update of /cvs/src/gnu/usr.bin/test
In directory cvs.openbsd.org:/tmp/cvs-serv32885/test

Log Message:
Directory /cvs/src/gnu/usr.bin/test added to the repository



CVS: cvs.openbsd.org: www

2024-03-31 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2024/03/31 17:35:06

Modified files:
.  : 75.html 

Log message:
spelling



CVS: cvs.openbsd.org: www

2024-03-31 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2024/03/31 17:14:27

Modified files:
.  : 75.html mail.html 

Log message:
fix typos



CVS: cvs.openbsd.org: www

2024-03-31 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:www
Changes by: be...@cvs.openbsd.org   2024/03/31 16:40:33

Modified files:
.  : 75.html 

Log message:
fix broken html tag



CVS: cvs.openbsd.org: www

2024-03-31 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:www
Changes by: be...@cvs.openbsd.org   2024/03/31 16:37:10

Modified files:
.  : 75.html 

Log message:
whitespace



CVS: cvs.openbsd.org: www

2024-03-31 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:www
Changes by: be...@cvs.openbsd.org   2024/03/31 16:31:43

Modified files:
.  : 75.html 

Log message:
update security improvements and bgpd sections



CVS: cvs.openbsd.org: www

2024-03-31 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:www
Changes by: be...@cvs.openbsd.org   2024/03/31 15:47:37

Modified files:
.  : 75.html 

Log message:
until march 8th



CVS: cvs.openbsd.org: src

2024-03-31 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2024/03/31 13:17:54

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

Log message:
Enable rge(4).



CVS: cvs.openbsd.org: src

2024-03-31 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2024/03/31 09:53:12

Modified files:
sys/net: route.c route.h 
sys/netinet: in_pcb.c 
sys/netinet6   : in6_pcb.c in6_src.c 

Log message:
Combine route_cache() and rtalloc_mpath() in new route_mpath().

Fill and check the cache and call rtalloc_mpath() together.  Then
the caller of route_mpath() does not have to care about the uint32_t
*src pointer and just pass struct in_addr.  All the conversions are
done inside the functions.

A previous version of this diff was backed out.  There was an
additional rtisvalid() in rtalloc_mpath() that prevented packet
output via interfaces that were not up.  Now the route in the cache
has to be valid, but after new lookup, rtalloc_mpath() may return
invalid routes.  This generates less errors in userland an preserves
existing behavior.

OK sashan@



CVS: cvs.openbsd.org: www

2024-03-31 Thread Todd C . Miller
CVSROOT:/cvs
Module name:www
Changes by: mill...@cvs.openbsd.org 2024/03/31 08:19:22

Modified files:
.  : mail.html 

Log message:
Update the text about attachments to the current reality.
Also expand the off-topic warnings.



CVS: cvs.openbsd.org: src

2024-03-31 Thread Vitaliy Makkoveev
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/31 08:01:28

Modified files:
sys/kern   : uipc_socket.c 

Log message:
Allow listen(2) only on sockets of type SOCK_STREAM or SOCK_SEQPACKET.
listen(2) man(1) page clearly prohibits sockets of other types.

Reported-by: syzbot+00450333592fcd38c...@syzkaller.appspotmail.com

ok bluhm



CVS: cvs.openbsd.org: src

2024-03-31 Thread Vitaliy Makkoveev
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/31 07:50:00

Modified files:
sys/kern   : sys_socket.c uipc_socket.c uipc_socket2.c 
sys/nfs: nfs_socket.c nfs_syscalls.c 

Log message:
Mark `so_rcv' sockbuf of udp(4) sockets as SB_OWNLOCK.

sbappend*() and soreceive() of SB_MTXLOCK marked sockets uses `sb_mtx'
mutex(9) for protection, meanwhile buffer usage check and corresponding
sbwait() sleep still serialized by solock(). Mark udp(4) as SB_OWNLOCK
to avoid solock() serialization and rely to `sb_mtx' mutex(9). The
`sb_state' and `sb_flags' modifications must be protected by `sb_mtx'
too.

ok bluhm



CVS: cvs.openbsd.org: www

2024-03-31 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:www
Changes by: o...@cvs.openbsd.org2024/03/31 06:44:40

Modified files:
.  : 75.html 

Log message:
Fix previous typo for real



CVS: cvs.openbsd.org: src

2024-03-31 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/31 04:14:46

Modified files:
etc/etc.landisk: MAKEDEV 

Log message:
Regen



CVS: cvs.openbsd.org: src

2024-03-31 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/31 04:14:35

Modified files:
etc/etc.landisk: MAKEDEV.md 

Log message:
Fix /dev/bio major.



CVS: cvs.openbsd.org: src

2024-03-31 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/31 03:49:33

Modified files:
sys/dev/isa: isavar.h 
Removed files:
sys/arch/powerpc/isa: isa_machdep.h 

Log message:
Remove long dead isa-on-powerpc leftovers.



CVS: cvs.openbsd.org: www

2024-03-31 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:www
Changes by: o...@cvs.openbsd.org2024/03/31 02:09:41

Modified files:
.  : 75.html 

Log message:
Move malloc entry to userland section, fix typo



CVS: cvs.openbsd.org: src

2024-03-31 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/31 01:23:29

Modified files:
sys/arch/alpha/include: cpu.h 
sys/arch/m88k/include: cpu.h 
sys/arch/sh/include: cpu.h 

Log message:
Stop referring to dead-since-30-years gatherstats() in comments.