CVS commit: src/sys/dev/pci

2016-01-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jan  7 10:08:18 UTC 2016

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
- printf->DPRINTF in wm_serdes_mediastatus().
- KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.387 -r1.388 src/sys/dev/pci/if_wm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/ifconfig

2016-01-07 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Jan  7 11:32:21 UTC 2016

Modified Files:
src/sbin/ifconfig: af_inet.c af_inet6.c ifconfig.8 ifconfig.c util.h

Log Message:
-W seconds will wait for the detached flag to clear on addresses on
interfaces marked up to allow time for the carrier to appear on the
interface.

This does not extend the -w option duration.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sbin/ifconfig/af_inet.c
cvs rdiff -u -r1.33 -r1.34 src/sbin/ifconfig/af_inet6.c
cvs rdiff -u -r1.109 -r1.110 src/sbin/ifconfig/ifconfig.8
cvs rdiff -u -r1.235 -r1.236 src/sbin/ifconfig/ifconfig.c
cvs rdiff -u -r1.11 -r1.12 src/sbin/ifconfig/util.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/nvi/dist/common

2016-01-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  7 14:07:01 UTC 2016

Modified Files:
src/external/bsd/nvi/dist/common: key.h

Log Message:
remove CONST; it is unused from Brad Harder


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/nvi/dist/common/key.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/raidframe

2016-01-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  7 14:15:26 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
gc unused flags


To generate a diff of this commit:
cvs rdiff -u -r1.342 -r1.343 src/sys/dev/raidframe/rf_netbsdkintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/mdocml/dist

2016-01-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  7 19:32:44 UTC 2016

Modified Files:
src/external/bsd/mdocml/dist: eqn.c

Log Message:
CID 1288962: lim was never incremented thus self-definition loop detection
was not functional.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 src/external/bsd/mdocml/dist/eqn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/mdocml/dist

2016-01-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  7 19:51:40 UTC 2016

Modified Files:
src/external/bsd/mdocml/dist: term.c

Log Message:
CID 1288941: Wrong sizeof


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.17 -r1.2 src/external/bsd/mdocml/dist/term.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/mdocml/dist

2016-01-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  7 20:00:35 UTC 2016

Modified Files:
src/external/bsd/mdocml/dist: man_macro.c

Log Message:
CID 1257473: NULL deref


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.14 -r1.2 src/external/bsd/mdocml/dist/man_macro.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS import: src/external/bsd/dhcpcd/dist

2016-01-07 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Jan  7 20:04:11 UTC 2016

Update of /cvsroot/src/external/bsd/dhcpcd/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv7569

Log Message:
Import dhcpcd-6.10.0 with the following changes:
  *  --noption requires an argument
  *  optimise the ARP BPF filter, thanks to Nate Karstens
  *  send gratuitous ARP each time we apply our IP address
  *  fix truncation of hostnames based on the short hostname option
  *  improve routing and address management by always loading all
 interfaces, routes and addresses even for interfaces we are
 not directly working on
  *  timezone, lookup-hostname, wpa_supplicant and YP hooks are no
 longer installed by default but are installed to an example
 directory
  *  improve error logging of packet parsing
  *  fix ignoring routing messages generated by dhcpcd just before
 forking
  *  fix handling of rapid commit messages (allow ACK after DISCOVER)
  *  add PROBE state so we can easily reject DHCP messages received
 during the ARP probe phase
  *  fix CVE-2016-1503
  *  fix CVE-2016-1504

An extra patch was added to the import from the official 6.10.0 release
to add -P, --printpidfile so the dhcpcd rc.d script can work out what
pidfile to use.

Status:

Vendor Tag: roy
Release Tags:   dhcpcd-6-10-0

