OpenBSD cvs log

created 2022-09-04T07:44:09Z
begin 2022-08-29T00:00:00Z
end 2022-08-30T00:00:00Z
path src/sys
commits 19

date 2022-08-29T01:34:18Z
author drahn
files src/sys/arch/arm64/dev/agintc.c log diff annotate
message Support full GICD SPI interrupt count for REG32/REG16.
This enables SPI support for interrupts on X13s.
ok jsg@

date 2022-08-29T02:01:18Z
author jsg
files src/sys/arch/amd64/include/atomic.h log diff annotate
src/sys/arch/arm/arm/vfp.c log diff annotate
src/sys/arch/arm/include/atomic.h log diff annotate
src/sys/arch/arm64/include/armreg.h log diff annotate
src/sys/arch/arm64/include/atomic.h log diff annotate
src/sys/arch/arm64/include/cpu.h log diff annotate
src/sys/arch/i386/include/atomic.h log diff annotate
src/sys/arch/m88k/include/atomic.h log diff annotate
src/sys/arch/octeon/include/octeonvar.h log diff annotate
src/sys/arch/powerpc/include/atomic.h log diff annotate
src/sys/arch/powerpc64/include/atomic.h log diff annotate
src/sys/arch/powerpc64/powerpc64/syncicache.c log diff annotate
src/sys/arch/riscv64/include/atomic.h log diff annotate
src/sys/arch/riscv64/include/cpu.h log diff annotate
src/sys/arch/riscv64/include/cpufunc.h log diff annotate
src/sys/arch/riscv64/include/riscvreg.h log diff annotate
src/sys/arch/riscv64/include/sbi.h log diff annotate
src/sys/arch/riscv64/riscv64/pmap.c log diff annotate
message use ansi volatile keyword, not __volatile
ok miod@ guenther@

date 2022-08-29T02:08:13Z
author jsg
files src/sys/arch/mips64/mips64/cache_mips64r2.c log diff annotate
src/sys/dev/pv/hyperv.c log diff annotate
message use ansi volatile keyword, not __volatile__
ok miod@ guenther@

date 2022-08-29T02:58:13Z
author jsg
files src/sys/arch/amd64/include/pmap.h log diff annotate
src/sys/arch/i386/include/cpu.h log diff annotate
src/sys/arch/i386/include/pmap.h log diff annotate
src/sys/arch/luna88k/dev/mb89352.c log diff annotate
src/sys/uvm/uvm_aobj.c log diff annotate
src/sys/uvm/uvm_page.c log diff annotate
message static inline, not inline static

c99 6.11.5:
"The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature."

ok guenther@

date 2022-08-29T06:08:03Z
author jsg
files src/sys/arch/alpha/alpha/trap.c log diff annotate
src/sys/arch/i386/pci/ali1543.c log diff annotate
src/sys/crypto/sha2.c log diff annotate
src/sys/dev/ic/adwlib.c log diff annotate
message static const, not const static

c99 6.11.5:
"The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature."

ok miod@ tb@

date 2022-08-29T06:08:04Z
author jsg
files src/sys/dev/isa/gus.c log diff annotate
src/sys/dev/pci/if_mtd_pci.c log diff annotate
src/sys/dev/pci/if_tht.c log diff annotate
src/sys/dev/pci/pciide_natsemi_reg.h log diff annotate
src/sys/dev/pci/pciide_opti_reg.h log diff annotate
src/sys/dev/pci/yds.c log diff annotate
src/sys/dev/sbus/cs4231.c log diff annotate
src/sys/miscfs/fuse/fuse_device.c log diff annotate
message static const, not const static

c99 6.11.5:
"The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature."

ok miod@ tb@

date 2022-08-29T07:35:40Z
author jsg
files src/sys/arch/macppc/include/Attic/ipkdb.h log diff annotate
src/sys/arch/macppc/include/Attic/kbio.h log diff annotate
src/sys/arch/powerpc/include/Attic/ipkdb.h log diff annotate
message remove unused macppc headers
ok miod@ mpi@ gnezdo@

