OpenBSD cvs log

created 2022-10-03T14:13:21Z
begin 2022-09-01T00:00:00Z
end 2022-09-02T00:00:00Z
path src/sys
commits 14

date 2022-09-01T05:24:51Z
author jsg
files src/sys/sys/buf.h log diff annotate
message remove unused prototypes from buf.h

bufcache_getanycleanbuf() removed in vfs_bio.c 1.181
buf_acquire_unmapped() removed in vfs_biomem.c 1.22
buf_print() removed in vfs_bio.c 1.47
cluster_write() removed along with vfs_cluster.c in 2016

date 2022-09-01T05:31:49Z
author jsg
files src/sys/sys/socketvar.h log diff annotate
message remove sb_lock() prototype; removed in uipc_socket2.c 1.64

date 2022-09-01T05:40:46Z
author jsg
files src/sys/sys/pledge.h log diff annotate
message remove ppath_destroy() prototype; function was never committed

date 2022-09-01T07:26:56Z
author jsg
files src/sys/sys/exec.h log diff annotate
message remove exec_makecmds() and exec_runcmds() prototypes
removed from kern_exec.c between NetBSD 0.9 and NetBSD 1.0

date 2022-09-01T08:18:20Z
author krw
files src/sys/arch/i386/stand/biosboot/biosboot.S log diff annotate
message Delete force CHS remnants here too.

Makes file identical to amd64 version again.

ok mlarkin@

date 2022-09-01T12:28:53Z
author deraadt
files src/sys/dev/vnd.c log diff annotate
message the VNDIOCSET ioctl path handling bypassed the unveil, so root (or .operator)
could read a file outside the space.
ok semarie benno tb

date 2022-09-01T13:45:26Z
author krw
files src/sys/arch/amd64/stand/efi32/efidev.c log diff annotate
src/sys/arch/amd64/stand/efi64/efidev.c log diff annotate
src/sys/arch/amd64/stand/efiboot/efidev.c log diff annotate
src/sys/arch/amd64/stand/libsa/diskprobe.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efidev.c log diff annotate
src/sys/arch/armv7/stand/efiboot/efidev.c log diff annotate
src/sys/arch/hppa/hppa/disksubr.c log diff annotate
src/sys/arch/i386/stand/libsa/diskprobe.c log diff annotate
src/sys/arch/luna88k/luna88k/disksubr.c log diff annotate
src/sys/arch/luna88k/stand/boot/ufs_disksubr.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/efidev.c log diff annotate
src/sys/arch/sparc64/sparc64/disksubr.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/ofdev.c log diff annotate
src/sys/isofs/cd9660/cd9660_vfsops.c log diff annotate
src/sys/isofs/udf/udf_subr.c log diff annotate
message Stop setting d_bbsize and d_sbsize. Nobody has paid
any attention for some time.

ok otto@ as part of larger diff

date 2022-09-01T13:45:27Z
author krw
files src/sys/kern/subr_disk.c log diff annotate
src/sys/scsi/cd.c log diff annotate
src/sys/scsi/sd.c log diff annotate
message Stop setting d_bbsize and d_sbsize. Nobody has paid
any attention for some time.

ok otto@ as part of larger diff

date 2022-09-01T15:48:51Z
author krw
files src/sys/sys/disklabel.h log diff annotate
message d_bbsize and d_sbsize are entirely absent from the tree.

Rename them d_spare2 and d_spare3.

ok otto@ as part of larger diff

date 2022-09-01T17:07:09Z
author mlarkin
files src/sys/dev/usb/if_uaq.c log diff annotate
message whitespace

date 2022-09-01T18:21:22Z
author mvs
files src/sys/kern/uipc_usrreq.c log diff annotate
message Move PRU_CONNECT2 request to (*pru_connect2)().

ok bluhm@

date 2022-09-01T18:21:23Z
author mvs
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
src/sys/sys/protosw.h log diff annotate
src/sys/sys/unpcb.h log diff annotate
message Move PRU_CONNECT2 request to (*pru_connect2)().

ok bluhm@

date 2022-09-01T21:50:19Z
author mlarkin
files src/sys/kern/subr_hibernate.c log diff annotate
message whitespace

date 2022-09-01T22:01:40Z
author dv
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message vmm(4): send all port io emulation to userland

Simplify things by sending any io exits from IN/OUT instructions
to userland instead of trying to emulate anything in the kernel.
vmm was sending most pertinent exits to vmd anyways, so this
functionally changes little.

An added benefit is this solves an issue reported by tb@ where i386
OpenBSD guests would probe for a pc keyboard repeatedly and cause
excessive vm exits. (The emulation in vmm was not properly handling
these port reads.)

While here, make the assignment of the VEI_DIR_{IN,OUT} enum values
not assume the underlying integer the compiler may assign.

ok mlarkin@