OpenBSD cvs log

created 2019-07-25T11:36:54Z
begin 2019-07-10T00:00:00Z
end 2019-07-11T00:00:00Z
path src/sys
commits 8

date 2019-07-10T00:17:53Z
author deraadt
files src/sys/arch/sparc64/conf/RAMDISK log diff annotate
message +ixl (which was used to debug problems on T4-1)

date 2019-07-10T07:56:30Z
author kettenis
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/i915/intel_breadcrumbs.c log diff annotate
src/sys/dev/pci/drm/include/linux/kthread.h log diff annotate
src/sys/dev/pci/drm/scheduler/gpu_scheduler.c log diff annotate
message Implement Linux kthread interfaces.

ok jsg@

date 2019-07-10T08:16:10Z
author patrick
files src/sys/dev/usb/uvideo.c log diff annotate
message Also dump interface association descriptor when debugging is
compiled in.

ok jan@

date 2019-07-10T08:21:43Z
author patrick
files src/sys/dev/usb/uvideo.c log diff annotate
message The USB video class specification has increased its probe buffer
sizes with each specification. Use the correct size for the given
version, since some newer devices cannot handle small buffers.

ok jan@

date 2019-07-10T15:52:17Z
author mpi
files src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/kern/sys_futex.c log diff annotate
message Stop sleeping at PUSER.

This allows to enforce that sleeping priorities will now always be <
PUSER.

ok visa@, ratchov@

date 2019-07-10T16:43:19Z
author anton
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/isofs/cd9660/cd9660_vnops.c log diff annotate
src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/kern/vfs_vnops.c log diff annotate
src/sys/miscfs/fuse/fuse_vnops.c log diff annotate
src/sys/msdosfs/msdosfs_vnops.c log diff annotate
message Make read/write of the f_offset field belonging to struct file MP-safe;
as part of the effort to unlock the kernel. Instead of relying on the
vnode lock, introduce a dedicated lock per file. Exclusive write access
is granted using the new foffset_enter and foffset_leave API. A
convenience function foffset_get is also available for threads that only
need to read the current offset.

The lock acquisition order in vn_write has been changed to match the one
in vn_read in order to avoid a potential deadlock. This change also gets
rid of a documented race in vn_read().

Inspired by the FreeBSD implementation.

With help and ok mpi@ visa@

date 2019-07-10T16:43:20Z
author anton
files src/sys/nfs/nfs_kq.c log diff annotate
src/sys/sys/file.h log diff annotate
src/sys/tmpfs/tmpfs_vnops.c log diff annotate
src/sys/ufs/ufs/ufs_vnops.c log diff annotate
message Make read/write of the f_offset field belonging to struct file MP-safe;
as part of the effort to unlock the kernel. Instead of relying on the
vnode lock, introduce a dedicated lock per file. Exclusive write access
is granted using the new foffset_enter and foffset_leave API. A
convenience function foffset_get is also available for threads that only
need to read the current offset.

The lock acquisition order in vn_write has been changed to match the one
in vn_read in order to avoid a potential deadlock. This change also gets
rid of a documented race in vn_read().

Inspired by the FreeBSD implementation.

With help and ok mpi@ visa@

date 2019-07-10T18:45:31Z
author bluhm
files src/sys/netinet/tcp.h log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
message Received SACK options are managed by a linked list at the TCP socket.
There is a global tunable limit net.inet.tcp.sackholelimit, default
is 32768. If an attacker manages to attach all these sack holes
to a few TCP connections, the lists may grow long. Traversing them
might cause higher CPU consumption on the victim machine. In
practice such a situation is hard to create as the TCP retransmit
and 2*msl timer flush the list periodically. For additional
protection, enforce a per connection limit of 128 SACK holes in the
list.
reported by Reuven Plevinsky and Tal Vainshtein
discussed with claudio@ and procter@; OK deraadt@