date 2022-08-29T07:51:45Z
author bluhm
files src/sys/dev/dt/dt_prov_static.c log diff annotate
src/sys/net/if_enc.c log diff annotate
src/sys/net/if_mpe.c log diff annotate
src/sys/net/if_mpip.c log diff annotate
src/sys/net/if_mpw.c log diff annotate
src/sys/net/if_pppx.c log diff annotate
src/sys/net/if_var.h log diff annotate
src/sys/net/route.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/in.c log diff annotate
src/sys/netinet6/in6.c log diff annotate
src/sys/netinet6/nd6_nbr.c log diff annotate
src/sys/sys/refcnt.h log diff annotate
message Use struct refcnt for interface address reference counting.
There was a crash due to use after free of the ifa although it is
ref counted. As ifa_refcnt was a simple integer increment, there
may be a path where multiple CPUs access it concurrently. So change
to struct refcnt which is MP safe and provides dt(4) leak debugging.
Link level address for IPsec enc(4) and various MPLS interfaces is
special. There ifa is part of struct sc. Use refcount anyway and
add a panic to detect use after free.
bug report stsp@; OK mvs@

date 2022-08-29T08:08:17Z
author mvs
files src/sys/kern/uipc_usrreq.c log diff annotate
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/tcp_var.h 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
message Move PRU_RCVOOB request to (*pru_rcvoob)().

ok bluhm@

date 2022-08-29T09:50:38Z
author mbuhl
files src/sys/netinet/tcp_usrreq.c log diff annotate
message Sendmsg could crash in tcp_output due to a missing check after the
introduction of tcp_send.
OK mvs@, bluhm@, gnezdo@
Reported-by: [email protected]

date 2022-08-29T11:09:31Z
author mpi
files src/sys/uvm/uvm_swap.c log diff annotate
src/sys/uvm/uvmexp.h log diff annotate
message Use a rwlock and a mutex to serialize access to global swap variables.

Adapted from NetBSD by tb@.

ok tb@, kn@

date 2022-08-29T14:43:56Z
author bluhm
files src/sys/netinet/ip_input.c log diff annotate
message Do not calculate the output protocol checksum in the IP input path.
This logic was introduced in 2013 when pf checksum fixup was
temporarily removed. After restoring the pf bahavior in 2016, it
should not be necessary anymore.
OK claudio@

date 2022-08-29T15:39:55Z
author kettenis
files src/sys/dev/pci/pcidevs log diff annotate
message Add Qualcomm SC8280XP PCIe.

ok dv@

date 2022-08-29T15:40:26Z
author kettenis
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2022-08-29T15:42:25Z
author kettenis
files src/sys/arch/arm64/dev/acpipci.c log diff annotate
message Work around MSI and INTx issues on Qualcomm SC8280XP. This makes the NVMe
work on the Lenovo x13s.

ok dv@

date 2022-08-29T16:53:46Z
author deraadt
files src/sys/kern/exec_elf.c log diff annotate
message If ld.so loading fails inside execve, uprintf a message to report this
before the SIGABRT kills the process. This clarifies the failure mode
(and resolution to take) when a dynamic executable is run while /usr
isn't mounted. ok miod kettenis

date 2022-08-29T17:13:57Z
author kettenis
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
message Put printing the EFI memory map behind and #ifdef.

ok deraadt@

date 2022-08-29T17:59:12Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwx.c log diff annotate
message Fix integer overflows in iwm(4) and iwx(4) firmware file parsers.

Found by hshoexer and gerhard@, and reported to me by Christian Ehrhardt.

ok gerhard@

date 2022-08-29T19:01:52Z
author stsp
files src/sys/dev/softraid.c log diff annotate
message Examine RAID-1C-specific softraid(4) meta-data when checking for
a key disk which is associated with a RAID-1C volume.

ok jsing@, style tweak + ok kn@