OpenBSD cvs log

created 2019-05-08T03:27:25Z
begin 2017-11-28T00:00:00Z
end 2017-11-29T00:00:00Z
path src/sys
commits 19

date 2017-11-28T04:33:03Z
author stsp
files src/sys/dev/ic/ar5008reg.h log diff annotate
message In athn(4), fix a comment which misidentifies the field where RSSI
values occur. Add macros to access RSSI info in ds_status4 as well.
ok kevlo@

date 2017-11-28T04:35:39Z
author stsp
files src/sys/dev/ic/ar5008.c log diff annotate
src/sys/dev/ic/athnreg.h log diff annotate
message The athn(4) PCI driver forgot about adding the default noisefloor to
measured RSSI values. The same is already done for USB devices.
RSSI values shown in ifconfig make sense now.

ok kevlo@

date 2017-11-28T06:03:41Z
author guenther
files src/sys/kern/kern_ktrace.c log diff annotate
src/sys/kern/syscalls.master log diff annotate
message Delete fktrace(2). The consequences of it were not thought through
sufficiently and at least one horrific security hole was the result.

ok deraadt@ beck@

date 2017-11-28T06:05:15Z
author guenther
files src/sys/kern/init_sysent.c log diff annotate
src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message sync

date 2017-11-28T06:05:16Z
author guenther
files src/sys/kern/syscalls.c log diff annotate
message sync

date 2017-11-28T06:09:44Z
author guenther
files src/sys/kern/kern_exit.c log diff annotate
message deadproc_mutex is only taken _before_ kernel_lock; exclude it from
WITNESS checking as (our) witness code isn't smart enough to let that by.

ok visa@

date 2017-11-28T13:38:11Z
author mpi
files src/sys/dev/pci/drm/i915/i915_gem.c log diff annotate
message Use mutex_trylock() rather than mixing Linux APIs with OpenBSD ones.

ok kettenis@

date 2017-11-28T14:32:45Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message better handling for invalid instruction lengths.

ok beck@, ccardenas@

date 2017-11-28T14:51:34Z
author mlarkin
files src/sys/arch/i386/i386/Attic/vmm.c log diff annotate
message better handling for invalid instruction lengths.

equivalent amd64 version (already committed) was ok beck@, ccardenas@

date 2017-11-28T15:06:08Z
author mlarkin
files src/sys/arch/i386/i386/Attic/vmm.c log diff annotate
message fix some clang warnings when building with VMM_DEBUG. Matches a previous
commit to the amd64 version of this file

date 2017-11-28T15:32:51Z
author mpi
files src/sys/netinet6/ip6_forward.c log diff annotate
message Fix mbuf leak when an interface is destroyed while forwarding IPv6
packets.

Found by Hrvoje Popovski.

ok visa@, bluhm@

date 2017-11-28T16:05:13Z
author guenther
files src/sys/sys/ktrace.h log diff annotate
message fktrace(2) has been removed

date 2017-11-28T16:05:46Z
author bluhm
files src/sys/net/pf.c log diff annotate
src/sys/net/pf_ioctl.c log diff annotate
src/sys/net/pfvar.h log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
message The divert structure was using the port number to indicate that
divert-to or divert-reply was active. If the address was also set,
it meant divert-to. Divert packet used a separate structure. This
is confusing and makes it hard to add new features. It is better
to have a divert type that explicitly says what is configured.
Adapt the pf rule struct in kernel and pfctl, no functional change.
Note that kernel and pfctl have to be updated together.
OK sashan@

date 2017-11-28T16:22:27Z
author visa
files src/sys/kern/kern_sched.c log diff annotate
message Raise the IPL of the sbar taskq to avoid lock order issues
with the kernel lock.

Fixes a deadlock seen by Hrvoje Popovski and dhill@.
OK mpi@, dhill@

date 2017-11-28T16:29:56Z
author kettenis
files src/sys/dev/pci/drm/i915/intel_uncore.c log diff annotate
message Silence the "Unclaimed register before interrupt" errors. While these do
indicate a bug somewhere, it is unlikely to be in the OpenBSD glue code.
There are reports that these go away in newer Linux code anyway.

Stops claudio@ from whining.

date 2017-11-28T23:39:39Z
author dlg
files src/sys/dev/pci/files.pci log diff annotate
src/sys/dev/pci/if_ixl.c log diff annotate
src/sys/dev/pci/if_ixlreg.h log diff annotate
message add ixl(4) for the "Intel Ethernet 700 Series"

this doesn't work yet, but it very recently got too big to hack on
without cvs to help me manage further changes to it.

ok deraadt@

date 2017-11-28T23:40:52Z
author dlg
files src/sys/dev/pci/if_ixlreg.h log diff annotate
message add missing $OpenBSD$ tag

date 2017-11-28T23:47:25Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message remove the #if 0ed out ixl_add_veb now that cvs has backed it up

im pretty sure we dont need it if we're just using the chip as a
single ethernet port.

date 2017-11-28T23:54:04Z
author dlg
files src/sys/dev/pci/files.pci log diff annotate
message refer to ixl as "Intel Ethernet 700 Series"

calling it intel 40g is less correct because the same driver is used for
10g and 25g parts as well.