OpenBSD cvs log

created 2019-02-07T02:53:08Z
begin 2018-12-20T00:00:00Z
end 2018-12-27T00:00:00Z
path src/sys
commits 16

date 2018-12-20T10:26:36Z
author claudio
files src/sys/net/if.c log diff annotate
src/sys/net/if_var.h log diff annotate
message Make this not hz dependent by using timeout_add_sec() also rename the
define to IFNET_SLOWTIMO since it is no longer a hz divisor.
OK visa@ bluhm@ kn@

date 2018-12-20T10:27:37Z
author claudio
files src/sys/net/rtsock.c log diff annotate
message Convert to timeout_add_msec instead of counting ticks.
OK visa@ bluhm@ kn@

date 2018-12-20T10:28:58Z
author claudio
files src/sys/netinet6/nd6_nbr.c log diff annotate
message The timeouts in nd6 are in msec so just use timeout_add_msec() instead
of some complicated match to convert them to ticks.
OK visa@ bluhm@ kn@

date 2018-12-20T13:27:54Z
author claudio
files src/sys/netinet/ip_output.c log diff annotate
message Replace a wrong poor mans m_trailingspace() with the real thing. The mbuf
passed to ip_pcbopts could be a cluster and so the size check is all wrong.
found by Greg Steuck; OK bluhm@

Reported-by: syzbot+c2543ae6b6692a5843e3@syzkaller.appspotmail.com
eVS: ----------------------------------------------------------------------

date 2018-12-20T23:00:55Z
author dlg
files src/sys/conf/GENERIC log diff annotate
src/sys/conf/files log diff annotate
src/sys/net/if_bpe.c log diff annotate
src/sys/net/if_bpe.h log diff annotate
src/sys/net/if_ethersubr.c log diff annotate
message add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.

date 2018-12-21T01:51:07Z
author jsg
files src/sys/arch/amd64/include/intr.h log diff annotate
message remove intr_find_mpmapping proto func removed in intr.c rev 1.31 in 2011

date 2018-12-21T12:02:55Z
author kettenis
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
message Do PAT setup earlier such that mapping the framebuffer WC works at the
point where we remap it.

ok deraadt@, mlarkin@

date 2018-12-22T14:42:29Z
author kettenis
files src/sys/dev/sdmmc/if_bwfm_sdio.c log diff annotate
message Avoid using m_trailingspace(9) on an mbuf allocated with MGET(9) as it relies
on header fields that aren't initialized, which may trigger an assertion.
Check whether the control message doesn't exceed MLEN instead and turn the
check into a KASSERT as the driver should not generate control messages
that are larger.

with help form claudio@ (who points out that the driver should not use
MT_CONTROL here).

ok patrick@

date 2018-12-23T10:46:51Z
author natano
files src/sys/kern/vfs_subr.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/sys/vnode.h log diff annotate
src/sys/ufs/ffs/ffs_vnops.c log diff annotate
src/sys/ufs/ufs/ufs_lookup.c log diff annotate
src/sys/ufs/ufs/ufs_vnops.c log diff annotate
message Rectify some issues with the noperm mount flag; the root vnode was not
protected properly and files without any x bit set were accidentaly considered
executable when checked with access(2).

Issues found and reported by deraadt, halex, reyk, tb
ok deraadt

date 2018-12-23T22:48:19Z
author patrick
files src/sys/dev/fdt/imxiic.c log diff annotate
message Add support for generating a REPEATED START on operations where we first
write the register address and then read the register data in one go.

ok kettenis@

date 2018-12-24T08:45:57Z
author jsg
files src/sys/arch/armv7/omap/if_cpsw.c log diff annotate
message Adjust cpsw for linux 4.20 device tree changes. The location of the phy
is now found via phy-handle instead of phy_id.

date 2018-12-25T19:28:25Z
author denis
files src/sys/netinet/icmp6.h log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
message rework icmp6_error() to be closer to icmp_error()

input & OK mpi@

date 2018-12-25T21:56:53Z
author anton
files src/sys/dev/kcov.c log diff annotate
message In the kcov ioctl(KIOSETBUFSIZE) path, malloc() can sleep. Double check that
someone else didn't win the race.

ok mpi@

date 2018-12-26T11:08:02Z
author bru
files src/sys/dev/wscons/wstpad.c log diff annotate
message Use estimates of speed to improve gesture detection.

ok mpi@ (to the concept)

date 2018-12-26T11:33:57Z
author fcambus
files src/sys/dev/rasops/rasops24.c log diff annotate
message Remove the rasops24_erasecols and rasops24_eraserows functions from
rasops(9).

We only build rasops24 functions on amd64 (for EFI support in QEMU) and
on armv7 and arm64, and we can safely use the generic functions on those
platforms, like we do for all other color depths. No other platform uses
rasops24, Miod explains why here [1].

No performance regression observed when testing with QEMU in EFI mode.

[1] https://marc.info/?l=openbsd-ppc&m=118664346819989&w=2

OK kettenis@

date 2018-12-26T18:32:38Z
author denis
files src/sys/net/if_ethersubr.c log diff annotate
message uncouple AF_MPLS and AF_INET

input and OK mpi@