OpenBSD cvs log

created 2019-05-14T11:12:52Z
begin 2019-05-13T00:00:00Z
end 2019-05-14T00:00:00Z
path src/sys
commits 15

date 2019-05-13T03:13:29Z
author patrick
files src/sys/arch/arm64/include/armreg.h log diff annotate
message Add the needed ICC_PMR_EL1 register bit defines for the previous
commit to unbreak the build.

from kettenis@
ok drahn@

date 2019-05-13T12:31:56Z
author abieber
files src/sys/arch/sgi/hpc/wskbdmap_sgi.c log diff annotate
message regen (missed this when I did the colemak update)

date 2019-05-13T15:40:34Z
author pd
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
src/sys/dev/pv/pvbus.c log diff annotate
src/sys/dev/pv/pvclock.c log diff annotate
src/sys/dev/pv/pvreg.h log diff annotate
message vmm: add host side pvclock

Emulate kvm pvclock in vmm(4). Compatible with pvclock(4) in OpenBSD. Linux
does not attach to this (yet).

Fixes by reyk@ and tested extensively by reyk@, tb@ and phessler@

ok mlarkin@ phessler@ reyk@

date 2019-05-13T16:23:15Z
author jsg
files src/sys/dev/pci/drm/include/linux/idr.h log diff annotate
message add idr_is_empty()

date 2019-05-13T17:31:51Z
author deraadt
files src/sys/kern/kern_descrip.c log diff annotate
message dup2(n,n) would rlimit check before handling the n==n shortcut,
and incorrectly return EBADF when n>curlim.
ok millert guenther tedu

date 2019-05-13T18:14:05Z
author mpi
files src/sys/net/if_bridge.c log diff annotate
message Deal with the case where bridge_getbif() can return NULL.

Since `bif' are removed from the interface list before calling smr_barrier()
and the hash queue is cleaned up afterward, it is possible to find an ifidx
with bridge_rtlookup() that won't match to any `bif'.

Fix a panic reported by Hrvoje Popovski, ok visa@

date 2019-05-13T18:20:13Z
author mpi
files src/sys/net/bridgestp.c log diff annotate
message Do not check for IFF_RUNNING inside bstp_initialization().

This allows to set such flag after completing the initialization of a
bridge and still have bstp_tick() be scheduled from the begining.

Fix a regression reported by and ok markus@

date 2019-05-13T19:21:31Z
author bluhm
files src/sys/kern/exec_elf.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/tty.c log diff annotate
src/sys/nfs/nfs_socket.c log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/signalvar.h log diff annotate
src/sys/sys/sysctl.h log diff annotate
message When killing a process, the signal is handled by any thread that
does not block the signal. If all threads block the signal, we
delivered it to the main thread. This does not conform to POSIX.
If any thread unblocks the signal, it should be delivered immediately
to this thread.
Mark such signals pending at the process instead of a single thread.
Then any thread can handle it later.
OK kettenis@ guenther@

date 2019-05-13T20:55:22Z
author drahn
files src/sys/arch/arm64/arm64/intr.c log diff annotate
src/sys/arch/arm64/dev/agintc.c log diff annotate
message Move idepth tracking out of interrupt controller into common layer.
'looks good' kettenis@

date 2019-05-13T21:27:59Z
author mpi
files src/sys/arch/alpha/dev/sgmap_common.c log diff annotate
src/sys/arch/alpha/include/bus.h log diff annotate
src/sys/arch/alpha/isa/isadma_bounce.c log diff annotate
message free(9) sizes.

From miod@

date 2019-05-13T21:29:28Z
author mpi
files src/sys/dev/pci/sv.c log diff annotate
message free(9) sizes.

From Jan Klemkow, ok tedu@

date 2019-05-13T21:44:13Z
author jsg
files src/sys/dev/pci/drm/include/linux/preempt.h log diff annotate
message add in_irq() in_interrupt() in_task()

in_irq() uses ci_idepth on archs that have it
in_interrupt() is the same as in_irq() for now, linux has in_irq() for
hard interrupt context and in_interrupt() is also for soft interrupt
and nmi context.

date 2019-05-13T21:50:50Z
author jsg
files src/sys/dev/pci/drm/i915/intel_guc_ct.c log diff annotate
message enable in_irq() based check

date 2019-05-13T22:55:27Z
author beck
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/kern_pledge.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
src/sys/kern/syscalls.master log diff annotate
src/sys/kern/vfs_getcwd.c log diff annotate
src/sys/kern/vfs_lookup.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/sys/namei.h log diff annotate
src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message Add a kernel implementation of realpath() as __realpath().

We want this so that we can stop allowing readlink() on traversed
vnodes in unveil().

This includes all the kernel side and the system call.
This is not yet used in libc for realpath, so nothing calls this yet.
The libc wrapper will be committed later.

Testing by many, and ports build by naddy@

ok deraadt@

date 2019-05-13T22:58:52Z
author tedu
files src/sys/dev/acpi/tpm.c log diff annotate
message print a newline for attach. from f holop