OpenBSD cvs log

created 2019-05-08T06:10:17Z
begin 2018-02-10T00:00:00Z
end 2018-02-11T00:00:00Z
path src/sys
commits 24

date 2018-02-10T02:54:33Z
author mortimer
files src/sys/kern/exec_subr.c log diff annotate
message Use sched_pause(yield) to decide when to yield when filling randomdata.

ok deraadt@

date 2018-02-10T05:11:06Z
author jmatthew
files src/sys/arch/amd64/amd64/hibernate_machdep.c log diff annotate
src/sys/arch/i386/i386/hibernate_machdep.c log diff annotate
message Add a mapping from grandparent driver name to hibernate io function to reduce
the number of ->dv_parent->dv_parent chains and make this more readable.

ok deraadt@ phessler@

date 2018-02-10T05:21:13Z
author jmatthew
files src/sys/dev/sdmmc/sdhc.c log diff annotate
message fix build with SDHC_DEBUG defined, no binary change otherwise

date 2018-02-10T05:24:23Z
author deraadt
files src/sys/dev/acpi/acpi.c log diff annotate
src/sys/isofs/cd9660/cd9660_extern.h log diff annotate
src/sys/isofs/cd9660/cd9660_vfsops.c log diff annotate
src/sys/isofs/udf/udf_extern.h log diff annotate
src/sys/isofs/udf/udf_vfsops.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
src/sys/kern/vfs_sync.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/kern/vfs_vops.c log diff annotate
src/sys/miscfs/fuse/fuse_vfsops.c log diff annotate
src/sys/msdosfs/msdosfs_vfsops.c log diff annotate
src/sys/msdosfs/msdosfsmount.h log diff annotate
src/sys/nfs/nfs_vfsops.c log diff annotate
src/sys/ntfs/ntfs_vfsops.c log diff annotate
src/sys/sys/file.h log diff annotate
src/sys/sys/mount.h log diff annotate
src/sys/sys/vnode.h log diff annotate
src/sys/ufs/ext2fs/ext2fs_extern.h log diff annotate
src/sys/ufs/ext2fs/ext2fs_vfsops.c log diff annotate
src/sys/ufs/ffs/ffs_extern.h log diff annotate
src/sys/ufs/ffs/ffs_softdep.c log diff annotate
src/sys/ufs/ffs/ffs_vfsops.c log diff annotate
message Syncronize filesystems to disk when suspending. Each mountpoint's vnodes
are pushed to disk. Dangling vnodes (unlinked files still in use) and
vnodes undergoing change by long-running syscalls are identified -- and
such filesystems are marked dirty on-disk while we are suspended (in case
power is lost, a fsck will be required). Filesystems without dangling or
busy vnodes are marked clean, resulting in faster boots following
"battery died" circumstances.
Tested by numerous developers, thanks for the feedback.

date 2018-02-10T05:32:21Z
author claudio
files src/sys/net/if.c log diff annotate
src/sys/net/if_loop.c log diff annotate
src/sys/netinet/in.c log diff annotate
src/sys/netinet/in.h log diff annotate
message Similar to the IPv6 case create on lo(4) interfaces which act
as loopback interfaces for each rdomain (including lo0). This is done when
the interface is brought up. This is now also done by default (either on
attach of lo0 or when creating the rdomain).
OK mpi@

date 2018-02-10T05:52:08Z
author florian
files src/sys/net/if.c log diff annotate
src/sys/net/if.h log diff annotate
src/sys/netinet6/in6.h log diff annotate
src/sys/netinet6/in6_ifattach.c log diff annotate
src/sys/netinet6/in6_ifattach.h log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
message Implement RFC 7217: "A Method for Generating Semantically Opaque
Interface Identifiers with IPv6 Stateless Address Autoconfiguration."

"An IPv6 address configured using this method is stable within each
subnet, but the corresponding Interface Identifier changes when the
host moves from one network to another. This method is meant to be an
alternative to generating Interface Identifiers based on hardware

OK naddy, sthen

date 2018-02-10T06:00:06Z
author claudio
files src/sys/kern/uipc_socket2.c log diff annotate
message mbufs and mbuf clusters are now backed by large pools. Because of this
we can relax the oversubscribe limit of socketbuffers a fair bit.
Instead of maxing out as sb_max * 1.125 or 2 * sb_hiwat the maximum is
increased to 8 * sb_hiwat -- which seems to be a good compromise between
memory waste and better socket buffer usage.
OK deraadt@

