svn commit: r287347 - head/lib/libc/rpc

2015-09-01 Thread Craig Rodrigues
Author: rodrigc Date: Tue Sep 1 07:32:03 2015 New Revision: 287347 URL: https://svnweb.freebsd.org/changeset/base/287347 Log: Use ANSI C prototypes. Eliminates gcc 4.9 warnings. Modified: head/lib/libc/rpc/rpc_prot.c Modified: head/lib/libc/rpc/rpc_prot.c ==

svn commit: r287348 - head/lib/libc/rpc

2015-09-01 Thread Craig Rodrigues
Author: rodrigc Date: Tue Sep 1 07:33:36 2015 New Revision: 287348 URL: https://svnweb.freebsd.org/changeset/base/287348 Log: Use correct function prototype for signal handler. Eliminates gcc 4.9 warning. Modified: head/lib/libc/rpc/auth_time.c Modified: head/lib/libc/rpc/auth_time.c =

svn commit: r287349 - head/lib/libc/net

2015-09-01 Thread Hiroki Sato
Author: hrs Date: Tue Sep 1 08:29:39 2015 New Revision: 287349 URL: https://svnweb.freebsd.org/changeset/base/287349 Log: Print sdl->sdl_data when sdl->sdl_nlen > 0 as link_ntoa(3) does. MFC after:1 week Modified: head/lib/libc/net/getnameinfo.c Modified: head/lib/libc/net/getnamei

svn commit: r287350 - head/lib/libc/rpc

2015-09-01 Thread Craig Rodrigues
Author: rodrigc Date: Tue Sep 1 08:34:44 2015 New Revision: 287350 URL: https://svnweb.freebsd.org/changeset/base/287350 Log: Use ANSI C prototypes. Eliminates gcc 4.9 warnings. Modified: head/lib/libc/rpc/auth_des.c head/lib/libc/rpc/auth_none.c head/lib/libc/rpc/rpcb_clnt.c head

svn commit: r287351 - head/usr.bin/netstat

2015-09-01 Thread Hiroki Sato
Author: hrs Date: Tue Sep 1 08:42:04 2015 New Revision: 287351 URL: https://svnweb.freebsd.org/changeset/base/287351 Log: - Add -W flag support for network column in intpr() (-i flag) and routepr() (-r flag). It is too narrow to show an IPv6 prefix in most cases. - Accept "local"

svn commit: r287353 - head/lib/libc/rpc

2015-09-01 Thread Craig Rodrigues
Author: rodrigc Date: Tue Sep 1 09:22:24 2015 New Revision: 287353 URL: https://svnweb.freebsd.org/changeset/base/287353 Log: Use unsigned variable. Eliminates gcc 4.9 compiler warning. Modified: head/lib/libc/rpc/clnt_bcast.c Modified: head/lib/libc/rpc/clnt_bcast.c ==

svn commit: r287354 - head/sys/kern

2015-09-01 Thread Andriy Gapon
Author: avg Date: Tue Sep 1 09:27:14 2015 New Revision: 287354 URL: https://svnweb.freebsd.org/changeset/base/287354 Log: callout_reset: fix a reversed check for cc_exec_cancel The typo was introduced in r278469 / 344ecf88af2dfb. As a result of the bug there was a timing window where

svn commit: r287355 - head/sys/dev/usb/controller

2015-09-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Sep 1 09:33:24 2015 New Revision: 287355 URL: https://svnweb.freebsd.org/changeset/base/287355 Log: Add new PCI ID. Submitted by: Dmitry Luhtionov MFC after:1 month PR: 202807 Modified: head/sys/dev/usb/controller/uhci_pci.c Modified: head/

svn commit: r287356 - head/sys/dev/mmc/host

2015-09-01 Thread Andrew Turner
Author: andrew Date: Tue Sep 1 10:47:42 2015 New Revision: 287356 URL: https://svnweb.freebsd.org/changeset/base/287356 Log: Remove an variable we only ever write to, and stop assigning 0 to values in the softc as it's the default value. The latter helps with subclassing this driver. S

svn commit: r287357 - head

2015-09-01 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 1 11:46:13 2015 New Revision: 287357 URL: https://svnweb.freebsd.org/changeset/base/287357 Log: When building multiple kernels use [2..-1] to extract !INSTALLKERNEL from BUILDKERNELS list. This is more strict, since INSTALLKERNEL by definition is the first wor

