OpenBSD cvs log

created 2018-12-19T11:04:01Z
begin 2018-04-24T12:00:00Z
end 2018-04-24T18:00:00Z
path src/sys
commits 6

date 2018-04-24T15:32:28Z
author mlarkin
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
message make the check for XSAVE the same as it is later in the file, for
consistency.

ok guenther

note - there is no equivalent diff here for i386 since XSAVE is not used
there.

date 2018-04-24T15:40:55Z
author pirofti
files src/sys/net/if.c log diff annotate
src/sys/net/Attic/raw_usrreq.c log diff annotate
src/sys/netinet/in.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/udp_usrreq.c log diff annotate
src/sys/netinet6/in6.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
message Push NET_LOCK down in the default ifioctl case.

For the PRU_CONTROL bit the NET_LOCK surrounds in[6]_control() and
on the ENOTSUPP case we guard the driver if_ioctl functions.

OK mpi@

date 2018-04-24T16:28:42Z
author pirofti
files src/sys/kern/kern_synch.c log diff annotate
message Validate timespec and return ECANCELED when interrupted with SA_RESTART.

Discussing with mpi@ and guenther@, we decided to first fix the existing
semaphore implementation with regards to SA_RESTART and POSIX compliant
returns in the case where we deal with restartable signals.

Currently we return EINTR everywhere which is mostly incorrect as the
user can not know if she needs to recall the syscall or not. Return
ECANCELED to signal that SA_RESTART was set and EINTR otherwise.

Regression tests pass and so does the posixsuite. Timespec validation
bits are needed to pass the later.

OK mpi@, guenther@

date 2018-04-24T17:05:54Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message account for FPU context switch (uvm statistic only)

date 2018-04-24T17:19:35Z
author pirofti
files src/sys/kern/sys_futex.c log diff annotate
message Make futex(2) also return ECANCELED in case SA_RESTART was set.

Prodded by and ok mpi@

date 2018-04-24T17:22:33Z
author landry
files src/sys/dev/usb/usb_subr.c log diff annotate
src/sys/dev/usb/usbdivar.h log diff annotate
src/sys/dev/usb/uvideo.c log diff annotate
message Fill the 'card' member of v4l2_capability struct with the usb product
name coming from usbd_devinfo_vp() instead of the dummy "Generic USB
video class device" string, makes it easier to differentiate multiple
webcams in firefox's webrtc permission dialog.

ok/help mpi@