Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (35m)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 21:11:56 UTC Now

2018-06-09 22:40:00 UTC MAIN commitmail json YAML

2018-06-09 22:39:29 UTC MAIN commitmail json YAML

2018-06-09 21:18:41 UTC MAIN commitmail json YAML

Fix two mis-spellings in comments.  No functional changes.

(oster)

2018-06-09 18:53:16 UTC MAIN commitmail json YAML

port basic match support for several more Yukon variants from OpenBSD, together
with some basic conditionals I've found in that driver; only compile-tested, so
very likely needs further work to actually work

adresses also PR kern/43507

(jdolecek)

2018-06-09 18:48:31 UTC MAIN commitmail json YAML

Add missing b_cflags and b_oflags.
Ok dholland@
Addresses PR kern/42342 by Yoshihiro Nakajima

(zafer)

2018-06-09 18:39:58 UTC MAIN commitmail json YAML

2018-06-09 18:39:33 UTC MAIN commitmail json YAML

small sync of Marvell Yukon PCI product ids with OpenBSD - add 8048 variant, rename
YUKON_1 to YUKON_8070

also adjust description for YUKON_8055_2 to have "88E8055-2" just so that it shows
up differently

(jdolecek)

2018-06-09 18:01:25 UTC netbsd-8 commitmail json YAML

2018-06-09 17:59:43 UTC netbsd-8 commitmail json YAML

Also pull up r1.784 for ticket #870:

add new tests

(martin)

2018-06-09 17:41:55 UTC MAIN commitmail json YAML

Provide more compatibility with readline headers; now python-3.6.5 works
when changing 'readline' -> 'edit' in setup.py.
Revert previous conditional setting of unbuffered.

(christos)

2018-06-09 15:46:27 UTC netbsd-8 commitmail json YAML

2018-06-09 15:43:34 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #874):

share/i18n/esdb/ISO-8859/ISO-8859.alias: revision 1.4

Add more aliases for Hebrew and Arabic ISO-8859-... encodings.

ISO-8859-8 is supposed to be visual order (i.e. legible if displayed ltr)
ISO-8859-8-i is supposed to be implicit logic order
ISO-8859-8-e is supposed to be explicit about order

In practice, ISO-8859-8 implying visual order is rare, and logic
order is used. ISO-8859-8-e is rarely used.

Same for Arabic, which uses ISO-8859-6-...

Mentioned in RFC 1555, RFC 1556.

(martin)

2018-06-09 15:41:38 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #873):
usr.bin/fstat/misc.c: revision 1.18
Update fstat for audio(4) and pad(4) devices.
XXX - pullup 8.
Ok christos@.

(martin)

2018-06-09 15:40:05 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #872):

external/bsd/top/dist/machine/m_netbsd.c: revision 1.20

Fix read of unitialized array elements in top(1)

The cp_old array is allocated with malloc(3) and its pointer is passed to=
percentages64().

In this function there happens a calculation of total_change, which value=
depends on the value inside the unitialized cp_old[] array.

WARNING: MemorySanitizer: use-of-uninitialized-value
/usr/src/external/bsd/top/bin/../dist/machine/m_netbsd.c:1341:6
/usr/src/external/bsd/top/bin/../dist/machine/m_netbsd.c:478:65
SUMMARY: MemorySanitizer: use-of-uninitialized-value
/usr/src/external/bsd/top/bin/../dist/machine/m_netbsd.c:1341:6 in percentages64
Exiting

Fix this issue by changling malloc(3) with calloc(3).

Detected with Memory Sanitizer during the integration of sanitizers with
the NetBSD basesystem.

Reported by <Yang Zheng>

(martin)

2018-06-09 15:37:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #871):

external/bsd/top/dist/top.c: revision 1.10

Fix unitialized signal mask passed to sigaction(2) in top(1)

Detected with Memory Sanitizer during the integration of sanitizers with
the NetBSD basesystem.

Reported by <Yang Zheng>

(martin)

2018-06-09 15:35:38 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #870):

sys/lib/libgnuefi/Makefile.inc: revision 1.5
external/mit/xorg/xorg-pkg-ver.mk: revision 1.9
sys/arch/i386/stand/lib/Makefile.inc: revision 1.17
sys/compat/common/Makefile.inc: revision 1.25
usr.bin/make/unit-tests/varquote.exp: revision 1.1, 1.2
sys/lib/libsa/Makefile.inc: revision 1.24
usr.bin/make/var.c: revision 1.220
sys/arch/ia64/stand/efi/libefi/Makefile.inc: revision 1.5
sys/arch/hppa/spmath/Makefile.inc: revision 1.10
usr.bin/make/unit-tests/varquote.mk: revision 1.1, 1.2
usr.bin/make/unit-tests/Makefile: revision 1.53
sys/lib/libkern/Makefile.inc: revision 1.45
sys/arch/acorn32/stand/lib/Makefile.inc: revision 1.4
sys/arch/m68k/fpsp/Makefile.inc: revision 1.21
usr.bin/make/make.1: revision 1.273
sys/lib/libz/Makefile.inc: revision 1.17

- Introduce :q modifier for make variables and make it double escape $'s so
  that passing variables to recursive makes with :q works as expected.
- Adjust makefiles that use recursive make to use :q

Discussed on tech-toolchain@

XXX: pullup 8

(martin)

2018-06-09 15:19:28 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #869):

usr.sbin/sysinst/arch/mvme68k/md.c: revision 1.5
usr.sbin/sysinst/net.c: revision 1.24
usr.sbin/sysinst/partman.c: revision 1.22
usr.sbin/sysinst/menus.mi: revision 1.12
usr.sbin/sysinst/arch/i386/md.c: revision 1.8
usr.sbin/sysinst/arch/alpha/md.c: revision 1.3
usr.sbin/sysinst/bsddisklabel.c: revision 1.3
usr.sbin/sysinst/arch/x68k/md.c: revision 1.5
usr.sbin/sysinst/arch/hp300/md.c: revision 1.5
usr.sbin/sysinst/arch/emips/md.c: revision 1.4
usr.sbin/sysinst/arch/pmax/md.c: revision 1.3
usr.sbin/sysinst/arch/mipsco/md.c: revision 1.3
usr.sbin/sysinst/arch/hppa/md.c: revision 1.3
usr.sbin/sysinst/util.c: revision 1.8
usr.sbin/sysinst/defs.h: revision 1.10
usr.sbin/sysinst/arch/landisk/md.c: revision 1.4

deconst -> __UNCONST, the former involves UB with NULL arithmetic.

(martin)

2018-06-09 15:16:30 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #868):

sys/sys/socketvar.h: revision 1.156
sys/kern/uipc_socket2.c: revision 1.130
sys/kern/uipc_socket.c: revision 1.264

Separate receive socket errors from general socket errors.

(martin)

2018-06-09 15:14:49 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #867):

sys/arch/x86/x86/procfs_machdep.c: revision 1.23

Add SSBD bit for Intel.

(martin)

2018-06-09 15:12:21 UTC netbsd-8 commitmail json YAML

Pullup the following revisions, requested by maxv in ticket #865:

sys/arch/amd64/amd64/machdep.c 1.303 (patch)
sys/arch/amd64/conf/GENERIC 1.492 (patch)
sys/arch/amd64/conf/files.amd64 1.103 (patch)
sys/arch/i386/i386/machdep.c 1.806 (patch)
sys/arch/i386/conf/GENERIC 1.1179 (patch)
sys/arch/i386/conf/files.i386 1.393 (patch)
sys/arch/x86/include/cpu.h 1.91 (patch)
sys/arch/x86/include/specialreg.h upto 1.126 (patch)
sys/arch/x86/x86/x86_machdep.c upto 1.115 (patch, adapted)
sys/arch/x86/x86/spectre.c upto 1.19 (patch, adapted,
no IBRS,
SpectreV2 mitigations not
enabled by default)

Backport the hardware SpectreV2 and SpectreV4 mitigations.

(martin)

2018-06-09 14:59:43 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #864):

