OpenBSD cvs log

created 2019-01-30T13:29:28Z
begin 2019-01-18T00:00:00Z
end 2019-01-19T00:00:00Z
path src/sys
commits 16

date 2019-01-18T01:34:50Z
author pd
files src/sys/arch/i386/conf/GENERIC log diff annotate
src/sys/arch/i386/conf/Makefile.i386 log diff annotate
src/sys/arch/i386/conf/files.i386 log diff annotate
src/sys/arch/i386/i386/conf.c log diff annotate
src/sys/arch/i386/i386/cpu.c log diff annotate
src/sys/arch/i386/i386/ipifuncs.c log diff annotate
src/sys/arch/i386/i386/machdep.c log diff annotate
src/sys/arch/i386/i386/mainbus.c log diff annotate
src/sys/arch/i386/i386/pmap.c log diff annotate
src/sys/arch/i386/i386/pmapae.c log diff annotate
src/sys/arch/i386/i386/Attic/vmm.c log diff annotate
src/sys/arch/i386/i386/Attic/vmm_support.S log diff annotate
src/sys/arch/i386/include/conf.h log diff annotate
src/sys/arch/i386/include/cpu.h log diff annotate
src/sys/arch/i386/include/intrdefs.h log diff annotate
src/sys/arch/i386/include/pmap.h log diff annotate
src/sys/arch/i386/include/pte.h log diff annotate
src/sys/arch/i386/include/specialreg.h log diff annotate
src/sys/arch/i386/include/vmmvar.h log diff annotate
src/sys/kern/kern_pledge.c log diff annotate
message delete vmm(4) in i386

We will still be able to run i386 guests on amd64 vmm.

Reasons to delete i386 vmm:

- Been broken for a while, almost no one complained.
- Had been falling out of sync from amd64 while it worked.
- If your machine has vmx, you most probably can run amd64, so why not run that?

ok deraadt@ mlarkin@

date 2019-01-18T02:10:40Z
author claudio
files src/sys/netinet/ip_output.c log diff annotate
message Revert Rev 1.351, the change is not quite right yet.

date 2019-01-18T05:03:42Z
author cheloha
files src/sys/kern/kern_time.c log diff annotate
message adjtime(2), settimeofday(2), clock_settime(2): validate input

Add documentation for the new EINVAL cases for adjtime(2) and
settimeofday(2).

adjtime.2 docs ok schwarze@,
settimeofday(2)/clock_settime(2) stuff ok tedu@,
"stop waiting" deraadt@

date 2019-01-18T05:06:38Z
author cheloha
files src/sys/kern/sys_futex.c log diff annotate
message futex(2): validate relative timeout before sleeping.

Linux does validation.

Document this new failure case as an EINVAL, like Linux.

"stop waiting" deraadt

date 2019-01-18T08:26:55Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message remove a debugging printf that has outlived its usefulness

date 2019-01-18T08:32:59Z
author phessler
files src/sys/net/bfd.c log diff annotate
message chase sounlock() api change, make bfd(4) build again

"go ahead" deraadt@

date 2019-01-18T09:36:47Z
author cheloha
files src/sys/sys/time.h log diff annotate
message sys/time.h: new macros: timerisvalid() and timespecisvalid().

Make it less likely you miss a zero when typing out 100000 or 100000000.
Document them in getitimer.2 for the masses. These may be of use in
library code as well as the kernel.

Comparable inline functions exist in Linux but are not available to
userspace like these.

"OK." deraadt@

date 2019-01-18T13:40:34Z
author bluhm
files src/sys/nfs/nfs_vnops.c log diff annotate
message Check for negative length integers in NFS client. A malicious
server could confuse the client file system code.
OK beck@

date 2019-01-18T13:56:38Z
author bluhm
files src/sys/nfs/nfs_serv.c log diff annotate
message Check for negative length integers in NFS server. A malicious
client could crash the server.
OK tedu@

date 2019-01-18T13:59:18Z
author bluhm
files src/sys/nfs/nfsm_subs.h log diff annotate
message Check for negative length in NFS strings. This affects both, the
client and server.
OK beck@

date 2019-01-18T20:24:59Z
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
message let users automatically use join to connect to any open wifi network.
if a known network is visible, always prefer that instead.

requested by many, OK stsp@

date 2019-01-18T20:28:40Z
author phessler
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message add a len field when we delete an essid from the joinlist. this will have
us properly match, instead of hoping we got lucky when selecting it.

OK stsp@

date 2019-01-18T20:40:00Z
author phessler
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
message when removing the currently active network from the join list, disconnect
from it as well

OK stsp@

date 2019-01-18T20:46:03Z
author claudio
files src/sys/netinet/ip_output.c log diff annotate
message Bring back the ip_pcbopts() refactor. Pad the option buffer and therefor
the mbuf to the next word length as it is required by the standard. Also use
the correct offset from the input mbuf.
OK visa@, input & OK bluhm@

date 2019-01-18T20:55:19Z
author cheloha
files src/sys/kern/kern_time.c log diff annotate
message no need to KERNEL_LOCK before calling ktrstruct() anymore; ok mpi@ visa@

date 2019-01-18T23:14:44Z
author jmatthew
files src/sys/dev/pci/if_ixl.c log diff annotate
message pack hmc bits in the right order

ok dlg@