OpenBSD cvs log

created 2018-11-29T23:19:49Z
begin 2018-07-10T00:00:00Z
end 2018-07-11T00:00:00Z
path src/sys
commits 24

date 2018-07-10T04:19:59Z
author guenther
files src/sys/arch/alpha/alpha/machdep.c log diff annotate
src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/arm/arm/sig_machdep.c log diff annotate
src/sys/arch/arm64/arm64/sig_machdep.c log diff annotate
src/sys/arch/hppa/hppa/machdep.c log diff annotate
src/sys/arch/i386/i386/machdep.c log diff annotate
src/sys/arch/m88k/m88k/sig_machdep.c log diff annotate
src/sys/arch/macppc/macppc/machdep.c log diff annotate
src/sys/arch/mips64/mips64/sendsig.c log diff annotate
src/sys/arch/sh/sh/sh_machdep.c log diff annotate
src/sys/arch/socppc/socppc/machdep.c log diff annotate
src/sys/arch/sparc64/sparc64/machdep.c log diff annotate
src/sys/kern/exec_elf.c log diff annotate
src/sys/kern/init_main.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/signalvar.h log diff annotate
message Move from sendsig() to its callers the initsiginfo() calls and
instead of passing sendsig() the code+type+val, pass a siginfo_t*
to copy from. Eliminate the indirection through struct emul for
sendsig(); we no longer have a SunOS4-compat version of sendsig()

ok deraadt@

date 2018-07-10T08:57:44Z
author guenther
files src/sys/arch/amd64/amd64/ log diff annotate
src/sys/arch/amd64/amd64/vector.S log diff annotate
src/sys/arch/amd64/include/frame.h log diff annotate
src/sys/arch/amd64/include/frameasm.h log diff annotate
message Drop the ignored selectors (tf_[defg]s) from the trap and interrupt frames.

ok mlarkin@ deraadt@ mpi@ kettenis@

date 2018-07-10T08:58:50Z
author mpi
files src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/sys_generic.c log diff annotate
src/sys/kern/sys_pipe.c log diff annotate
src/sys/kern/sys_socket.c log diff annotate
message Move socket & pipe specific logic in their ioctl handler.

ok visa@, tb@

date 2018-07-10T09:04:22Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): remove a wrong comment

date 2018-07-10T09:17:03Z
author mpi
files src/sys/dev/usb/usb.h log diff annotate
src/sys/dev/usb/usb_subr.c log diff annotate
message Change USB_DEVICEINFO to report USB port status/changes as currently
seen by the stack.

This will allows us to debug port status changes without relying on
external tools, like lsusb(1), that generate I/O.

While here correct USB3 LS port defines.

date 2018-07-10T09:28:27Z
author henning
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/sys/mbuf.h log diff annotate
message provide a generic packet delay functionality. packets to be delayed are marked
by pf in the packet header. pf_delay_pkt reads the delay value from the packet
header, schedules a timeout and re-queues the packet when the timeout fires.
ok benno sashan

date 2018-07-10T09:30:13Z
author henning
files src/sys/net/if.c log diff annotate
message if_enqueue: call pf_delay_pkt() if is set
ok benno sashan

date 2018-07-10T09:44:01Z
author jasper
files src/sys/dev/usb/usbdevs log diff annotate
message replace the Ituner vendor with Microchip to match Linux at least

ok mpi@

date 2018-07-10T09:45:33Z
author jasper
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2018-07-10T09:46:18Z
author jasper
files src/sys/dev/usb/usb_quirks.c log diff annotate
message s/ITUNER/MICROCHIP/ following usbdevs -r1.689

date 2018-07-10T10:02:14Z
author bluhm
files src/sys/kern/uipc_socket2.c log diff annotate
src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message After removing raw_usrreq() from route and pfkey, the global sockaddr
variables can be delared constant.
OK claudio@ mpi@

date 2018-07-10T10:17:42Z
author bluhm
files src/sys/kern/kern_malloc.c log diff annotate
message In free(9) call wakeup() after mtx_leave() consistently.
OK kettenis@ visa@ mpi@

date 2018-07-10T11:22:54Z
author friehm
files src/sys/netinet/ip_carp.c log diff annotate
message Remove DELAY(1000) from carp_send_arp() / carp_send_na() since it is not clear
why it was necessary.