svn commit: r287358 - head

2015-09-01 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 1 11:59:12 2015 New Revision: 287358 URL: https://svnweb.freebsd.org/changeset/base/287358 Log: Not only build with buildworld, but also install with installworld all alternative kernels. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified: head/Ma

svn commit: r287360 - in head: contrib/netbsd-tests/lib/libc/gen/posix_spawn lib/libc/tests/gen/posix_spawn

2015-09-01 Thread Konstantin Belousov
Author: kib Date: Tue Sep 1 12:47:11 2015 New Revision: 287360 URL: https://svnweb.freebsd.org/changeset/base/287360 Log: Fix t_spawnattr test for attributes handling by posix_spawn(3). Connect it to the build. The code assumed that SCHED_* constants form a contiguous set of numbers, r

svn commit: r287361 - head/sys/ufs/ffs

2015-09-01 Thread Konstantin Belousov
Author: kib Date: Tue Sep 1 13:07:27 2015 New Revision: 287361 URL: https://svnweb.freebsd.org/changeset/base/287361 Log: By doing file extension fast, it is possible to create excess supply of the D_NEWBLK kinds of dependencies (i.e. D_ALLOCDIRECT and D_ALLOCINDIR), which can exhaust kmem.

svn commit: r287362 - head/sys/kern

2015-09-01 Thread Konstantin Belousov
Author: kib Date: Tue Sep 1 13:21:32 2015 New Revision: 287362 URL: https://svnweb.freebsd.org/changeset/base/287362 Log: Clean up the kqueue use of the uma KPI. Explain why it is fine to not check for M_NOWAIT failures in kqueue_register(). Remove unneeded check for NULL result from

svn commit: r287365 - in head/sys/boot/efi/loader: . arch/arm64

2015-09-01 Thread Andrew Turner
Author: andrew Date: Tue Sep 1 13:51:07 2015 New Revision: 287365 URL: https://svnweb.freebsd.org/changeset/base/287365 Log: Install the forth bits on arm64. For now limit it to just arm64 as on x86 these should have been installed as part of the regular loader. Modified: head/sys/boot/efi

svn commit: r287366 - head/sys/kern

2015-09-01 Thread Konstantin Belousov
Author: kib Date: Tue Sep 1 14:05:29 2015 New Revision: 287366 URL: https://svnweb.freebsd.org/changeset/base/287366 Log: Exit notification for EVFILT_PROC removes knote from the knlist. In particular, this invalidates the knote kn_link linkage, making the SLIST_FOREACH() loop accessing un

Re: svn commit: r287350 - head/lib/libc/rpc

2015-09-01 Thread Benjamin Kaduk
On Tue, Sep 1, 2015 at 3:34 AM, Craig Rodrigues wrote: > Author: rodrigc > Date: Tue Sep 1 08:34:44 2015 > New Revision: 287350 > URL: https://svnweb.freebsd.org/changeset/base/287350 > > Log: > Use ANSI C prototypes. > > Eliminates gcc 4.9 warnings. > > Modified: > head/lib/libc/rpc/auth_

svn commit: r287367 - head/sys/dev/mmc/host

2015-09-01 Thread Andrew Turner
Author: andrew Date: Tue Sep 1 15:26:21 2015 New Revision: 287367 URL: https://svnweb.freebsd.org/changeset/base/287367 Log: Finish allowing the dwmmc driver to be subclassed, move the softc to a new header, along with the hwtype enum, device attach prototype, and driver_t. Sponsored by:

svn commit: r287368 - head/release

2015-09-01 Thread Glen Barber
Author: gjb Date: Tue Sep 1 15:28:35 2015 New Revision: 287368 URL: https://svnweb.freebsd.org/changeset/base/287368 Log: Remove '-' separating OSRELEASE and SNAPSHOT_DATE for vagrant builds, and prepend it to SNAPSHOT_DATE to prevent a trailing '-' in the final box name for a release build

svn commit: r287369 - head/libexec/rtld-elf

2015-09-01 Thread Andrew Turner
Author: andrew Date: Tue Sep 1 15:43:56 2015 New Revision: 287369 URL: https://svnweb.freebsd.org/changeset/base/287369 Log: Ensure we use calculate_first_tls_offset, even if the main program doesn't have TLS program header. This is needed on architectures with Variant I tls, that is arm, a

