OpenBSD cvs log

created 2018-11-29T22:44:08Z
begin 2018-06-25T00:00:00Z
end 2018-06-26T00:00:00Z
path src/sys
commits 11

date 2018-06-25T09:36:28Z
author mpi
files src/sys/kern/kern_descrip.c log diff annotate
src/sys/sys/filedesc.h log diff annotate
message Introduce fnew(), a function to initialize a `struct file'.

Commiting now to help refactoring of DRI3 and diskmap rewrite.

ok visa@, kettenis@ as part of a larger diff.

date 2018-06-25T09:39:16Z
author mpi
files src/sys/net/rtsock.c log diff annotate
message Push the NET_LOCK() down in rtm_output().

ok tb@, visa@

date 2018-06-25T09:41:45Z
author mpi
files src/sys/net/route.c log diff annotate
src/sys/net/route.h log diff annotate
src/sys/net/rtsock.c log diff annotate
message Factorize MPLS setup/teardown into two functions.

ok claudio@

date 2018-06-25T09:48:17Z
author mpi
files src/sys/net/pfkeyv2.c log diff annotate
message Push the NET_LOCK() down in pfkeyv2_send().

While here document which field of the PCB is protected by which lock.

ok visa@

date 2018-06-25T11:11:41Z
author mpi
files src/sys/netinet/ip_spd.c log diff annotate
message Assert that the NET_LOCK() is held when iterating over `ipsec_acquire_head'.

ok visa@ as part of a larger bigger diff

date 2018-06-25T12:03:53Z
author helg
files src/sys/miscfs/fuse/fuse_device.c log diff annotate
src/sys/miscfs/fuse/fuse_vfsops.c log diff annotate
src/sys/miscfs/fuse/fusefs.h log diff annotate
message Remove unused fbuf parameter from fuse_device_cleanup().

ok mpi@

date 2018-06-25T15:20:39Z
author denis
files src/sys/net/if_enc.c log diff annotate
message Fix a kernelpanic when using rdomain(4) and enc(4)

OK jca@ mpi@

date 2018-06-25T16:06:27Z
author visa
files src/sys/kern/vfs_syscalls.c log diff annotate
message During open(2), release the fdp lock before calling vn_open(9).
This lets other threads of the process modify the file descriptor
table even if the vn_open(9) call blocks.

The change has an effect on dup2(2) and dup3(2). If the new descriptor
is the same as the one reserved by an unfinished open(2), the system
call will fail with error EBUSY. The accept(2) system call already
behaves like this.

Issue pointed out by art@ via mpi@

Tested in a bulk build by ajacoutot@
OK mpi@

date 2018-06-25T22:29:16Z
author kettenis
files src/sys/dev/pci/drm/drmP.h log diff annotate
src/sys/dev/pci/drm/drm_drv.c log diff annotate
src/sys/dev/pci/drm/drm_gem.c log diff annotate
src/sys/dev/pci/drm/drm_internal.h log diff annotate
src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/drm_linux.h log diff annotate
src/sys/dev/pci/drm/drm_prime.c log diff annotate
src/sys/dev/pci/drm/files.drm log diff annotate
src/sys/dev/pci/drm/i915/i915_drv.c log diff annotate
src/sys/dev/pci/drm/i915/i915_drv.h log diff annotate
src/sys/dev/pci/drm/i915/i915_gem_dmabuf.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_drv.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_prime.c log diff annotate
src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/kern_pledge.c log diff annotate
src/sys/sys/file.h log diff annotate
message Implement DRI3/prime support. This allows graphics buffers to be passed
between processes using file descriptors. This provides an alternative to
eporting them with guesable 32-bit IDs. This implementation does not (yet)
allow sharing of graphics buffers between GPUs.

ok mpi@, visa@

date 2018-06-25T22:33:24Z
author kettenis
files src/sys/arch/amd64/amd64/acpi_machdep.c log diff annotate
src/sys/arch/amd64/amd64/hibernate_machdep.c log diff annotate
src/sys/arch/i386/i386/acpi_machdep.c log diff annotate
src/sys/arch/i386/i386/hibernate_machdep.c log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpivar.h log diff annotate
message Reorganize acpi(4) code a bit in preparation for upcoming arm64 support.

ok deraadt@

date 2018-06-25T22:39:14Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/Makefile log diff annotate
src/sys/arch/arm64/stand/efiboot/acpi.dts log diff annotate
src/sys/arch/arm64/stand/efiboot/dt_blob.S log diff annotate
src/sys/arch/arm64/stand/efiboot/efiacpi.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efiboot.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efiboot.h log diff annotate
message Add code that builds a basic device tree from ACPI tables if the firmware
didn't provide its own device tree.

ok patrick@