sys/dev/pci/ixgbe/ix_txrx.c 1.40-1.47 (patch)
sys/dev/pci/ixgbe/ixgbe.c 1.148,1.149,1.151,
1.152,1.154,
1.155,1.157-1.160 (patch)
sys/dev/pci/ixgbe/ixgbe.h 1.43,1.44,1.46,1.49 (patch)
sys/dev/pci/ixgbe/ixgbe_netbsd.c 1.7 (patch)
sys/dev/pci/ixgbe/ixgbe_netbsd.h 1.8 (patch)
sys/dev/pci/ixgbe/ixgbe_osdep.h 1.22 (patch)
sys/dev/pci/ixgbe/ixv.c 1.100-1.104 (patch)
sys/dev/pci/ixgbe/ixv.c 1.94,1.95,1.99 (patch)

Remove unused structure entries. No functional change.
-
Remove unused IXGBE_FC_HI and IXGBE_FC_LO. The watermark of the flow control
is automatically calculated from the size of the packet buffer.
-
Use ixgbe_eitr_write() when writing the EITR for the link interrupt like
queue's EITR to write the register safely. This change is not relatively
so important than queue's EITR because link's EITR is written in if_init().
-
Don't free and reallocate bus_dmamem when it's not required. Currently,
the watchdog timer is completely broken and never fire (it's from FreeBSD
(pre iflib)). If the problem is fixed and watchdog fired, ixgbe_init() always
calls ixgbe_jcl_reinit() and it causes panic. The reason is that
ixgbe_local_timer1(it includes watchdog function) is softint and
xgbe_jcl_reinit() calls bus_dmamem*() functions. bus_dmamem*() can't be called
from interrupt context.