C src/external/bsd/dhcpcd/dist/common.c
U src/external/bsd/dhcpcd/dist/control.c
C src/external/bsd/dhcpcd/dist/dhcpcd.c
C src/external/bsd/dhcpcd/dist/duid.c
U src/external/bsd/dhcpcd/dist/eloop.c
C src/external/bsd/dhcpcd/dist/if.c
C src/external/bsd/dhcpcd/dist/if-options.c
U src/external/bsd/dhcpcd/dist/script.c
C src/external/bsd/dhcpcd/dist/dhcp-common.c
C src/external/bsd/dhcpcd/dist/dhcpcd-embedded.c
C src/external/bsd/dhcpcd/dist/if-bsd.c
C src/external/bsd/dhcpcd/dist/arp.c
C src/external/bsd/dhcpcd/dist/dhcp.c
C src/external/bsd/dhcpcd/dist/ipv4.c
U src/external/bsd/dhcpcd/dist/ipv4ll.c
C src/external/bsd/dhcpcd/dist/ipv6.c
C src/external/bsd/dhcpcd/dist/ipv6nd.c
C src/external/bsd/dhcpcd/dist/dhcp6.c
U src/external/bsd/dhcpcd/dist/auth.c
C src/external/bsd/dhcpcd/dist/dhcpcd.conf
C src/external/bsd/dhcpcd/dist/dhcpcd-definitions.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-embedded.c.in
U src/external/bsd/dhcpcd/dist/dhcpcd-embedded.h.in
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in
C src/external/bsd/dhcpcd/dist/dhcpcd.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd.conf.5.in
U src/external/bsd/dhcpcd/dist/arp.h
U src/external/bsd/dhcpcd/dist/auth.h
C src/external/bsd/dhcpcd/dist/bpf-filter.h
U src/external/bsd/dhcpcd/dist/common.h
U src/external/bsd/dhcpcd/dist/config.h
U src/external/bsd/dhcpcd/dist/control.h
C src/external/bsd/dhcpcd/dist/defs.h
U src/external/bsd/dhcpcd/dist/dev.h
U src/external/bsd/dhcpcd/dist/dhcp-common.h
C src/external/bsd/dhcpcd/dist/dhcp.h
C src/external/bsd/dhcpcd/dist/dhcp6.h
U src/external/bsd/dhcpcd/dist/dhcpcd-embedded.h
C src/external/bsd/dhcpcd/dist/dhcpcd.h
U src/external/bsd/dhcpcd/dist/duid.h
U src/external/bsd/dhcpcd/dist/eloop.h
C src/external/bsd/dhcpcd/dist/if-options.h
C src/external/bsd/dhcpcd/dist/if.h
U src/external/bsd/dhcpcd/dist/ipv4.h
U src/external/bsd/dhcpcd/dist/ipv4ll.h
C src/external/bsd/dhcpcd/dist/ipv6.h
U src/external/bsd/dhcpcd/dist/ipv6nd.h
U src/external/bsd/dhcpcd/dist/script.h
U src/external/bsd/dhcpcd/dist/crypt/hmac_md5.c
U src/external/bsd/dhcpcd/dist/crypt/crypt.h
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/02-dump
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/10-wpa_supplicant
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/15-timezone
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind

25 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jroy:yesterday -jroy src/external/bsd/dhcpcd/dist



CVS commit: src/external/bsd/mdocml/dist

2016-01-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  7 20:10:55 UTC 2016

Modified Files:
src/external/bsd/mdocml/dist: main.c

Log Message:
CID 1257465: Annotate tainted.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.15 -r1.2 src/external/bsd/mdocml/dist/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/include/opt

2016-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 21:04:27 UTC 2016

Modified Files:
src/sys/rump/include/opt: opt_rumpkernel.h

Log Message:
use WSEMUL_NO_DUMB and WSEMUL_VT100


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/rump/include/opt/opt_rumpkernel.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/kern/lib/libtty

2016-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 21:09:01 UTC 2016

Modified Files:
src/sys/rump/kern/lib/libtty: tty_component.c

Log Message:
Initialize non-VFS parts of tty subsystem already at RUMP_COMPONENT_KERN.

