OpenBSD cvs log

created 2019-05-08T06:39:52Z
begin 2018-02-26T00:00:00Z
end 2018-02-27T00:00:00Z
path src/sys
commits 8

date 2018-02-26T03:12:41Z
author guenther
files src/sys/arch/amd64/include/pmap.h log diff annotate
message Delete pmap_update_2pg(), the #include of , trailing
whitespace, and the leading underbars of '__inline'

ok mlarkin@

date 2018-02-26T06:46:10Z
author ccardenas
files src/sys/dev/pci/pcidevs log diff annotate
message Add devices found on thinkpad e475 with an AMD A10-9600P
(Bristol Ridge, aka tweaked Carrizo) not to be confused with
Carrizo-L (16h apu).

ok jsg@, mlarkin@

date 2018-02-26T06:47:06Z
author ccardenas
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2018-02-26T13:06:49Z
author mpi
files src/sys/dev/usb/usb.c log diff annotate
src/sys/dev/usb/usbpcap.h log diff annotate
message Support dumping isochronous frames via bpf(4) using the USBPcap protocol.

ok deraadt@, ratchov@

date 2018-02-26T13:11:48Z
author kettenis
files src/sys/dev/fdt/if_dwge_fdt.c log diff annotate
message Fix typo in previous commit.

date 2018-02-26T13:33:25Z
author mpi
files src/sys/kern/kern_sig.c log diff annotate
src/sys/sys/signalvar.h log diff annotate
message Fix a TOCTOU race that causes signals to be delivered more than once.

The race is only triggerable if one of the threads of a multi-threaded
program is in the middle of a NOLOCK syscall when a signal is received.

The problem is that `ps_sigact' is shared between threads so its access
should be serialized. In the case of SA_RESETHAND, the handler is reset
when a signal is delivered, so delivering the signal twice would put the
process in an "impossible" state where some threads were stopped and some
were waiting for the others to die.

Serialize signal checking & processing with the KERNEL_LOCK() for now,
and introduce postsig_done() gypped from FreeBSD, to make sure the lock
is held when resetting the handler.

Bug report from espie@, ok visa@

date 2018-02-26T13:43:51Z
author mpi
files src/sys/kern/kern_proc.c log diff annotate
src/sys/kern/vfs_lockf.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Serialize access to UID data with a rwlock.

Caller must call uid_release() after making whatever change they needed
on the result of uid_find().

Adapted from guenther@'s proctree diff, ok dlg@, visa@

date 2018-02-26T22:37:10Z
author kettenis
files src/sys/dev/fdt/rktemp.c log diff annotate
message Add RK3328 support.