One of the way to prevent panic is use worqueue for the timer, but it's
not a small change. (I'll do it in future).

Another way is not reallocate dmamem if it's not required. If both the MTU
(rx_mbuf_sz in reality) and the number of RX descriptors are not changed, it's
not required to call bus_dmamem_{unmap,free}(). Even if we use workque, this
change save time of ixgbe_init().

I have a code to fix broken watchdog timer but it sometime causes watchdog
timeout, so I don't commit it yet.
-
Count some register correctly:
- QPRDC register is only for 82599 and newer.
- Count IXGBE_QPRDC, PX{ON,OFF}{T,R}XC[NT].
The TQSMR register is not for receiving but for transmitting, so move the
initialization from ixgbe_initialize_receive_units() to
ixgbe_initialize_transmit_units(). No functional change.
-
Whitespace fix. No functional change.
-
Add rxd_nxck (Receive Descriptor next to check) read only sysctl.
Don't check IFF_RUNNING in ixgbe_rxeof(). Doing break and leaving a deacriptor
with DD bit is worse than just processing the entry. And it's also racy to
check IFF_RUNNING in rxeof(). If you'd like to strictly obey IFF_RUNNING,
it would be better to do it in the upper layer.
Same as DragonFly (a part of 79251f5ebe4cf9dd2f3e6aed590e09d756d39922).
Add "bool txr_no_space" for TX descriptor shortage. Use it like IFF_OACTIVE.
Clear que->disabled_count in {ixgbe,ixv}_init_locked(). Without this,
interrupt mask state and EIMS may mismatch and if_init doesn't recover
from TX/RX stall problem.
This change itself doesn't fix PR#53294.
-
Add hw.ixgN.debug sysctl. "sysctl -w hw.ixgN.debug=1" dumps some registers
to console.
-
Constify several variables in ixgbe/ so that they land in .rodata (1038
bytes).
-
Don't call ixgbe_rearm_queues() in ixgbe_local_timer1().
  ixgbe_enable_queue() and ixgbe_disable_queue() try to enable/disable queue
  interrupt safely. It has the internal counter. When a queue's MSI-X is
  received, ixgbe_msix_que() is called (IPL_NET). This function disable the
  queue's interrupt by ixgbe_disable_queue() and issues an softint.
  ixgbe_handle() queue is called by the softint (IPL_SOFTNET), process TX, RX
  and call ixgbe_enable_queue() at the end.

  ixgbe_local_timer1() is a callout and run always on CPU 0 (IPL_SOFTCLOCK).
  When ixgbe_rearm_queues() called, an MSI-X interrupt is issued for a specific
  queue. It may not CPU 0. If this interrupt's ixgbe_msix_que() is called and
  sofint_schedule() is called before the last sofint's softint_execute() is not
  called, the softint_schedule() fails because of SOFTINT_PENDING. It result
  in breaking ixgbe_{enable,disable}_queue()'s internal counter.
  ixgbe_local_timer1() is written not to call ixgbe_rearm_queues() if
  the interrupt is disabled, but it's called because of unknown bug or a race.

  One solution to avoid this problem is to not to use the internal counter,
  but it's little difficult. Another solution is stop using
  ixgbe_rearm_queues() at all. Essentially, ixgbe_rearm_queues() is not
  required (it was added in ixgbe.c rev. 1.43 (2016/12/01)).
  ixgbe_rearm_queues() helps for lost interrupt problem but I've never seen it
  other than ixgbe_rearm_queues() problem.

XXX pullup-8.

(martin)

2018-06-09 14:47:37 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #863):

sys/arch/macppc/stand/fixcoff/elf32_powerpc_merge.x: revision 1.6,1.7 (patch)

PR port-macppc/52564

  . = (. + 0x0FFF) & 0xFFFFF000;

now seems to cause binutils to pad the preceding section, and when
that happens to be .text the powermac ofw is unhappy for whatever
reason.

For now provide .pad section that absorbs the padding as a workaround.
The binutils problem still needs to be looked into.

(martin)

2018-06-09 14:44:33 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #862):

sys/net/if_llatbl.c: revision 1.27

It is necessary to set wall time instead of monotonic time to rmx_expire.

(martin)

2018-06-09 14:38:18 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #861):

sys/compat/common/rtsock_50.c: revision 1.7

Added missing ifi_link_state at compat_50_rt_oifmsg() and compat_50_iflist().

(martin)

2018-06-09 14:35:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #858):

usr.sbin/makefs/ffs.c: revision 1.70

PR/52828: Mark Johnston: makefs UFS2 lazy inode initialization is buggy
makefs(8) emulates UFS2 in performing lazy initialization of inode
blocks when allocating and writing inodes. However, it only ever
initializes one inode block at a time, which may be insufficient.

If so, a later initialization may clobber an inode, resulting in
an inconsistent filesystem.

I committed a minimal fix for the problem to FreeBSD:
https://svnweb.freebsd.org/changeset/base/326912

(martin)

2018-06-09 14:32:52 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #857):

sys/dev/pci/mpii.c: revision 1.9

PR/52330: Jia-Ju Bai: mpii driver: a sleep-in-interrupt bug in mpii_intr
Since the enclosing routime mpii_event_raid already calls malloc with
M_NOWAIT, fix the cache routine to do the same. While there check the
result of the cache routine and change some error prints to aprint.

(martin)

2018-06-09 02:25:52 UTC MAIN commitmail json YAML

set options ADBKBD_EMUL_USB by default
With this ADB and USB keyboards can coexist on the same mux, as needed by
built-in Bluetooth modules on some *Books
should fix PR53351

(macallan)

2018-06-09 01:17:35 UTC MAIN commitmail json YAML

Avoid unnecessarily touching CNTP_CTL.

We may not have the privilege of accessing CNTP_CTL if running as a
virtualized guest, and we're not using the Physical Timer for interupt
generation anyway.

(jakllsch)

2018-06-08 23:40:44 UTC MAIN commitmail json YAML

when switching CPU speed using DFS, only use xcalls on MULTIPROCESSOR kernels

(macallan)

2018-06-08 23:39:31 UTC MAIN commitmail json YAML

fix low CPU speed reporting when using DFS

(macallan)

2018-06-08 18:09:43 UTC MAIN commitmail json YAML

2018-06-08 14:44:21 UTC MAIN commitmail json YAML

Prior to ZFSv15, volinit was an undocumented command which could be used to
populate /dev with zvol device nodes.
Following on with the recent ZFS/DTrace update, this is no longer a valid option
and causes the mountall script to barf zfs usage() following from
unrecognized command 'volinit' error.

(sevan)

2018-06-08 12:07:41 UTC MAIN commitmail json YAML

Add more aliases for Hebrew and Arabic ISO-8859-... encodings.

ISO-8859-8 is supposed to be visual order (i.e. legible if displayed ltr)
ISO-8859-8-i is supposed to be implicit logic order
ISO-8859-8-e is supposed to be explicit about order

In practice, ISO-8859-8 implying visual order is rare, and logic
order is used. ISO-8859-8-e is rarely used.

Same for Arabic, which uses ISO-8859-6-...

Mentioned in RFC 1555, RFC 1556.

(maya)

2018-06-08 11:52:30 UTC MAIN commitmail json YAML

2018-06-08 11:18:23 UTC MAIN commitmail json YAML

iwm(4) workaround as ifp->if_hwdl can be set only once. Advised nonaka@n.o and ozaki-r@n.o, thanks.

To avoid for iwm(4) to set if_hwdl before loading firmware, use local address
as dummy. See sys/net/if.c::if_set_sadl().

(knakahara)

2018-06-08 11:09:24 UTC MAIN commitmail json YAML

Fix "ifconfig iwm0" failures reported by ryoon@n.o. Advised nonaka@n.o and ozaki-r@n.o, thanks.

(knakahara)

2018-06-08 10:25:23 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #856):

sys/nfs/nfs.h: revision 1.76
sys/nfs/nfs_subs.c: revision 1.230
sys/nfs/nfs_socket.c: revision 1.199
sys/nfs/nfs_clntsocket.c: revision 1.6

PR/40491: From Tobias Ulmer in tech-kern@:
1. Protect the nfs request queue with its own mutex
2. make the nfs_receive queue check for signals so that intr mounts
  can be interrupted.

XXX: pullup-8

(martin)

2018-06-08 10:21:12 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #855):

sbin/fsck_lfs/bufcache.h: revision 1.14
sbin/fsck_lfs/bufcache.c: revision 1.20

PR/51418: Jose Luis Rodriguez Garcia: Fix incore src/sbin/fsck_lfs/bufcache.c
XXX: pullup-8, pullup-7

(martin)

2018-06-08 10:18:36 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #854):

external/mpl/dhcp/dist/common/bpf.c: revision 1.3

PR/50893: Bruce Lilly: Handle carp interfaces.
XXX: pullup-8 (in src/external/bsd/dhcp/dist/common/bpf.c)

(martin)

2018-06-08 10:14:33 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #852):

sys/netinet6/icmp6.c: revision 1.238
sys/netinet/ip_icmp.c: revision 1.171
sys/net/route.c: revision 1.210

Fix _rt_free via rtrequest(RTM_DELETE) hangs in rt_timer handlers

A rt_timer handler is passed a rtentry with an extra reference that avoids the
rtentry is accidentally released.  So rt_timer handers must release
the reference of a passed rtentry by themselves (but they didn't).

(martin)

2018-06-08 10:08:06 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #851):

sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.9-1.11

disable drm2 on modern nouveau cards (Pascal-based).

our older drm doesn't have any support for modern Pascal or
the second version of Maxwell (but not disabled here yet)
but the driver tries to attach on any nvidia gpu.
this should workaround PR#53258, and other issues reported
with modern nvidia chipsets.

XXX: pullup-7, pullup-8.

-

disable matching nouveau on pascal and the second generation of maxwell
cards that are not supported by this version of drm.
this should fix various modern systems vs nvidia issues, eg PR 53188.

XXX: pullup-7, pullup-8.

-

the previous change doubled the check for pascal.  fix it so
that we only check for later maxwell and pascal once each,
as intended.

(martin)

2018-06-08 10:02:59 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by leot in ticket #850):

usr.bin/tr/str.c: revision 1.30

Do not accept invalid octal character values (>= 0400).

This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or
similars lead to them).

Reviewed and thanks to <pgoyette>!

(martin)

2018-06-08 04:24:12 UTC MAIN commitmail json YAML

fix usage of `arp -d'.

(nonaka)

2018-06-07 23:32:30 UTC MAIN commitmail json YAML

Make ld_virtio aware of a possible device-side write cache.

(jakllsch)

2018-06-07 19:39:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jdolecek in ticket #841):

sys/dev/isa/isadmareg.h: revision 1.9
sys/dev/isa/isareg.h: revision 1.10
sys/dev/isa/isadma.c: revision 1.67

fix off-by-one in the mapping of the ISA DMA page registers, they actually
start at 0x81; the code used bus_space_map() starting from 0x80 but
used +1 offset for actual I/O, now it maps starting 0x81 and does I/O
without offset

the reads and writes work exactly the same as before, but this frees
0x80 for being mapped independantly
patch provided in PR kern/52468 by Jonathan Chapman; checked against the spec
and also FreeBSD sys/x86/isa/isa_dma.c

(martin)

2018-06-07 18:37:05 UTC netbsd-8 commitmail json YAML

2018-06-07 18:34:03 UTC netbsd-8 commitmail json YAML

src/doc/3RDPARTY@1.1444.2.12 / diff / nxr@1.1444.2.12
src/external/bsd/dhcpcd/dist/Makefile@1.1.1.4.2.1 / diff / nxr@1.1.1.4.2.1
src/external/bsd/dhcpcd/dist/src/arp.c@1.1.1.2.8.3 / diff / nxr@1.1.1.2.8.3
src/external/bsd/dhcpcd/dist/src/auth.c@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/src/auth.h@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/src/bpf.c@1.3.8.2 / diff / nxr@1.3.8.2
src/external/bsd/dhcpcd/dist/src/defs.h@1.1.1.4.2.3 / diff / nxr@1.1.1.4.2.3
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.1.1.3.8.4 / diff / nxr@1.1.1.3.8.4
src/external/bsd/dhcpcd/dist/src/dhcp.h@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.1.1.4.2.3 / diff / nxr@1.1.1.4.2.3
src/external/bsd/dhcpcd/dist/src/dhcp6.h@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.1.1.4.2.3 / diff / nxr@1.1.1.4.2.3
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.4.2.3 / diff / nxr@1.4.2.3
src/external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in@1.1.1.4.2.3 / diff / nxr@1.1.1.4.2.3
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.1.1.3.2.3 / diff / nxr@1.1.1.3.2.3
src/external/bsd/dhcpcd/dist/src/if-linux.c@1.1.1.3.2.3 / diff / nxr@1.1.1.3.2.3
src/external/bsd/dhcpcd/dist/src/if-options.c@1.4.2.3 / diff / nxr@1.4.2.3
src/external/bsd/dhcpcd/dist/src/ipv4ll.h@1.1.1.2.8.2 / diff / nxr@1.1.1.2.8.2
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.1.1.3.2.3 / diff / nxr@1.1.1.3.2.3
      :
(more 4 files)
Catch up to current in src/external/bsd/dhcpcd/dist, requested
by roy in ticket #849:

external/bsd/dhcpcd/dist/Makefile              up to 1.1.1.5
external/bsd/dhcpcd/dist/src/arp.c              up to 1.1.1.7
external/bsd/dhcpcd/dist/src/auth.c            up to 1.1.1.5
external/bsd/dhcpcd/dist/src/auth.h            up to 1.1.1.3
external/bsd/dhcpcd/dist/src/bpf.c              up to 1.7
external/bsd/dhcpcd/dist/src/defs.h            up to 1.1.1.13
external/bsd/dhcpcd/dist/src/dhcp.c            up to 1.11
external/bsd/dhcpcd/dist/src/dhcp.h            up to 1.1.1.6
external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.1.1.12
external/bsd/dhcpcd/dist/src/dhcp6.h            up to 1.1.1.6
external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.1.1.9
external/bsd/dhcpcd/dist/src/dhcpcd.c          up to 1.12
external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in  up to 1.1.1.9
external/bsd/dhcpcd/dist/src/if-bsd.c          up to 1.1.1.8
external/bsd/dhcpcd/dist/src/if-linux.c        up to 1.1.1.9
external/bsd/dhcpcd/dist/src/if-options.c      up to 1.10
external/bsd/dhcpcd/dist/src/ipv4ll.h          up to 1.1.1.4
external/bsd/dhcpcd/dist/src/ipv6.c            up to 1.1.1.10
external/bsd/dhcpcd/dist/src/ipv6.h            up to 1.1.1.7
external/bsd/dhcpcd/dist/src/ipv6nd.c          up to 1.1.1.8
external/bsd/dhcpcd/dist/src/ipv6nd.h          up to 1.1.1.6
external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.7
doc/3RDPARTY (manually modified)

Import dhcpcd 7.0.5b.

Changes:
* Routing: Fix case when cloning route changes but needs to be replaced
* DHCP6: Transpose DHCP userclass option into DHCP6
* DHCP6: Fix sending custom vendor class option
* Auth: Allow zero value replay detection data
* Auth: Allow different tokens for send and receive
* ND6: Warn if router lifetime is set to zero
* DHCP6: Softwire Address and Port-Mapped Clients, RFC7598
*  dhcp: Clarified some checksumming code, style and commentary
    (thanks to Maxime Villard)
*  dhcp6: IAID is now unique per IA type rather than global
*  ip6: if an IA callback causes a fork, exit earlier

(martin)

2018-06-07 18:24:16 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #848):

share/man/man9/Makefile: revision 1.422
distrib/sets/lists/comp/mi: revision 1.2198
share/man/man7/Makefile: revision 1.33
share/man/man9/audio.9: revision 1.47
share/man/man7/audio.7: file removal
sys/dev/audio.c: revision 1.456
sys/dev/audio.c: revision 1.457
distrib/sets/lists/man/mi: revision 1.1591
share/man/man9/intro.9: revision 1.20
share/man/man7/audio.7: revision 1.3
share/man/man9/audio_system.9: revision 1.1
share/man/man7/intro.7: revision 1.26
share/man/man4/audio.4: revision 1.86

Fix a typo with sc_out/inports when setting the hardware recording gain on the
mix ring.  Found by mrg@
XXX pullup-8

Using audioctl without the -p switch defaults to the mix ring.  This allows
setting the hardware gain etc.

Update the audio spec in audio.7 to reflect these changes.
Addresses PR kern/52781.

Move the audio specification to section 9 under audio_system.
Ok wiz@

(martin)

2018-06-07 18:16:55 UTC MAIN commitmail json YAML

2018-06-07 18:16:43 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #847):

sys/dev/usb/if_urtwn.c: revision 1.58

Fix support for 8192eu, notably TPLINK TL-WN823NV2, by using the right
registers when setting receiver gain.

Ok christos@.

(martin)

2018-06-07 18:13:51 UTC netbsd-8 commitmail json YAML

2018-06-07 18:12:18 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #846):

sys/dev/pci/pcidevs: revision 1.1334
sys/dev/pci/pucdata.c: revision 1.102

add Oxford Semiconductor OXPCIe954 PCIe 4-port serial card

(martin)

2018-06-07 18:07:26 UTC netbsd-6-0 commitmail json YAML

2018-06-07 18:06:38 UTC netbsd-6-0 commitmail json YAML

Fix fallout from ticket #1500: COMPAT_SVR4* has been disabled, do not
disable it here again.

(martin)

2018-06-07 18:04:56 UTC netbsd-6-1 commitmail json YAML

2018-06-07 18:04:12 UTC netbsd-6-1 commitmail json YAML

Fix fallout from ticket #1500: COMPAT_SVR4* has been disabled, do not
disable it here again.

(martin)

2018-06-07 18:03:14 UTC netbsd-6 commitmail json YAML

2018-06-07 18:01:51 UTC netbsd-6 commitmail json YAML

Fix fallout from ticket #1500: COMPAT_SVR4* has been disabled, do not
disable it here again.

(martin)

2018-06-07 17:53:44 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by youri in ticket #845):

external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata: revision 1.4
external/mit/xorg/lib/xkeyboard-config/rules/Makefile: revision 1.4

Generate xml files properly. Noted by youri.
XXX: pullup-8

(martin)

2018-06-07 17:50:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #844):

sys/net/if.c: revision 1.425

Relax a lock check in if_mcast_op unless NET_MPSAFE

It seems that there remain some paths that don't satisfy the constraint that is
required only if NET_MPSAFE.  So don't check it by default.

One known path is nd6_rtrequest => in6_addmulti => if_mcast_op, which is not
easy to address.

(martin)

2018-06-07 17:48:31 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #842):

sys/netinet6/mld6.c: revision 1.93-1.99
sys/netinet6/in6_var.h: revision 1.99,1.100
sys/netinet6/in6.c: revision 1.267,1.268
sys/netinet6/nd6.c: revision 1.249

Don't hold softnet_lock in mld_timeo
Then we can get rid of remaining abuses of mutex_owned(softnet_lock).

Release in6_multilock on callout_halt of mld_timeo to avoid a deadlock
Improve atomicity of in6_leavegroup and in6_delmulti

Avoid NULL pointer dereference on imm->i6mm_maddr

Make a refcount decrement and a removal from a list of an item atomic
in6m_refcount of an in6m can be incremented if the in6m is on the list
(if_multiaddrs) in in6_addmulti or mld_input.  So we must avoid such an
increment when we try to destroy an in6m.  To this end we must make
an in6m_refcount decrement and a removal of an in6m from if_multiaddrs
atomic.

Make a deletion of in6m in nd6_rtrequest atomic

Move LIST_REMOVE
mld_stoptimer releases in6_multilock temporarily, so we must LIST_REMOVE first.

Avoid double LIST_REMOVE which corrupts lists
Mark in6m as used for non-DIAGNOSTIC builds.

(martin)

2018-06-07 17:42:25 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #843):

sys/dev/pci/ixgbe/ixv.c: revision 1.101
sys/net/if_bridge.c: revision 1.156
sys/net/if_pppoe.c: revision 1.138
sys/dev/pci/if_wm.c: revision 1.580
sys/dev/pci/ixgbe/ixgbe.c: revision 1.156
sys/net/if_gif.c: revision 1.142

Ensure to call if_register after interface initializations finish

(martin)

2018-06-07 17:02:12 UTC MAIN commitmail json YAML

reduce debug spam, use IPI_VECTOR

(macallan)

2018-06-07 16:25:06 UTC netbsd-8 commitmail json YAML

2018-06-07 16:22:43 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #840):

sys/net/if_ipsec.c: revision 1.15,1.16

Fix panic when ipsecif(4) adds discard policy. Pointed out by ohishi@IIJ, thanks.
Reviewd by ohishi@IIJ. Sorry, I jumped the gun and committed.

Fix the following two issues.
    - remove extra padding of sizeof(xisr) when adding ipsec policy
    - add padding for xpl when adding discard policy

(martin)

2018-06-07 16:19:47 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #839):

sys/net/if_ipsec.c: revision 1.14

ipsecif(4) must not set port number to spidx even if NAT-T. Pointed out by ohishi@IIJ, thanks.

(martin)

2018-06-07 16:11:49 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #838):

etc/rc.d/sshd: revision 1.28

Silence ssh-keygen output when host keys are generated. Instead, print only
key fingerprints. This replaces dozens of lines out ASCII art output with
something more reasonable:

armv7# service sshd start
ssh-keygen: 1024 SHA256:ynP4BQ2B0Fknnf9PfF4QoUDlYi0+7rNfYXTOYP2cDic root@armv7 (DSA)
ssh-keygen: 521 SHA256:Eoj382aaJNlSxuq/aYj3AXgxfMJAkyVPoCQd2BNjJiA root@armv7 (ECDSA)
ssh-keygen: 256 SHA256:+e9/qTbbN/g6xvkadtHsmIQ+Pc0afZRxbXJsk2HKIzY root@armv7 (ED25519)
ssh-keygen: 2048 SHA256:urNaF/m6oiCe5hXFZBxGLW2PvLz0ibtRFrqYw6R+qTw root@armv7 (RSA)
ssh-keygen: 256 SHA256:Su2Nal2W3vrFz8ukpcSXngl1/bu6xUm1nSvbxTHe9Js root@armv7 (XMSS)
Starting sshd.

(martin)

2018-06-07 16:05:09 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #837):

sys/netinet/udp_usrreq.c: revision 1.237

Fix three pretty bad mistakes in NAT-T:

* If we got a keepalive packet, we need to call m_freem, not m_free.
  Here the next mbufs in the chain are not freed. Seems easy to remotely
  DoS the system by sending fragmented keepalives in a loop.

* If !ipsec_used, free the mbuf.

* In udp_input, we need to update 'uh', because udp4_realinput may have
  modified the chain. Perhaps we also need to re-enforce alignment, so
  add an XXX.

(martin)

2018-06-07 16:02:16 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #836):
external/gpl2/gmake/dist/glob/glob.c: revision 1.5
gmake: __alloca and __stat are provided only when building with GLIBC.
Fix a build failure on Ubuntu 18.04.

(martin)

2018-06-07 15:59:27 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #834):

usr.bin/make/var.c: revision 1.219
share/mk/bsd.obj.mk: revision 1.52
usr.sbin/crash/Makefile: revision 1.40
share/mk/sys.mk: revision 1.131
share/mk/bsd.sys.mk: revision 1.276
share/mk/bsd.sys.mk: revision 1.277

Prevent 'make obj' creating an objdir inside an objdir. This happens the
second time we call 'make obj' in /usr/src/rescue with MAKEOBJDIR set.
XXX: pullup-8
-
Need to delete ${DESTDIR} for lint
XXX: pullup-8
-
Fix reproducible builds
XXX: pullup-8
-
Also substitute ${X11SRCDIR} for the random seed for reproducible builds so
that the random seed is consistent.
XXX: pullup-8
-
Since ${MAKE} converts $$ -> $ during parsing we need to put it back to
preserve the original variable value with :Q.
XXX: pullup-8
-
Be more selective about remapping object directories otherwise we pick
objdump and objcopy with the regex.
XXX: pullup-8

(martin)

2018-06-07 15:52:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jakllsch in ticket #832):

sys/dev/pci/pcivar.h: revision 1.112
sys/dev/pci/pci_map.c: revision 1.34,1.35
sys/arch/x86/x86/efi.c: revision 1.15

Enable the appropriate memory or I/O space decode in the PCI
Command/Status Register upon mapping a BAR.

This should fix PR #53286.  It's also possible there are other similar
PRs that might be fixed by this.
-
Refine previous change to enable PCI window decoding in Command
Register upon mapping; conditionalize on a global variable, that is set
to true on x86 machines booting under EFI.

For now, initialize the global variable at compile time to false.  This
is intended to limit potential problems for other NetBSD ports, should
this changeset be pulled up to netbsd-8.

Related to PR #53286.

(martin)

2018-06-07 15:26:09 UTC MAIN commitmail json YAML

Disable loading XMSS keys by default too.

Nobody should be using XMSS host keys without an explicit decision,
because they're qualitatively different from all other types of host
keys in that they require keeping state.

This also eliminates a harmless but confusing warning that began
after we stopped generating XMSS keys by default.

(riastradh)

2018-06-07 13:36:29 UTC MAIN commitmail json YAML

2018-06-07 13:35:31 UTC MAIN commitmail json YAML

In device_register(), if the device is an "iic" child of "imcsmb",
attach a I2C_PROP_INDIRECT_DEVICE_WHITELIST property that limits
the allowed devices to "spdmem" and "sdtemp".  Also set the
I2C_PROP_INDIRECT_PROBE_STRATEGY property to I2C_PROBE_STRATEGY_NONE,
since that controller can't issue any of the "quick" commands.

XXX It would be nice to be able to do this in the imcsmb driver
itself, but the way autoconfiguration works makes that infeasible.

(thorpej)

2018-06-07 13:30:49 UTC MAIN commitmail json YAML

Changes / enhancements to i2c indirect device auto-configuration:

— iic_search() chooses a “probe strategy” based on the
  "i2c-indirect-probe-strategy” property on the “iic” instance.
  Valid values are "smbus-quick-write”, "smbus-receive-byte”, and
  “none”.  If no value is specified, the default is "smbus-quick-write”.

— If the "i2c-indirect-device-whitelist” exists on the “iic” instance,
  iic_search() will first check the driver name in the cfdata_t against
  this list, and only allow the match/probe to move forward if the
  cfdata_t driver name is in the list.  This is primarily to accommodate
  the Intel integrated memory controller neutered-i2c-thing.

— If the cfdata_t specifies a wildcard address, each address of the i2c
  bus will be consulted.  If the cfdata_t contains a nailed-down address,
  then we limit the bus scan to that specific address.

— We explicitly skip reserved / special i2c addresses, such as the
  General-Call address, etc.

— We introduce the notion of a “match quality” for i2c drivers.  From
  lowest-quality to highest-quality: matched by plausible address only,
  matched by plausible address and poking at the bus to see if the
  device looks reasonable, matched by direct-config “compatible” string,
  matched by direct-config “driver name” string.

— If the “match quality” is merely “plausible address only”, then
  iic_search() will use the probe strategy selected above to see if
  a device responds to that address.

(thorpej)

2018-06-07 13:21:44 UTC MAIN commitmail json YAML

2018-06-07 12:36:45 UTC MAIN commitmail json YAML

note virtio(4) now attaching to fdt(4) w/ MMIO transport

(jakllsch)

2018-06-07 12:32:26 UTC MAIN commitmail json YAML

make note of new 'virtio at fdt' attachment

(jakllsch)

2018-06-07 05:56:18 UTC MAIN commitmail json YAML

2018-06-07 05:54:24 UTC MAIN commitmail json YAML

Adjust come defaults:
- Initial gain -> 16x
- auto_gain -> true

(thorpej)

2018-06-07 05:48:29 UTC MAIN commitmail json YAML

sqlite 3.24 out.

(maya)

2018-06-07 05:07:28 UTC MAIN commitmail json YAML

A minimal change to prevent the Raspberry Pi i2c driver from
looping forever if the command buffer and data buffer are both
NULL.  XXX This driver needs an overhaul.

Also, preemptively return an error if we get a 10-bit address,
because we don't yet handle them correctly.

(thorpej)

2018-06-07 05:03:26 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1607):

        sys/netinet/udp_usrreq.c: revision 1.237 (via patch)

Fix three pretty bad mistakes in NAT-T:

* If we got a keepalive packet, we need to call m_freem, not m_free.
  Here the next mbufs in the chain are not freed. Seems easy to remotely
  DoS the system by sending fragmented keepalives in a loop.

* If !ipsec_used, free the mbuf.

* In udp_input, we need to update 'uh', because udp4_realinput may have
  modified the chain. Perhaps we also need to re-enforce alignment, so
  add an XXX.

(martin)

2018-06-07 00:51:41 UTC MAIN commitmail json YAML

Add extra sun50i-a64 nodes to SoPine Baseboard dts.

(jmcneill)

2018-06-07 00:39:27 UTC MAIN commitmail json YAML

Disable HS200 and DDR52 on A64 eMMC for now, and use len=0 for max length
transfers.

(jmcneill)

2018-06-06 23:50:29 UTC MAIN commitmail json YAML

Provide commented out OF_enter() that comes in handy when debugging.

(uwe)

2018-06-06 22:56:25 UTC MAIN commitmail json YAML

Provide an option to use libsa allocator.  Not yet enabled.  Same
binary code is generated.

To enable uncomment -DHEAP_VARIABLE and comment out alloc.c in the
makefile.

PR port-macppc/44895

(uwe)

2018-06-06 20:38:00 UTC MAIN commitmail json YAML

Add virtio drivers and potential children thereof.

In part from sparc64 GENERIC.

(jakllsch)

2018-06-06 20:35:37 UTC MAIN commitmail json YAML

2018-06-06 20:05:36 UTC MAIN commitmail json YAML

Enhance the syntax in order to be acceptable by Clang

Replace "((crv == 0))" with "(crv == 0)", as the intention is to check the
value, whether it is equal to 0.

This fixes kernel=GENERIC build under MKLLVM=yes.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 20:02:31 UTC MAIN commitmail json YAML

Comment out unused functions in order to fix Clang build

ixv_rearm_queues() and ixgbe_rearm_queues() are unused.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 19:49:51 UTC MAIN commitmail json YAML

more completely gic_fdt_disestablish() such that it's possible to
re-establish later

(jakllsch)

2018-06-06 18:10:36 UTC MAIN commitmail json YAML

shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet

(jakllsch)

2018-06-06 17:54:33 UTC MAIN commitmail json YAML

Really disable unsupported $CC flag for LLVM

The build of kernel modules works now:

  ./build.sh -V MKLLVM=yes -V MKGCC=no -V HAVE_LLVM=yes modules

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 17:47:10 UTC MAIN commitmail json YAML

Correct compilation of osnet/dev/systrace/systrace.c under Clang

Mark arguments to dtrace_probe_lookup() with __UNCONST().
The proper fix constifying it causes pollution of const in too many files.

This could be done with -W flags, but they are incompatible between
compilers.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 17:19:49 UTC MAIN commitmail json YAML

Correct compilation of osnet/dev/profile/profile.c under Clang

Constify char* types when initialized with liternals.

This could be done with -W flags, but they are incompatible between
compilers.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 17:17:31 UTC MAIN commitmail json YAML

remove now-irrelevant <dev/pci> includes

(jakllsch)

2018-06-06 17:16:56 UTC MAIN commitmail json YAML

Correct compilation of osnet/dev/dtrace/x86/dis_tables.c under Clang

Constify dgr_suffix.

This could be done with -W flags, but they are incompatible between
compilers.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 16:46:02 UTC MAIN commitmail json YAML

add virtio_pci to list of not-yet-enabled modules

(jakllsch)

2018-06-06 16:11:36 UTC MAIN commitmail json YAML

2018-06-06 15:54:03 UTC MAIN commitmail json YAML

Correct compilation of osnet/dev/dtrace/dtrace_hacks.c under Clang

Use __UNCONST() to remove const from an argument.

This could be done with -W flags, but they are incompatible between
compilers.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 15:50:23 UTC netbsd-7 commitmail json YAML

2018-06-06 15:49:02 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #1615):

usr.sbin/makefs/ffs.c: revision 1.70

PR/52828: Mark Johnston: makefs UFS2 lazy inode initialization is buggy
makefs(8) emulates UFS2 in performing lazy initialization of inode
blocks when allocating and writing inodes. However, it only ever
initializes one inode block at a time, which may be insufficient.

If so, a later initialization may clobber an inode, resulting in
an inconsistent filesystem.

I committed a minimal fix for the problem to FreeBSD:
https://svnweb.freebsd.org/changeset/base/326912

(martin)

2018-06-06 15:46:16 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #1614):

sys/dev/pci/mpii.c: revision 1.9

PR/52330: Jia-Ju Bai: mpii driver: a sleep-in-interrupt bug in mpii_intr
Since the enclosing routime mpii_event_raid already calls malloc with
M_NOWAIT, fix the cache routine to do the same. While there check the
result of the cache routine and change some error prints to aprint.

(martin)

2018-06-06 15:42:31 UTC netbsd-7 commitmail json YAML

2018-06-06 15:41:47 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #1613):

sys/dev/usb/if_urtwn.c: revision 1.53
sys/dev/usb/usbdevs: revision 1.733

PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2

(martin)

2018-06-06 15:38:05 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #1612):

sbin/fsck_lfs/bufcache.h: revision 1.14
sbin/fsck_lfs/bufcache.c: revision 1.20

PR/51418: Jose Luis Rodriguez Garcia: Fix incore src/sbin/fsck_lfs/bufcache.c
XXX: pullup-8, pullup-7

(martin)

2018-06-06 15:31:58 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #1611):

external/mpl/dhcp/dist/common/bpf.c: revision 1.3
(via patch, applied to src/external/bsd/dhcp/dist/common/bpf.c)

PR/50893: Bruce Lilly: Handle carp interfaces.

XXX: pullup-8 (in src/external/bsd/dhcp/dist/common/bpf.c)

(martin)

2018-06-06 15:24:57 UTC MAIN commitmail json YAML

Correct compilation of osnet/dist/uts/common/dtrace/dtrace.c under Clang

Add missing const keywords in dtrace_strncmp().

Initialize lim1 and lim2 to zero always. This prevents a false positive
about potentially unset but used variable.

This could be done with -W flags, but they are incompatible between
compilers.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 15:15:41 UTC MAIN commitmail json YAML

Restrict -Wno-unused-but-set-variable in sys/modules/dtrace/dtrace to GCC

Clang/LLVM does not recognize it.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 15:15:01 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by leot in ticket #1610):

usr.bin/look/look.c: revision 1.17

Properly check mmap(2) return value. We can end up with a segmentation
fault if the user does not provide a regular file as look(1) file
argument.

Kindly reviewed by <Riastradh>

(martin)

2018-06-06 15:13:00 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by leot in ticket #1609):

usr.bin/tr/str.c: revision 1.30

Do not accept invalid octal character values (>= 0400).

This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or
similars lead to them).

Reviewed and thanks to <pgoyette>!

(martin)

2018-06-06 15:09:51 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by youri in ticket #1608):

external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata: revision 1.4
external/mit/xorg/lib/xkeyboard-config/rules/Makefile: revision 1.4

Generate xml files properly. Noted by youri.
XXX: pullup-8

(martin)

2018-06-06 15:01:13 UTC MAIN commitmail json YAML

2018-06-06 14:57:38 UTC MAIN commitmail json YAML

Restrict -Wno-discarded-qualifiers in sys/modules/dtrace/* to GCC

Clang/LLVM does not recognize it.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 14:51:16 UTC netbsd-7-0 commitmail json YAML

2018-06-06 14:50:21 UTC netbsd-7-1 commitmail json YAML

2018-06-06 14:49:42 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1607):

sys/netinet/udp_usrreq.c: revision 1.237 (via patch)

Fix three pretty bad mistakes in NAT-T:

* If we got a keepalive packet, we need to call m_freem, not m_free.
  Here the next mbufs in the chain are not freed. Seems easy to remotely
  DoS the system by sending fragmented keepalives in a loop.

* If !ipsec_used, free the mbuf.

* In udp_input, we need to update 'uh', because udp4_realinput may have
  modified the chain. Perhaps we also need to re-enforce alignment, so
  add an XXX.

(martin)

2018-06-06 14:47:54 UTC MAIN commitmail json YAML

Make cddl/osnet/Makefile.zfs compatible with MKLLVM=yes

Clang/LLVM does not recognize:
- -Wno-discarded-qualifiers

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 14:46:58 UTC MAIN commitmail json YAML

Correct compilation of osnet/dist/cmd/dtrace/dtrace.c under Clang

Add missing const keywords.

This could be done with -W flags, but they are incompatible between
compilers.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 14:31:45 UTC MAIN commitmail json YAML

Make cddl/osnet/usr.sbin/dtrace -W compatible with MKLLVM=yes

Clang/LLVM does not recognize:
- -Wno-discarded-qualifiers
- -Wno-unused-but-set-variable

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 14:18:39 UTC MAIN commitmail json YAML

Make cddl/osnet/lib/libdtrace buildable with MKLLVM=yes

Clang/LLVM does not recognize:
- -Wno-maybe-uninitialized
- -Wno-unused-but-set-variable

MKGCC=yes still builds the distribution.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-06 13:18:44 UTC MAIN commitmail json YAML

Fix previous

The failing tests are for vfork(2), not fork(2).

(kamil)

2018-06-06 13:16:32 UTC MAIN commitmail json YAML

Mark sigbus ATF tests in t_ptrace_wait as expected failure

They are breaking right now on all ports.

lib/53343

(kamil)

2018-06-06 12:02:43 UTC MAIN commitmail json YAML

Don't pass -z defs to libc++ with MKSANITIZER=yes

Sanitizers are conflicting with this option:

  When linking shared libraries, the AddressSanitizer run-time is not
  linked, so -Wl,-z,defs may cause link errors (t use it with
  AddressSanitizer).

https://clang.llvm.org/docs/AddressSanitizer.html

  When linking shared libraries, the MemorySanitizer run-time is not
  linked, so -Wl,-z,defs may cause link errors (t use it with
  MemorySanitizer).

https://clang.llvm.org/docs/MemorySanitizer.html

Solution suggested by <christos>
Root cause of breaking libc++ investigated by <Yang Zheng>

(kamil)

2018-06-06 09:48:50 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1607):

sys/netinet/udp_usrreq.c: revision 1.237 (via patch)

Fix three pretty bad mistakes in NAT-T:

* If we got a keepalive packet, we need to call m_freem, not m_free.
  Here the next mbufs in the chain are not freed. Seems easy to remotely
  DoS the system by sending fragmented keepalives in a loop.

* If !ipsec_used, free the mbuf.

* In udp_input, we need to update 'uh', because udp4_realinput may have
  modified the chain. Perhaps we also need to re-enforce alignment, so
  add an XXX.

(martin)

2018-06-06 09:46:46 UTC MAIN commitmail json YAML

Separate receive socket errors from general socket errors.

(roy)

2018-06-06 03:09:12 UTC MAIN commitmail json YAML

belatedly bump the shlib version for freetype-2.9.1, using the scheme
outlined in src/external/mit/xorg/lib/freetype/shlib_version.

(snj)

2018-06-06 02:26:46 UTC MAIN commitmail json YAML

prune unused-for-5-years Makefile that bogusly installed internal headers.

(snj)

2018-06-06 02:20:07 UTC MAIN commitmail json YAML

- remove duplicate ftpfr.c from SRCS
- psmodule.c -> psnames.c

(snj)

2018-06-06 02:12:47 UTC MAIN commitmail json YAML

rats in my attic, mice in my top.  i've had enough of these damn rodents.

(snj)

2018-06-06 01:49:09 UTC MAIN commitmail json YAML

2018-06-05 22:07:47 UTC MAIN commitmail json YAML

2018-06-05 21:11:50 UTC MAIN commitmail json YAML

PR kern/53245 - support SGR 39 (default foreground) and 49 (background).

(uwe)

2018-06-05 20:02:43 UTC MAIN commitmail json YAML

Add ATAPI passtrough support giving the NetBSD/usermode kernel full control of
an ATAPI device. All ATAPI/SCSI commands are passed trough.

Note that ATAPI/SCSI calls are made in the foreground still. Lengthy calls
will still hug the CPU until completion. Making it asynchronous is in the
pipeline

(reinoud)

2018-06-05 15:37:52 UTC MAIN commitmail json YAML

Elide -nostdinc from LINK.c when linking object files since clang complains
about unused argument. Note that we can't remove CPPFLAGS from LINK.c because
it is used in the "shuttle rules" (from .c to executable).

(christos)

2018-06-05 13:21:37 UTC MAIN commitmail json YAML

2018-06-05 13:21:15 UTC MAIN commitmail json YAML

Add missing vendor ZORAN

(martin)

2018-06-05 12:17:18 UTC MAIN commitmail json YAML

Fix panic on boot with iwm(4). Advised by nonaka@n.o, thanks.

XXX pullup-8

(knakahara)

2018-06-05 12:04:19 UTC MAIN commitmail json YAML

remove <sys/proc.h> done in the dtrace header now.

(christos)

2018-06-05 11:39:49 UTC MAIN commitmail json YAML

use the compiler way of passing arguments to the linker.

(christos)

2018-06-05 09:28:56 UTC MAIN commitmail json YAML

2018-06-05 09:28:26 UTC MAIN commitmail json YAML

usbdevs: misc updates from FreeBSD

This syncs some vendor changes from FreeBSD (r334649). Prefer
longer "canonical" names where the names differed.

ok leot@

(eadler)

2018-06-05 08:14:25 UTC netbsd-8 commitmail json YAML

Change #860 entry with the text provided in the ticket.

(bouyer)

2018-06-05 08:13:27 UTC netbsd-8 commitmail json YAML

2018-06-05 08:12:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #860):
usr.sbin/sysinst/msg.mi.de: revision 1.7
usr.sbin/sysinst/arch/i386/md.c: revision 1.10
usr.sbin/sysinst/msg.mi.fr: revision 1.10
usr.sbin/sysinst/arch/i386/md.c: revision 1.11
usr.sbin/sysinst/menus.mi: revision 1.13
usr.sbin/sysinst/arch/i386/md.c: revision 1.9
usr.sbin/sysinst/msg.mi.es: revision 1.7
usr.sbin/sysinst/msg.mi.en: revision 1.11
usr.sbin/sysinst/mbr.c: revision 1.6
usr.sbin/sysinst/disks.c: revision 1.15
usr.sbin/sysinst/bsddisklabel.c: revision 1.4
usr.sbin/sysinst/disks.c: revision 1.16
usr.sbin/sysinst/msg.mi.pl: revision 1.9
usr.sbin/sysinst/defs.h: revision 1.11
Add an option to install onto a pre-configured wedge.
Greatly simmplifies (U)EFI setups (but does not fully automate them yet).
In the generated /etc/fstab, do not use the (temporary, during sysinst)
path name for the file in the comment, but instead the one it will
have on the target system.
Reorder fetch options: http before ftp
Default console device and speed to that used by syinst
add missing brace.

(bouyer)

2018-06-05 08:04:34 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #859):
sys/arch/arm/arm/syscall.c: revision 1.65
PR kern/53261: handle SYS_syscall indirection in MD code - the generic
version would misalign the argument array.

(bouyer)

2018-06-05 08:03:29 UTC MAIN commitmail json YAML

2018-06-05 01:25:59 UTC MAIN commitmail json YAML

It is necessary to set wall time instead of monotonic time to rmx_expire.

(nonaka)

2018-06-05 00:58:42 UTC MAIN commitmail json YAML

2018-06-05 00:58:17 UTC MAIN commitmail json YAML

use the standard rules, instead of rolling our own.

(christos)

2018-06-05 00:57:47 UTC MAIN commitmail json YAML

2018-06-05 00:56:51 UTC MAIN commitmail json YAML

Add rules for building relocatable objects to avoid having random Makefiles
use ${LD} ${LDFLAGS} -r which does not work if we specify MKRELRO since
LDFLAGS is supposed to be passed to LINK.c not LD directly (although some
of the flags work).

(christos)

2018-06-04 21:36:03 UTC MAIN commitmail json YAML

add <sys/proc.h> because the header needs proc_t kthread_t etc.

(christos)

2018-06-04 21:35:29 UTC MAIN commitmail json YAML

better to put this (<sys/proc.h>) in the dtrace header where the definitions
are needed.

(christos)

2018-06-04 20:28:44 UTC MAIN commitmail json YAML

2018-06-04 20:12:46 UTC MAIN commitmail json YAML

The (dtrace version of) <sys/proc.h> is needed for kthread_t
(same as the amd64 version).  This should fix (one of) the
current i386 build breakages.

(kre)

2018-06-04 20:06:52 UTC MAIN commitmail json YAML

Its a hack, but make sure the pages are paged in

(reinoud)

2018-06-04 19:53:01 UTC MAIN commitmail json YAML

2018-06-04 16:46:46 UTC MAIN commitmail json YAML

Note import of dhcpcd-7.0.5b

(roy)

2018-06-04 16:45:52 UTC MAIN commitmail json YAML

2018-06-04 13:12:54 UTC MAIN commitmail json YAML

Quick hack to fix 32bit big endian platforms: the return value from
__syscall() needs to be shifted into the lower 32bits to form a proper
pointer. Temporarily steal __SYSCALL_TO_UINTPTR_T from the syscall/__syscall
test program, Kamil is working on a proper solution.

(martin)

2018-06-04 09:57:19 UTC MAIN commitmail json YAML

Note import of dhcpcd-7.0.5a

(roy)

2018-06-04 09:56:16 UTC MAIN commitmail json YAML

2018-06-04 09:13:47 UTC MAIN commitmail json YAML

Blindly add __TEST_FENV in the hope of fixing the vax build.

(So we can include fenv.h, and then not use it - we ifdef vax out
for OS-portability reasons.)

(maya)

2018-06-04 02:42:23 UTC MAIN commitmail json YAML

Don't call ixgbe_rearm_queues() in ixgbe_local_timer1().

  ixgbe_enable_queue() and ixgbe_disable_queue() try to enable/disable queue
  interrupt safely. It has the internal counter. When a queue's MSI-X is
  received, ixgbe_msix_que() is called (IPL_NET). This function disable the
  queue's interrupt by ixgbe_disable_queue() and issues an softint.
  ixgbe_handle() queue is called by the softint (IPL_SOFTNET), process TX, RX
  and call ixgbe_enable_queue() at the end.

  ixgbe_local_timer1() is a callout and run always on CPU 0 (IPL_SOFTCLOCK).
  When ixgbe_rearm_queues() called, an MSI-X interrupt is issued for a specific
  queue. It may not CPU 0. If this interrupt's ixgbe_msix_que() is called and
  sofint_schedule() is called before the last sofint's softint_execute() is not
  called, the softint_schedule() fails because of SOFTINT_PENDING. It result
  in breaking ixgbe_{enable,disable}_queue()'s internal counter.

  ixgbe_local_timer1() is written not to call ixgbe_rearm_queues() if
  the interrupt is disabled, but it's called because of unknown bug or a race.
  One solution to avoid this problem is to not to use the internal counter,
  but it's little difficult. Another solution is stop using
  ixgbe_rearm_queues() at all. Essentially, ixgbe_rearm_queues() is not
  required (it was added in ixgbe.c rev. 1.43 (2016/12/01)).
  ixgbe_rearm_queues() helps for lost interrupt problem but I've never seen it
  other than ixgbe_rearm_queues() problem.

XXX pullup-8.

(msaitoh)

2018-06-04 02:29:53 UTC MAIN commitmail json YAML

initialize the new gop_putrange method pointer in rumpfs_genfsops too.

(chs)

2018-06-04 01:42:49 UTC MAIN commitmail json YAML

Update fstat for audio(4) and pad(4) devices.

XXX - pullup 8.

Ok christos@.

(nat)

2018-06-03 22:32:58 UTC MAIN commitmail json YAML

Fix names of module_{,un}register_callbacks pages

(pgoyette)

2018-06-03 20:59:49 UTC MAIN commitmail json YAML

Add a blurb of a general approach how to maintain these files.

(christos)

2018-06-03 20:18:10 UTC MAIN commitmail json YAML

PR/53338: David Binderman: Widen shift to the LHS type.

(christos)

2018-06-03 19:50:20 UTC MAIN commitmail json YAML

unload payload dma map upon command completion

(jakllsch)

2018-06-03 19:47:35 UTC MAIN commitmail json YAML

add feature/register definitions from virtio-v1.0-cs04

(jakllsch)

2018-06-03 18:59:45 UTC MAIN commitmail json YAML

2018-06-03 18:38:36 UTC MAIN commitmail json YAML

take mutex around check for pending flush, as the code before dksubr
conversion had, to avoid possible race

on my system doesn't really change behaviour, besides the test runs
being slightly faster (3x parallell pkgsrc archive extraction, up
to 5% difference), thought that can just be noise

done as part of investigation for PR kern/53183 by Sevan Janiyan

(jdolecek)

2018-06-03 16:09:31 UTC MAIN commitmail json YAML

ksh: Remove symbol clash with libc

Rename local function glob() to ksh_glob().
This is needed for installing interceptors in sanitizers.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-03 15:26:04 UTC MAIN commitmail json YAML

Make identification of accounted aprint_error()s possible by putting a
big ugly "autoconfiguration error: " in the log when they occur.

(jakllsch)

2018-06-03 15:10:12 UTC MAIN commitmail json YAML

2018-06-03 15:02:56 UTC MAIN commitmail json YAML

Move two probe-time aprint_errors to debug and verbose level instead.

These two are regularly happening within qemu, and would muddle up the
aprint error counter otherwise.

(jakllsch)

2018-06-03 14:56:52 UTC MAIN commitmail json YAML

The native mutex.h has a userland visible portion. make it so and fix the
build.

(christos)

2018-06-03 14:41:05 UTC MAIN commitmail json YAML

use a more data-driven :-) approach to avoid cut-n-pasted code.

(christos)

2018-06-03 14:38:28 UTC MAIN commitmail json YAML

Default console device and speed to that used by syinst

(martin)

2018-06-03 13:41:30 UTC MAIN commitmail json YAML

ktruss: Remove symbol clash with libc

Rename local function wprintf() to xwprintf().
This is needed for installing interceptors in sanitizers.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-03 13:23:58 UTC MAIN commitmail json YAML

Reorder fetch options: http before ftp

(martin)

2018-06-03 13:18:06 UTC MAIN commitmail json YAML

In the generated /etc/fstab, do not use the (temporary, during sysinst)
path name for the file in the comment, but instead the one it will
have on the target system.

(martin)

2018-06-03 13:16:30 UTC MAIN commitmail json YAML

2018-06-03 12:54:51 UTC MAIN commitmail json YAML

Remove stray space to unbreak build

(gson)

2018-06-03 12:18:29 UTC MAIN commitmail json YAML

ksh: Remove symbol clash with libc

Rename local function twalk() to ksh_twak().
This is needed for installing interceptors in sanitizers.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-06-03 11:55:27 UTC MAIN commitmail json YAML

Clean-up, improve wording, and use terminology from the implementation
(notably, value --> datum).

(pgoyette)

2018-06-03 10:59:35 UTC MAIN commitmail json YAML

Constify atu_devs[] so that it lands in .rodata (600 bytes).

(maxv)

2018-06-03 10:45:16 UTC MAIN commitmail json YAML

Constify ahc_pci_ident_table[] so that it lands in .rodata (1488 bytes).

(maxv)

2018-06-03 10:37:23 UTC MAIN commitmail json YAML

2018-06-03 10:35:57 UTC MAIN commitmail json YAML

Add the module specificdata entries to the sets lists.  While here, sort
the entries for module(9) and specificdata(9) and use the correct setname
selectors for the latter.

(pgoyette)

2018-06-03 10:34:59 UTC MAIN commitmail json YAML

Finish documenting the new modules(9) interfaces by adding the module
specificdata routines.

(pgoyette)

2018-06-03 10:24:25 UTC MAIN commitmail json YAML

Constify several variables in ixgbe/ so that they land in .rodata (1038
bytes).

(maxv)

2018-06-03 10:20:55 UTC MAIN commitmail json YAML

2018-06-03 10:13:54 UTC MAIN commitmail json YAML

Constify lpcib_devices[] so that it lands in .rodata (1584 bytes).

(maxv)

2018-06-03 10:04:41 UTC MAIN commitmail json YAML

Constify ug2_mb[], so that it lands in .rodata.

(maxv)

2018-06-03 10:01:22 UTC MAIN commitmail json YAML

Constify the microcode variables used by BNX. This moves 38 pages of kernel
memory from .data to .rodata.

(maxv)

2018-06-03 09:22:34 UTC MAIN commitmail json YAML

Make a first pass at documenting the specificdata functionality.

XXX This is just a first pass, and I've probably made a ton of mistakes
XXX while reading the code!  Updates and corrections greatly appreciated.

(pgoyette)