OpenBSD cvs log

created 2018-11-30T04:04:05Z
begin 2018-09-09T00:00:00Z
end 2018-09-10T00:00:00Z
path src/sys
commits 8

date 2018-09-09T10:07:38Z
author henning
files src/sys/net/rtable.c log diff annotate
src/sys/net/rtable.h log diff annotate
message provide rtable_empty(), returns 1 if the rtable doesn't contain any routes
ok bluhm

date 2018-09-09T10:09:06Z
author henning
files src/sys/net/if.c log diff annotate
message if_setrdomain: allow empty rtables to be turned into rdomains, not just
nonexistant ones as before. nasty error handling with bluhm, feedback mpi as
well. ok bluhm

date 2018-09-09T10:11:41Z
author henning
files src/sys/net/if_loop.c log diff annotate
message allow the automatically created loopback interfaces in rdomains to be
deleted if the rdomain doesn't contain any other interface. turn the rdomain
back into an ordinary, empty rtable in that case.
with this and the previous commits one can get rid of rdomains again without
rebooting, which wasn't possible any more for some time
ok bluhm, input mpi

date 2018-09-09T16:41:43Z
author mortimer
files src/sys/arch/arm64/arm64/locore.S log diff annotate
message Apply retguard to the last asm functions in the arm64 kernel. This completes
retguard in the kernel and brings the number of useful ROP gadgets at
runtime to zero.

ok kettenis@

date 2018-09-09T20:32:55Z
author phessler
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
src/sys/net80211/ieee80211_ioctl.h log diff annotate
src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message convert the things we save in 'join' into a single ioctl. mixing related
settings over multiple calls was risky and racy. Pass essid, wpa, and wep
paramaters in a single ioctl and process it atomically.

no change for 'nwid' users

OK stsp@ benno@

date 2018-09-09T22:09:36Z
author guenther
files src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/conf/Makefile.amd64 log diff annotate
message Calculate automatically the padding necessary for lining up the
iretq instruction used when Meltdown mitigation is effect. It got
pushed off when an lfence was added in locore.S rev 1.107, resulting
in two signals being sent instead of one when iretq faulted, and
neither signal had the correct sigcontext info. Update the makefile
rule for locore.o to verify that things are correct.

ok mlarkin@

date 2018-09-09T22:41:57Z
author guenther
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
message Simplify pmap_is_curpmap(): %cr3 can never match pm_pdirpa_intel here
as this code isn't present in those page tables

ok mlarkin@

date 2018-09-09T22:46:54Z
author guenther
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
message pmap_activate() should match cpu_switchto, so set up ci_{kern,user}_cr3
if activating for the current thread and meltdown mitigations are in effect.
Not clear if it's actually possible to hit the case where this matters,
but it's the Right Thing.

ok mlarkin@