svn commit: r287370 - head/libexec/rtld-elf/aarch64

2015-09-01 Thread Andrew Turner
Author: andrew Date: Tue Sep 1 15:57:03 2015 New Revision: 287370 URL: https://svnweb.freebsd.org/changeset/base/287370 Log: Fix how we place each objects thread local data. The code used was based on the Variant II code, however arm64 uses Variant I. The former placed the thread pointer af

Re: svn commit: r287344 - head/sys/vm

2015-09-01 Thread Alan Cox
On 09/01/2015 01:36, hiren panchasara wrote: > Hi Alan, > > On 09/01/15 at 06:21P, Alan Cox wrote: >> Author: alc >> Date: Tue Sep 1 06:21:12 2015 >> New Revision: 287344 >> URL: https://svnweb.freebsd.org/changeset/base/287344 >> >> Log: >> Handle held pages earlier in the inactive queue scan.

svn commit: r287371 - in head/sys: arm64/conf conf dev/mmc/host

2015-09-01 Thread Andrew Turner
Author: andrew Date: Tue Sep 1 16:25:12 2015 New Revision: 287371 URL: https://svnweb.freebsd.org/changeset/base/287371 Log: Add support for the DesignWare MMC hardware in the HiSilicon hi6220. This SoC is used in the HiKey board from 96boards. Currently on the SD card is working on the

svn commit: r287372 - head/sys/cam/ctl

2015-09-01 Thread Alexander Motin
Author: mav Date: Tue Sep 1 16:28:06 2015 New Revision: 287372 URL: https://svnweb.freebsd.org/changeset/base/287372 Log: Make most of port methods optional and remove bunch of dummies. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_frontend.c head/sys/cam/ctl/ctl_frontend_cam_sim

svn commit: r287373 - in head/sys: arm64/conf conf dev/usb/controller

2015-09-01 Thread Andrew Turner
Author: andrew Date: Tue Sep 1 17:13:04 2015 New Revision: 287373 URL: https://svnweb.freebsd.org/changeset/base/287373 Log: Add support for the dwc usb in the HiSilicon hi6220 in the HiKey board. For this we need to force the driver into host mode, as without this the driver fails to detec

Re: svn commit: r287350 - head/lib/libc/rpc

2015-09-01 Thread Craig Rodrigues
On Tue, Sep 1, 2015 at 7:53 AM, Benjamin Kaduk wrote: > Not picking on Craig, since he's just building with GCC 4.9, but maybe > it's time to start getting rid of auth_des and svc_auth_des? > > If you have ideas as to the best way to do this, you might want to submit a patch and start a discussio

svn commit: r287374 - head/usr.sbin/pmcstat

2015-09-01 Thread John Baldwin
Author: jhb Date: Tue Sep 1 17:52:43 2015 New Revision: 287374 URL: https://svnweb.freebsd.org/changeset/base/287374 Log: Fix an off by one error in r283613: Like regular ffs(), CPU_FFS() returns 1 for CPU 0, etc. so the return value must be decremented to obtain the first valid CPU ID.

Re: svn commit: r287366 - head/sys/kern

2015-09-01 Thread John-Mark Gurney
Konstantin Belousov wrote this message on Tue, Sep 01, 2015 at 14:05 +: > Author: kib > Date: Tue Sep 1 14:05:29 2015 > New Revision: 287366 > URL: https://svnweb.freebsd.org/changeset/base/287366 > > Log: > Exit notification for EVFILT_PROC removes knote from the knlist. In > particular

Re: svn commit: r287366 - head/sys/kern

2015-09-01 Thread Bryan Drewery
On 9/1/15 11:26 AM, John-Mark Gurney wrote: > Konstantin Belousov wrote this message on Tue, Sep 01, 2015 at 14:05 +: >> Author: kib >> Date: Tue Sep 1 14:05:29 2015 >> New Revision: 287366 >> URL: https://svnweb.freebsd.org/changeset/base/287366 >> >> Log: >> Exit notification for EVFILT_PR

svn commit: r287376 - head/sys/netpfil/pf

2015-09-01 Thread Kristof Provost
Author: kp Date: Tue Sep 1 19:04:04 2015 New Revision: 287376 URL: https://svnweb.freebsd.org/changeset/base/287376 Log: pf: Fix misdetection of forwarding when net.link.bridge.pfil_bridge is set If net.link.bridge.pfil_bridge is set we can end up thinking we're forwarding in pf_test6()