OK bluhm@
'ok but watch for fallouts' mpi@

date 2018-07-10T11:34:12Z
author mpi
files src/sys/netinet/in.h log diff annotate
src/sys/netinet/ip_esp.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ip_ipsp.h log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
message Introduce new IPsec (per-CPU) statistics and refactor ESP input
callbacks to be able to count dropped packet.

Having more generic statistics will help troubleshooting problems
with specific tunnels. Per-TDB counters are coming once all the
refactoring bits are in.

ok markus@

date 2018-07-10T13:01:38Z
author henning
files src/sys/net/pf.c log diff annotate
message in pf_set_protostate(), only decrement the half-open states counter when
the state was created on this host, i. e. not for those pfsync-imported.
whether pfsync-imported states should be accounted is a seperate discussion,
but as things are, we only increment the counter in pf_create_state(), and
imported states don't excercise that path.
probably fixes the half-open states accounting underflow-wraparounds that
some people have been seeing.
ok sashan

date 2018-07-10T13:05:37Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/efiboot.c log diff annotate
message Add a "machine acpi" command to force booting with ACPI enabled.

date 2018-07-10T13:06:55Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/efiacpi.c log diff annotate
message Always use PSCI to enable secondary CPUs if it is detected.

date 2018-07-10T16:01:26Z
author deraadt
files src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/amd64/locore0.S log diff annotate
src/sys/arch/amd64/amd64/spl.S log diff annotate
src/sys/arch/amd64/amd64/vector.S log diff annotate
src/sys/arch/amd64/include/asm.h log diff annotate
src/sys/lib/libkern/arch/amd64/htonl.S log diff annotate
src/sys/lib/libkern/arch/amd64/htons.S log diff annotate
src/sys/lib/libkern/arch/amd64/memmove.S log diff annotate
message In asm.h ensure NENTRY uses the old-school nop-sled align, but change standard
ENTRY is a trapsled. Fix a few functions which fall-through into an ENTRY
macro. amd64 binaries now are free of double+-nop sequences (except for one
assember nit in Previous changes by guenther got us here.
ok mortimer kettenis

date 2018-07-10T16:48:22Z
author henning
files src/sys/net/pfvar.h log diff annotate
message The year is 2018.
Mercury, Bowie, Cash, Motorola and DEC all left us.
Just pf still has a default state table limit of 10000.
Had! Now it's a tiny little bit more, 100k.
lead guitar: me
ok chorus: phessler theo claudio benno
background school girl laughing: bob

date 2018-07-10T17:11:42Z
author kettenis
files src/sys/arch/arm64/dev/acpipci.c log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpivar.h log diff annotate
message Make legacy interrupts work in acpipci(4).

ok patrick@

date 2018-07-10T20:28:34Z
author claudio
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
message Remove net/raw_cb.h from includes and replace the RAWSNDQ, RAWRCVQ with
protocol specific ones.
OK mpi@

date 2018-07-10T20:30:31Z
author claudio
files src/sys/conf/files log diff annotate
src/sys/net/Attic/raw_cb.h log diff annotate
src/sys/net/Attic/raw_usrreq.c log diff annotate
message Remove raw_usrreq and raw_cb, nothing is using them anymore.
OK mpi@

date 2018-07-10T20:43:26Z
author florian
files src/sys/netinet6/in6_ifattach.c log diff annotate
message When an interface doesn't have a layer 2 address in6_get_ifid()
tries to "borrow" one from another interface.
But then it checks if the U bit is set int the generated EUI64
address and rejects it.
On the other hand for interfaces that do have a layer 2 address this
check is skipped, so relax it for the "borrowing" case, too.

With this one gets stable link local addresses on e.g. gre(4)
interfaces on certain virtualisation environments depending which mac
addresses get picked for the vio(4) interfaces while previously we
would end up with a random IP on every reboot.

Reported by Aaron A. Glenn via phessler.

OK phessler, benno

date 2018-07-10T20:44:39Z
author florian
files src/sys/netinet6/in6_ifattach.c log diff annotate
message When an interface doesn't have a layer 2 address in6_get_soii_ifid()
failes and then later on a in in6_get_ifid() a layer 2 address is
"borrowed" from from another interface.

Do the "borrowing" in in6_get_soii_ifid(), too so that semantically
opaque interface identifiers work for these kind of interfaces, too.

OK phessler, benno