OpenBSD cvs log

created 2018-11-29T21:24:51Z
begin 2018-06-03T00:00:00Z
end 2018-06-04T00:00:00Z
path src/sys
commits 12

date 2018-06-03T05:18:33Z
author deraadt
files src/sys/arch/i386/conf/GENERIC.MP log diff annotate
message i386 isn't quite ready for witness yet.

date 2018-06-03T07:38:47Z
author fcambus
files src/sys/arch/loongson/conf/RAMDISK log diff annotate
message Enable bwfm(4) for USB devices on RAMDISK as well.

Requested by visa@.

date 2018-06-03T15:09:26Z
author kettenis
files src/sys/kern/sys_futex.c log diff annotate
src/sys/sys/futex.h log diff annotate
message Implement process-shared futexes. These are now the default implementation.
Introduce process-private futexs. These will bypass the uvm mapping lookup
and should be slightly more efficient.

ok visa@, mpi@

date 2018-06-03T17:26:31Z
author kettenis
files src/sys/dev/fdt/dwmmc.c log diff annotate
message Make DMA work on Samsung Exynos. The crucial bit that makes it work is
setting the FIFO thresholds apropriately. The code now also makes an
attempt to recover from failed DMA transfers.

date 2018-06-03T17:46:22Z
author tb
files src/sys/netinet/in.c log diff annotate
message Better version of the refactoring attempted in r1.154. Move SIOCSIFADDR
to its own function and merge the two switches in in_ioctl_change_ifaddr().
Finally: each ioctl has its own case and privilege check.

ok visa

As an aside, an audit of the ports tree has shown that we should continue
to support the legacy ioctls SIOCSIF{,BRD,DST}ADDR, SIOCSIFNETMASK despite
the fact that they have been deprecated for the better part of two decades
and FreeBSD dropped support 7 years ago. Too many ports still rely on them.
Thanks to sthen and visa for their help with that.

date 2018-06-03T18:17:27Z
author kettenis
files src/sys/dev/fdt/imxccm.c log diff annotate
src/sys/dev/ofw/ofw_clock.c log diff annotate
message Change the set_parent() interface to pass the full parent specification
(including the phandle).

ok patrick@

date 2018-06-03T18:20:28Z
author deraadt
files src/sys/kern/kern_pledge.c log diff annotate
message on i386, libm does sysctl to discover is the system has SSE. Whitelist
that sysctl in pledge. Discovered by Stuart Cassoff

date 2018-06-03T18:35:48Z
author tb
files src/sys/netinet/in.c log diff annotate
message SIOCSIFNETMASK takes a 'struct ifreq', so use 'ifr' for it and drop the
now unused 'ifra' from in_ioctl().

Discussed with mpi and visa

date 2018-06-03T18:58:11Z
author kettenis
files src/sys/arch/arm/arm/bcopy_page.S log diff annotate
src/sys/arch/arm/arm/bcopyinout.S log diff annotate
src/sys/arch/arm/arm/exception.S log diff annotate
src/sys/arch/arm/arm/fault.c log diff annotate
src/sys/arch/arm/arm/in_cksum_arm.S log diff annotate
message Remove #ifdef __XSCALE__ bits. No binary change.

ok deraadt@

date 2018-06-03T19:58:02Z
author bluhm
files src/sys/netinet6/in6_pcb.c log diff annotate
message Consistently call the inpcb table parameter "table" in in6_pcbnotify().
OK visa@ mpi@

date 2018-06-03T21:00:15Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
message Rename the incpb table field inpt_hash to inpt_mask as it contains
the hashmask. For the resize calculations it is clearer to use the
field inpt_size.
OK visa@ mpi@

date 2018-06-03T21:32:32Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet6/in6_pcb.c log diff annotate
message Use variable names for rtable and rdomain consistently in the in_pcb
functions.
discussed with and OK mpi@ visa@