date 2018-02-10T06:52:47Z
author patrick
files src/sys/arch/arm/conf/kern.ldscript log diff annotate
src/sys/arch/arm/conf/Attic/ldscript.head log diff annotate
src/sys/arch/arm/conf/Attic/ldscript.tail log diff annotate
src/sys/arch/armv7/conf/Makefile.armv7 log diff annotate
message Put the ldscript parts into a single file instead of storing it as head
and tail and cat(1) it together. It was maybe needed when ports needed
different contents, but now it's just a headache.

ok deraadt@

date 2018-02-10T07:02:21Z
author patrick
files src/sys/arch/arm/conf/kern.ldscript log diff annotate
message Supplying entropy from etext has created a regression on arm where we
get an alignment fault while copying the data. Turns out that since we
have .rodata in the text segment, it's very easily possible that etext
remains unaligned. Work around this by word-aligning etext. The next
step is to split .rodata out of the text segment.

ok deraadt@

date 2018-02-10T08:12:01Z
author dlg
files src/sys/net/if_gif.c log diff annotate
src/sys/net/if_gif.h log diff annotate
src/sys/netinet/in_proto.c log diff annotate
src/sys/netinet/ip_ether.c log diff annotate
src/sys/netinet6/in6_proto.c log diff annotate
message rework gif to be more consistent.

while here, give us support for mpls in gif on ipv6.

this moves all the gif handling into if_gif, eg, the mpls handling
is no longer in ip_etherip.c.

ok claudio@

date 2018-02-10T08:47:37Z
author claudio
files src/sys/netinet/in.c log diff annotate
message Kill unneeded caddr_t cast.

date 2018-02-10T09:17:56Z
author mpi
files src/sys/net/route.c log diff annotate
message If the kernel fails to clone an entry, report rtrequest(9) error.

ok claudio@, jmatthew@

date 2018-02-10T09:21:12Z
author mpi
files src/sys/arch/amd64/amd64/ log diff annotate
src/sys/arch/amd64/amd64/Attic/mutex.S log diff annotate
src/sys/arch/i386/i386/ log diff annotate
src/sys/arch/i386/i386/Attic/mutex.S log diff annotate
message Remove now unused assembly mutex code.

ok mlarkin@, deraadt@

date 2018-02-10T09:32:54Z
author claudio
files src/sys/net/if.c log diff annotate
message There is a problem with assigning here. Revert the call
to in_up_loopback(). There is an issue when doing ifconfig lo0
the system ends up with 2 routes which breaks things like smptd.
Found by tb@

date 2018-02-10T09:46:58Z
author jsg
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
src/sys/arch/amd64/include/specialreg.h log diff annotate
src/sys/arch/i386/i386/machdep.c log diff annotate
src/sys/arch/i386/include/specialreg.h log diff annotate
message Additional AMD CPUID bits documented in
"Processor Programming Reference (PPR) for AMD Family 17h
Model 01h, Revision B1 Processors"

ok mlarkin@ deraadt@

date 2018-02-10T09:53:47Z
author patrick
files src/sys/arch/arm/conf/kern.ldscript log diff annotate
message Replace two spaces indents with tabs. Makes it easier to read and
especially makes it easier to diff against our other linker scripts.

ok jsg@

date 2018-02-10T10:25:44Z
author mpi
files src/sys/arch/amd64/amd64/db_trace.c log diff annotate
message Revert previous & incorrect NULL dereference fix.

This unbreak backtrace across interrupt frames.

date 2018-02-10T10:32:51Z
author mpi
files src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_proc.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Move cleanup job control bits to their own function.

Part of the larger 'proctreelk' diff from guenther@

No functional change, ok benno@, tedu@

date 2018-02-10T12:44:20Z
author mpi
files src/sys/arch/arm/armv7/Attic/armv7_mutex.c log diff annotate
src/sys/arch/arm/conf/files.arm log diff annotate
src/sys/arch/arm/include/mutex.h log diff annotate
message Convert armv7 to MI mutex.

Tested by jsg@, ok patrick@

date 2018-02-10T12:53:22Z
author mpi
files src/sys/kern/kern_lock.c log diff annotate
src/sys/sys/mutex.h log diff annotate
message Artur Grabowski agreed to relicense his C mutex implementation under ISC.

This will prevent a copyright-o-rama in kern_lock.c

date 2018-02-10T12:59:24Z
author mpi
files src/sys/kern/kern_lock.c log diff annotate
message Merge license blocks now that they are identical.

date 2018-02-10T22:31:34Z
author kettenis
files src/sys/dev/fdt/sxiccmu.c log diff annotate
src/sys/dev/fdt/sxiccmu_clocks.h log diff annotate
message More Allwinner A64 clocks.

date 2018-02-10T22:32:01Z
author kettenis
files src/sys/dev/fdt/axppmic.c log diff annotate
message Add AXP803 support.

date 2018-02-10T22:32:32Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
message Enable axppmic(4).