That way components under RUMP__FACTION_DEV can call tty routines.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/kern/lib/libtty/tty_component.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/mdocml/dist

2016-01-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  7 21:11:54 UTC 2016

Modified Files:
src/external/bsd/mdocml/dist: read.c

Log Message:
Revert part of previous; fd is closed by readfd...


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/mdocml/dist/read.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/raidframe

2016-01-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jan  7 21:57:00 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_dagutils.c

Log Message:
Don't use for (...); by using an explicit continue as body.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/raidframe/rf_dagutils.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/netbsd32

2016-01-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jan  7 21:58:28 UTC 2016

Modified Files:
src/sys/compat/netbsd32: netbsd32_compat_14.c

Log Message:
Avoid defining inline functions that are never used when certain options
are missing.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/compat/netbsd32/netbsd32_compat_14.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/etc/rc.d

2016-01-07 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Jan  7 22:03:00 UTC 2016

Modified Files:
src/etc/rc.d: dhcpcd

Log Message:
Use the new -P option to work out which pidfile dhcpcd will use.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/etc/rc.d/dhcpcd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2016-01-07 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Jan  7 22:07:18 UTC 2016

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/misc: mi
src/etc/mtree: NetBSD.dist.base
src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile

Log Message:
Move 10-wpa_supplicant, 15-timezone, 29-lookup-hostname and 50-ypbind
from /libexec/dhcpcd-hooks to /usr/share/examples/dhcpcd/hooks so they
are not run by default.


To generate a diff of this commit:
cvs rdiff -u -r1.1119 -r1.1120 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.196 -r1.197 src/distrib/sets/lists/misc/mi
cvs rdiff -u -r1.150 -r1.151 src/etc/mtree/NetBSD.dist.base
cvs rdiff -u -r1.27 -r1.28 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/mdocml/dist

2016-01-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  7 22:47:49 UTC 2016

Modified Files:
src/external/bsd/mdocml/dist: eqn.c

Log Message:
fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/mdocml/dist/eqn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/include

2016-01-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jan  8 02:25:15 UTC 2016

Modified Files:
src/sys/arch/x86/include: cacheinfo.h

Log Message:
 Index 0x6c is not 126 entries but 128 entries. The old value was from
previous SDM.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/x86/include/cacheinfo.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/include

2016-01-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jan  8 02:27:08 UTC 2016

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
 Add x86 FPU Data Pointer Updated Only bit from Intel SDM.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/x86/include/specialreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/cpuctl/arch

2016-01-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jan  8 02:28:44 UTC 2016

Modified Files:
src/usr.sbin/cpuctl/arch: i386.c

Log Message:
>From the latest Intel SDM:
- Add Xeon E3-1200 v5
- Change 0x1c from "Atom Family" to "45nm Atom Family"


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/usr.sbin/cpuctl/arch/i386.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/include

2016-01-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jan  8 03:26:35 UTC 2016

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
 Add CLFLUSHOPT bit.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/x86/include/specialreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2016-01-07 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Jan  8 03:55:39 UTC 2016

Modified Files:
src/sys/net: if_gif.c
src/sys/netinet: ip_input.c
src/sys/netinet6: ip6_input.c

Log Message:
eliminate ip_input.c and ip6_input.c dependency on gif(4)


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/net/if_gif.c
cvs rdiff -u -r1.325 -r1.326 src/sys/netinet/ip_input.c
cvs rdiff -u -r1.153 -r1.154 src/sys/netinet6/ip6_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/include/opt

2016-01-07 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Jan  8 04:06:48 UTC 2016

Modified Files:
src/sys/rump/include/opt: gif.h

Log Message:
conform rump behavior to NetBSD kernel (in paticular net.inet.ip.gifttl sysctl)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/include/opt/gif.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/filemon

2016-01-07 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Jan  8 07:16:13 UTC 2016

Modified Files:
src/sys/dev/filemon: filemon.c

Log Message:
typo in debug print


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/filemon/filemon.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.