OpenBSD cvs log

created 2018-11-29T21:28:31Z
begin 2018-06-04T00:00:00Z
end 2018-06-05T00:00:00Z
path src/sys
commits 15

date 2018-06-04T04:46:07Z
author guenther
files src/sys/kern/kern_rwlock.c log diff annotate
src/sys/sys/rwlock.h log diff annotate
message Add RW_DUPOK for suppressing witness checks for specific rw_enter() calls

ok deraadt@ visa@

date 2018-06-04T04:57:09Z
author guenther
files src/sys/kern/vfs_subr.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/sys/mount.h log diff annotate
message Add VB_DUPOK to suppress witness(4) warning of concurrent mount locks.
Use that in three places:
- vfs_stall()
- sys_mount()
- dounmount()'s MNT_FORCE-does-recursive-unmounts case

ok deraadt@ visa@

date 2018-06-04T05:24:11Z
author kevlo
files src/sys/dev/isa/nsclpcsio_isa.c log diff annotate
message Nuke unused variable.

ok deraadt@

date 2018-06-04T09:19:52Z
author kettenis
files src/sys/arch/armv7/sunxi/sxiahci.c log diff annotate
message Remove unused include.

date 2018-06-04T09:24:49Z
author kettenis
files src/sys/arch/armv7/sunxi/sxiintc.c log diff annotate
message Remove unused include.

date 2018-06-04T09:25:16Z
author kettenis
files src/sys/arch/armv7/sunxi/sxitimer.c log diff annotate
message Remove unused/commented out includes.

date 2018-06-04T10:33:51Z
author patrick
files src/sys/dev/fdt/imxesdhc.c log diff annotate
message imxesdhc(4) also supports High Speed mode for SD.

ok kettenis@

date 2018-06-04T10:37:14Z
author patrick
files src/sys/dev/sdmmc/sdmmc_io.c log diff annotate
src/sys/dev/sdmmc/sdmmc_ioreg.h log diff annotate
message Switch to SDIO High Speed mode if the host controller supports it.

ok kettenis@

date 2018-06-04T12:13:01Z
author bluhm
files src/sys/netinet/ipsec_output.c log diff annotate
message Cleanup IPsec output error handling with consistent goto drop.
from markus@; OK mpi@

date 2018-06-04T12:22:45Z
author bluhm
files src/sys/net/pf.c log diff annotate
message The function pf_create_state() calls pf_set_protostate() before
pf_state_insert(), so the state key has not been set. When inlining,
the compiler recognized the NULL pointer dereference in
s->key[PF_SK_STACK]->proto and optimized it away. But if pf.c was
compiled with -fno-inline, the system crashed during boot. Add a
NULL check in pf_set_protostate() to handle the situation when the
function is called.
OK sashan@ henning@

date 2018-06-04T13:33:10Z
author patrick
files src/sys/dev/sdmmc/sdmmc_io.c log diff annotate
src/sys/dev/sdmmc/sdmmc_ioreg.h log diff annotate
src/sys/dev/sdmmc/sdmmc_mem.c log diff annotate
message 4-bit bus width is mandatory for SDIO cards that support High Speed
mode, so switch from 1-bit to 4-bit bus width if the host controller
supports it.

ok kettenis@

date 2018-06-04T15:04:57Z
author deraadt
files src/sys/dev/sdmmc/sdmmc_io.c log diff annotate
message in non-DIAGNOSTIC kernels, rw_assert_wrlock becomes a nop which leaves the
local variable dangling, so calculate the lock address by hand at invocation
ok kettenis

date 2018-06-04T18:16:43Z
author cheloha
files src/sys/kern/kern_clock.c log diff annotate
message drop BUMPTIME

unused since v1.76, ca 5.3

ok kettenis@ deraadt@

date 2018-06-04T19:42:54Z
author kn
files src/sys/kern/vfs_cache.c log diff annotate
message Sync VFS documentation with reality

Missed during the "Namecache revamp" in 2009.

Reported by Georg Bege , thanks.

OK visa jmc mpi jca

date 2018-06-04T22:10:58Z
author kettenis
files src/sys/arch/arm/arm/cpufunc.c log diff annotate
src/sys/arch/arm/arm/locore.S log diff annotate
message Remove the cpu_reset_needs_v4_MMU_disable flag; it's always true for hardware
that OpenBSD runs on.

ok patrick@