svn commit: r287378 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 21:18:33 2015 New Revision: 287378 URL: https://svnweb.freebsd.org/changeset/base/287378 Log: Remove `SYSRC_' prefix from $SYSRC_VERBOSE (prefix unnecessary since this is a non-inheritable attribute; was previously). MFC after:3 days X-MFC-to: sta

svn commit: r287379 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 21:19:45 2015 New Revision: 287379 URL: https://svnweb.freebsd.org/changeset/base/287379 Log: Style consistency: add single space before each `;;' case entry MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified: head

svn commit: r287380 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 21:20:43 2015 New Revision: 287380 URL: https://svnweb.freebsd.org/changeset/base/287380 Log: Style: comments MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified: head/usr.sbin/sysrc/sysrc ==

svn commit: r287381 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 21:40:04 2015 New Revision: 287381 URL: https://svnweb.freebsd.org/changeset/base/287381 Log: Properly escape arguments when moving into jail or chroot MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified: head/usr.s

svn commit: r287382 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 21:42:00 2015 New Revision: 287382 URL: https://svnweb.freebsd.org/changeset/base/287382 Log: Comment MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified: head/usr.sbin/sysrc/sysrc ==

svn commit: r287383 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 21:48:22 2015 New Revision: 287383 URL: https://svnweb.freebsd.org/changeset/base/287383 Log: Comment for escape() function. MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified: head/usr.sbin/sysrc/sysrc ===

svn commit: r287384 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 21:50:55 2015 New Revision: 287384 URL: https://svnweb.freebsd.org/changeset/base/287384 Log: Style: Remove whitespace around brackets from function syntax options MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified

svn commit: r287385 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 21:52:56 2015 New Revision: 287385 URL: https://svnweb.freebsd.org/changeset/base/287385 Log: Bump version for prior fix (SVN r287381) MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified: head/usr.sbin/sysrc/sysrc =

svn commit: r287386 - in head/sys: kern sys

2015-09-01 Thread John Baldwin
Author: jhb Date: Tue Sep 1 22:24:54 2015 New Revision: 287386 URL: https://svnweb.freebsd.org/changeset/base/287386 Log: Export current system call code and argument count for system call entry and exit events. procfs stop events for system call tracing report these values (argument count

svn commit: r287387 - head/sys/kern

2015-09-01 Thread John Baldwin
Author: jhb Date: Tue Sep 1 22:28:23 2015 New Revision: 287387 URL: https://svnweb.freebsd.org/changeset/base/287387 Log: The 'sa' argument to syscallret() is not unused. Modified: head/sys/kern/subr_syscall.c Modified: head/sys/kern/subr_syscall.c ==

svn commit: r287389 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 22:37:33 2015 New Revision: 287389 URL: https://svnweb.freebsd.org/changeset/base/287389 Log: Simplify long-option processing MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified: head/usr.sbin/sysrc/sysrc ==

svn commit: r287390 - head/usr.sbin/sysrc

2015-09-01 Thread Devin Teske
Author: dteske Date: Tue Sep 1 22:39:09 2015 New Revision: 287390 URL: https://svnweb.freebsd.org/changeset/base/287390 Log: Bump version for altered long-opts processing MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified: head/usr.sbin/sysrc/sy

Re: svn commit: r284598 - head/share/mk

2015-09-01 Thread Bryan Drewery
On 8/1/15 9:15 PM, Simon J. Gerraty wrote: > Bryan Drewery wrote: >>> > > head/share/mk/local.sys.mk >> > >> > I'm bothered by the amount of local.* files committed in the tree. I >> > expect, as a user and working in a downstream product, that a local.* >> > file is MINE, not FREEBSD. The patt

Re: svn commit: r287366 - head/sys/kern

2015-09-01 Thread Baptiste Daroussin
On Tue, Sep 01, 2015 at 02:05:30PM +, Konstantin Belousov wrote: > Author: kib > Date: Tue Sep 1 14:05:29 2015 > New Revision: 287366 > URL: https://svnweb.freebsd.org/changeset/base/287366 > > Log: > Exit notification for EVFILT_PROC removes knote from the knlist. In > particular, this