OpenBSD cvs log

created 2023-03-12T09:06:49Z
begin 2023-03-08T00:00:00Z
end 2023-03-09T00:00:00Z
path src/sys
commits 5

date 2023-03-08T04:43:07Z
author guenther
files src/sys/arch/alpha/alpha/machdep.c log diff annotate
src/sys/arch/alpha/alpha/trap.c log diff annotate
src/sys/arch/alpha/tc/tc_bus_mem.c log diff annotate
src/sys/arch/hppa/spmath/dfsqrt.c log diff annotate
src/sys/arch/hppa/spmath/fcnvff.c log diff annotate
src/sys/arch/hppa/spmath/fcnvfx.c log diff annotate
src/sys/arch/hppa/spmath/fcnvfxt.c log diff annotate
src/sys/arch/hppa/spmath/frnd.c log diff annotate
src/sys/arch/hppa/spmath/sfsqrt.c log diff annotate
src/sys/arch/hppa/stand/libsa/ct.c log diff annotate
src/sys/arch/i386/i386/mem.c log diff annotate
src/sys/arch/i386/i386/trap.c log diff annotate
src/sys/arch/luna88k/dev/lunaws.c log diff annotate
src/sys/arch/macppc/macppc/mainbus.c log diff annotate
src/sys/arch/macppc/pci/pchb.c log diff annotate
src/sys/arch/mips64/mips64/sendsig.c log diff annotate
src/sys/arch/sh/include/pmap.h log diff annotate
src/sys/arch/sparc64/sparc64/autoconf.c log diff annotate
src/sys/arch/sparc64/sparc64/machdep.c log diff annotate
src/sys/ddb/db_break.c log diff annotate
src/sys/ddb/db_command.c log diff annotate
src/sys/ddb/db_examine.c log diff annotate
src/sys/ddb/db_run.c log diff annotate
src/sys/ddb/db_variables.c log diff annotate
src/sys/ddb/db_watch.c log diff annotate
message Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

date 2023-03-08T04:43:08Z
author guenther
files src/sys/dev/rnd.c log diff annotate
src/sys/dev/vnd.c log diff annotate
src/sys/dev/i2c/i2c_bitbang.c log diff annotate
src/sys/dev/pci/cmpci.c log diff annotate
src/sys/dev/pci/eso.c log diff annotate
src/sys/dev/pci/if_ipw.c log diff annotate
src/sys/dev/pci/if_iwi.c log diff annotate
src/sys/dev/pckbc/pckbd.c log diff annotate
src/sys/dev/usb/if_mtw.c log diff annotate
src/sys/dev/usb/if_otus.c log diff annotate
src/sys/dev/usb/if_rsu.c log diff annotate
src/sys/dev/usb/if_run.c log diff annotate
src/sys/dev/usb/if_urtwn.c log diff annotate
src/sys/isofs/cd9660/cd9660_rrip.c log diff annotate
src/sys/isofs/cd9660/cd9660_vfsops.c log diff annotate
src/sys/isofs/cd9660/cd9660_vnops.c log diff annotate
src/sys/lib/libsa/dev.c log diff annotate
src/sys/miscfs/deadfs/dead_vnops.c log diff annotate
src/sys/miscfs/fifofs/fifo_vnops.c log diff annotate
src/sys/msdosfs/msdosfs_denode.c log diff annotate
src/sys/netinet/if_ether.c log diff annotate
message Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

date 2023-03-08T04:43:09Z
author guenther
files src/sys/netinet/ip_carp.c log diff annotate
src/sys/nfs/nfs_kq.c log diff annotate
src/sys/nfs/nfs_serv.c log diff annotate
src/sys/nfs/nfs_vfsops.c log diff annotate
src/sys/nfs/nfs_vnops.c log diff annotate
src/sys/sys/tree.h log diff annotate
src/sys/ufs/ext2fs/ext2fs_readwrite.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vfsops.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vnops.c log diff annotate
src/sys/ufs/ufs/ufs_vfsops.c log diff annotate
src/sys/ufs/ufs/ufs_vnops.c log diff annotate
src/sys/uvm/uvm_mmap.c log diff annotate
message Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

date 2023-03-08T18:05:05Z
author cheloha
files src/sys/arch/amd64/amd64/lapic.c log diff annotate
message amd64: lapic_timer_rearm: don't reset mode, mask, divisor

The apic timer mode, mask, and divisor are set during lapic_timer_trigger().
We don't need to reset them when rearming the timer. On physical hardware
the difference is too small to measure, but skipping two apic writes may be
a bit faster when we're running in a VM.

Bochs also likes to log when the apic divisor is changed:

38569516308i[APIC0 ] set timer divide factor to 1
38569517335i[APIC0 ] set timer divide factor to 1
38569518042i[APIC0 ] set timer divide factor to 1
[...]

With this change, Bochs is a lot less noisy.

Idea from mlarkin@.

ok mlarkin@

date 2023-03-08T23:17:02Z
author bluhm
files src/sys/netinet/ip_input.c log diff annotate
message An invalid source routing IP option could overwrite kernel memory
by using a bad option length. This bug is only reachable if both
pf IP option check is disabled and IP source routing is enabled.
reported by @fuzzingrf Erg Noor
OK claudio@ deraadt@