svn commit: r287204 - head/usr.bin/vi/catalog

2015-08-27 Thread Alexander Kabaev
Author: kan Date: Thu Aug 27 14:00:16 2015 New Revision: 287204 URL: https://svnweb.freebsd.org/changeset/base/287204 Log: Unbreak nvi message catalog generation for 8 bit locales. Feeding any file encoded in 8 bit locales such as KOI8-RU to sort utility running under UTF-8 locale

Re: svn commit: r287204 - head/usr.bin/vi/catalog

2015-08-27 Thread Baptiste Daroussin
On Thu, Aug 27, 2015 at 02:00:17PM +, Alexander Kabaev wrote: Author: kan Date: Thu Aug 27 14:00:16 2015 New Revision: 287204 URL: https://svnweb.freebsd.org/changeset/base/287204 Log: Unbreak nvi message catalog generation for 8 bit locales. Feeding any file encoded in 8 bit

svn commit: r287206 - head/sys/sys

2015-08-27 Thread Alexander Kabaev
Author: kan Date: Thu Aug 27 14:00:23 2015 New Revision: 287206 URL: https://svnweb.freebsd.org/changeset/base/287206 Log: Repair sys/cdefs.h enough to be usable with GCC 5.x The __alloc_size and __alloc_align need to be defined to nothingness for lint, but the existing check is

svn commit: r287205 - head/contrib/ncurses/ncurses/base

2015-08-27 Thread Alexander Kabaev
Author: kan Date: Thu Aug 27 14:00:20 2015 New Revision: 287205 URL: https://svnweb.freebsd.org/changeset/base/287205 Log: Make ncurses build with GCC 5.0 and up Merge the end result of two upstream changes: Original fix from 20141206: + modify MKlib_gen.sh to work around change

svn commit: r287203 - in stable/10: sbin/camcontrol sys/cam/scsi

2015-08-27 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 27 13:17:05 2015 New Revision: 287203 URL: https://svnweb.freebsd.org/changeset/base/287203 Log: MFC, r286965: r286965 | ken | 2015-08-20 10:07:51 -0600 (Thu, 20 Aug 2015) | 297 lines

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

2015-08-27 Thread Andrew Turner
Author: andrew Date: Thu Aug 27 13:08:45 2015 New Revision: 287202 URL: https://svnweb.freebsd.org/changeset/base/287202 Log: Allow us to select the transfer count. This allows us to work with hardware that seems to only work with a single block at a time. Sponsored by: ABT Systems Ltd

svn commit: r287211 - in head/sys: netinet netinet6

2015-08-27 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 27 15:27:41 2015 New Revision: 287211 URL: https://svnweb.freebsd.org/changeset/base/287211 Log: get_inpcbinfo() and get_pcblist() are UDP local functions and do not do what one would expect by name. Prefix them with udp_ to at least obviously limit the scope.

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

2015-08-27 Thread Konstantin Belousov
On Thu, Aug 27, 2015 at 06:28:03PM +0200, Julien Charbon wrote: Hi Konstantin, On 27/08/15 12:49, Konstantin Belousov wrote: On Wed, Aug 26, 2015 at 08:14:15PM +0200, Julien Charbon wrote: As I said, I am not opposed to back out this change, callout(9) API in mpsafe mode is a already

svn commit: r287217 - head/usr.sbin/syslogd

2015-08-27 Thread Xin LI
Author: delphij Date: Thu Aug 27 18:11:00 2015 New Revision: 287217 URL: https://svnweb.freebsd.org/changeset/base/287217 Log: die() would never return, mark it as so. MFC after:2 weeks Modified: head/usr.sbin/syslogd/syslogd.c Modified: head/usr.sbin/syslogd/syslogd.c

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

2015-08-27 Thread Andrew Turner
Author: andrew Date: Thu Aug 27 16:24:30 2015 New Revision: 287213 URL: https://svnweb.freebsd.org/changeset/base/287213 Log: Limit the speed to the bus frequency. Sponsored by: ABT Systems Ltd Modified: head/sys/dev/mmc/host/dwmmc.c Modified: head/sys/dev/mmc/host/dwmmc.c

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

2015-08-27 Thread Julien Charbon
Hi Konstantin, On 27/08/15 12:49, Konstantin Belousov wrote: On Wed, Aug 26, 2015 at 08:14:15PM +0200, Julien Charbon wrote: As I said, I am not opposed to back out this change, callout(9) API in mpsafe mode is a already complex/subtle API, it won't change too much the current complexity.

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

2015-08-27 Thread Andrew Turner
Author: andrew Date: Thu Aug 27 16:27:51 2015 New Revision: 287214 URL: https://svnweb.freebsd.org/changeset/base/287214 Log: There is no need to get the bus tag or handle. Sponsored by: ABT Systems Ltd Modified: head/sys/dev/mmc/host/dwmmc.c Modified: head/sys/dev/mmc/host/dwmmc.c

svn commit: r287208 - in head/kerberos5: . lib/libhdb

2015-08-27 Thread Hajimu UMEMOTO
Author: ume Date: Thu Aug 27 15:03:34 2015 New Revision: 287208 URL: https://svnweb.freebsd.org/changeset/base/287208 Log: Make it buildable with WITH_OPENLDAP, again. MFC after:1 week Modified: head/kerberos5/Makefile.inc head/kerberos5/lib/libhdb/Makefile Modified:

svn commit: r287209 - in head: share/man/man4 sys/compat/cloudabi sys/kern sys/sys usr.bin/procstat

2015-08-27 Thread Ed Schouten
Author: ed Date: Thu Aug 27 15:16:41 2015 New Revision: 287209 URL: https://svnweb.freebsd.org/changeset/base/287209 Log: Decompose linkat()/renameat() rights to source and target. To make it easier to understand how Capsicum interacts with linkat() and renameat(), rename the rights to

Re: svn commit: r287206 - head/sys/sys

2015-08-27 Thread Pedro Giffuni
Hello kan; On 08/27/15 09:00, Alexander Kabaev wrote: Author: kan Date: Thu Aug 27 14:00:23 2015 New Revision: 287206 URL: https://svnweb.freebsd.org/changeset/base/287206 Log: Repair sys/cdefs.h enough to be usable with GCC 5.x The __alloc_size and __alloc_align need to be defined to

svn commit: r287215 - stable/10/share/man/man9

2015-08-27 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 27 16:36:39 2015 New Revision: 287215 URL: https://svnweb.freebsd.org/changeset/base/287215 Log: MFC r286966: Add link for rw_unlock(9) to rwlock(9). Modified: stable/10/share/man/man9/Makefile Directory Properties: stable/10/ (props changed)

svn commit: r287210 - in stable: 10/release/doc/share/xml 9/release/doc/share/xml

2015-08-27 Thread Glen Barber
Author: gjb Date: Thu Aug 27 15:21:58 2015 New Revision: 287210 URL: https://svnweb.freebsd.org/changeset/base/287210 Log: Document SA-15:21, SA-15:22, EN-15:15. Sponsored by: The FreeBSD Foundation Modified: stable/9/release/doc/share/xml/errata.xml

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

2015-08-27 Thread Andrew Turner
Author: andrew Date: Thu Aug 27 16:18:22 2015 New Revision: 287212 URL: https://svnweb.freebsd.org/changeset/base/287212 Log: Allow the fifo-depth and num-slots to be missing. For the former we read the value from the hardware, for the latter assume a single slot. Sponsored by: ABT

svn commit: r287219 - head/sys/vm

2015-08-27 Thread Alan Cox
Author: alc Date: Thu Aug 27 20:38:45 2015 New Revision: 287219 URL: https://svnweb.freebsd.org/changeset/base/287219 Log: In vm_pageout_scan(), simplify the logic for determining if a page can be paged out and apply some nearby style fixes. In collaboration with:kib MFC after:

svn commit: r287220 - head/etc/rc.d

2015-08-27 Thread Peter Wemm
Author: peter Date: Thu Aug 27 20:52:41 2015 New Revision: 287220 URL: https://svnweb.freebsd.org/changeset/base/287220 Log: Fix a conversion error in rc.d/jail Modified: head/etc/rc.d/jail Modified: head/etc/rc.d/jail

svn commit: r287223 - stable/10/usr.bin/patch

2015-08-27 Thread Xin LI
Author: delphij Date: Thu Aug 27 21:52:09 2015 New Revision: 287223 URL: https://svnweb.freebsd.org/changeset/base/287223 Log: MFC r281800 (pfg): patch(1): small include changes. Mostly to match OpenBSD, no functional change. MFC r286601 + 286617: use posix_spawn(3) instead

svn commit: r287222 - in head: . sbin/pfctl share/man/man5 sys/net sys/netpfil/pf

2015-08-27 Thread Kristof Provost
'abort:false,junk:false' /etc/malloc.conf.) +20150827: + pf no longer supports 'scrub fragment crop' or 'scrub fragment drop-ovl' + These configurations are now automatically interpreted as + 'scrub fragment reassemble'. + 20150817: Kernel-loadable modules for the random(4

Re: svn commit: r287206 - head/sys/sys

2015-08-27 Thread Pedro Giffuni
On 08/27/15 12:41, Alexander Kabaev wrote: ... The existing conditional is not working for lint and I had to shuffle it under bigger '#ifdef lint' protection. And other BSDs are just getting rid of lint. I have no opinion on that though. ... Nor is the condition even well formed enough

Re: svn commit: r287206 - head/sys/sys

2015-08-27 Thread Pedro Giffuni
On 08/27/15 16:15, Pedro Giffuni wrote: ... ... The original change to cdefs.h appears to be plain wrong. Not really, it may appear some day. I take that back, there is something wrong: #ifndef __has_feature #define __has_feature(x) (0) #endif #if __has_attribute(alloc_size)

svn commit: r287225 - in head: share/man/man4 share/man/man9 sys/conf sys/dev/ow sys/modules sys/modules/ow sys/modules/ow/ow sys/modules/ow/ow_temp sys/modules/ow/owc

2015-08-27 Thread Warner Losh
Author: imp Date: Thu Aug 27 23:33:38 2015 New Revision: 287225 URL: https://svnweb.freebsd.org/changeset/base/287225 Log: New 1-Wire bus implementation. 1-Wire controller is abstracted, though only gpiobus configured via FDT is supported. Bus enumeration is supported. Devices are created

svn commit: r287224 - head/share/mk

2015-08-27 Thread Warner Losh
Author: imp Date: Thu Aug 27 22:42:02 2015 New Revision: 287224 URL: https://svnweb.freebsd.org/changeset/base/287224 Log: Document bsd.endian.mk. Modified: head/share/mk/bsd.README Modified: head/share/mk/bsd.README

svn commit: r287227 - in head: lib/libstand share/mk sys/boot/efi sys/boot/ficl sys/boot/i386 sys/boot/libstand32 sys/boot/pc98 sys/boot/userboot/ficl sys/boot/userboot/libstand sys/boot/zfs

2015-08-27 Thread Warner Losh
Author: imp Date: Thu Aug 27 23:46:42 2015 New Revision: 287227 URL: https://svnweb.freebsd.org/changeset/base/287227 Log: Use CFLAGS_NO_SIMD in preference to varying lists of -mno- flags. Go ahead and defined -D_STANDALONE for all targets (only strictly needed for some architecture,

svn commit: r287226 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2015-08-27 Thread Mark Johnston
Author: markj Date: Thu Aug 27 23:46:11 2015 New Revision: 287226 URL: https://svnweb.freebsd.org/changeset/base/287226 Log: MFC r286169: Perform bounds checking when constructing a format string. PR: 201657 Modified:

svn commit: r287228 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2015-08-27 Thread Mark Johnston
Author: markj Date: Thu Aug 27 23:46:45 2015 New Revision: 287228 URL: https://svnweb.freebsd.org/changeset/base/287228 Log: MFC r286169: Perform bounds checking when constructing a format string. PR: 201657 Modified:

svn commit: r287241 - head/gnu/usr.bin/binutils

2015-08-27 Thread Warner Losh
Author: imp Date: Fri Aug 28 04:32:43 2015 New Revision: 287241 URL: https://svnweb.freebsd.org/changeset/base/287241 Log: Add another .WAIT since sometimes we lose the race. Modified: head/gnu/usr.bin/binutils/Makefile Modified: head/gnu/usr.bin/binutils/Makefile

Re: svn commit: r287236 - head/bin/df

2015-08-27 Thread Alexey Dokuchaev
On Fri, Aug 28, 2015 at 12:44:59AM +, Xin LI wrote: New Revision: 287236 URL: https://svnweb.freebsd.org/changeset/base/287236 Log: Use exit() instead of return in main(). Because?.. ./danfe ___ svn-src-all@freebsd.org mailing list

svn commit: r287240 - in head/sys/powerpc: booke include

2015-08-27 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 28 03:03:09 2015 New Revision: 287240 URL: https://svnweb.freebsd.org/changeset/base/287240 Log: Extend pmap to support e500mc and e5500. As part of this, clean up tlb1_init(), since bootinfo is always NULL here just eliminate the loop altogether.

Re: svn commit: r287241 - head/gnu/usr.bin/binutils

2015-08-27 Thread Warner Losh
I have something I'm testing now, but it's tricky enough that I want to look at it again in the morning... Warner On Thu, Aug 27, 2015 at 10:59 PM, Alexey Dokuchaev da...@freebsd.org wrote: On Thu, Aug 27, 2015 at 10:48:00PM -0600, Warner Losh wrote: Yes. This fix was easy. That fix is a

svn commit: r287242 - head/sys/powerpc/powerpc

2015-08-27 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 28 05:20:31 2015 New Revision: 287242 URL: https://svnweb.freebsd.org/changeset/base/287242 Log: Fix text alignment. mcsr was indented one too many spaces. Modified: head/sys/powerpc/powerpc/trap.c Modified: head/sys/powerpc/powerpc/trap.c

svn commit: r287245 - in head/sys: net netinet netinet6

2015-08-27 Thread Adrian Chadd
Author: adrian Date: Fri Aug 28 05:58:16 2015 New Revision: 287245 URL: https://svnweb.freebsd.org/changeset/base/287245 Log: Replace the printf()s with optional rate limited debugging for RSS. Submitted by: Tiwei Bie b...@mail.ustc.edu.cn Differential Revision:

svn commit: r287238 - head/sys/dev/msk

2015-08-27 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 28 01:32:42 2015 New Revision: 287238 URL: https://svnweb.freebsd.org/changeset/base/287238 Log: Set DMA alignment constraint of status, TX and RX LEs(List Elements in Marvell terms) to 32768. 32768 looks overkill but it will ensure correct DMAed update. This

Re: svn commit: r287236 - head/bin/df

2015-08-27 Thread NGie Cooper
On Thu, Aug 27, 2015 at 9:43 PM, Alexey Dokuchaev da...@freebsd.org wrote: On Fri, Aug 28, 2015 at 12:44:59AM +, Xin LI wrote: New Revision: 287236 URL: https://svnweb.freebsd.org/changeset/base/287236 Log: Use exit() instead of return in main(). Because?.. Probably because of

svn commit: r287193 - head/usr.sbin/pkg

2015-08-27 Thread Xin LI
Author: delphij Date: Thu Aug 27 06:28:42 2015 New Revision: 287193 URL: https://svnweb.freebsd.org/changeset/base/287193 Log: Plug a possible memory leak. MFC after:2 weeks Modified: head/usr.sbin/pkg/dns_utils.c Modified: head/usr.sbin/pkg/dns_utils.c

svn commit: r287200 - head/sys/kern

2015-08-27 Thread Julien Charbon
Author: jch Date: Thu Aug 27 10:43:35 2015 New Revision: 287200 URL: https://svnweb.freebsd.org/changeset/base/287200 Log: Silent a compilation warning on callout_stop() Modified: head/sys/kern/kern_timeout.c Modified: head/sys/kern/kern_timeout.c

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

2015-08-27 Thread Konstantin Belousov
On Wed, Aug 26, 2015 at 08:14:15PM +0200, Julien Charbon wrote: As I said, I am not opposed to back out this change, callout(9) API in mpsafe mode is a already complex/subtle API, it won't change too much the current complexity. Let say that if nobody screams until Friday 8/28, I will put

svn commit: r287199 - in stable/10: lib/libc/sys sys/kern

2015-08-27 Thread Konstantin Belousov
Author: kib Date: Thu Aug 27 09:06:14 2015 New Revision: 287199 URL: https://svnweb.freebsd.org/changeset/base/287199 Log: MFC r286975: Remove the wrong asserts. Modified: stable/10/lib/libc/sys/procctl.2 stable/10/sys/kern/kern_procctl.c Directory Properties: stable/10/ (props

svn commit: r287195 - head/sys/netpfil/ipfw

2015-08-27 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Aug 27 07:53:58 2015 New Revision: 287195 URL: https://svnweb.freebsd.org/changeset/base/287195 Log: Fix packets/bytes accounting on i386. Spotted by: julian Modified: head/sys/netpfil/ipfw/ip_fw_private.h Modified: head/sys/netpfil/ipfw/ip_fw_private.h

svn commit: r287196 - head/sys/kern

2015-08-27 Thread Julien Charbon
Author: jch Date: Thu Aug 27 08:15:32 2015 New Revision: 287196 URL: https://svnweb.freebsd.org/changeset/base/287196 Log: In callout_stop(), if a callout is both pending and currently being serviced return 0 (fail) but it is applicable only mpsafe callouts. Thanks to hselasky for finding

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

2015-08-27 Thread Julien Charbon
Hi Hans, On 26/08/15 18:31, Julien Charbon wrote: On 26/08/15 09:25, Hans Petter Selasky wrote: On 08/18/15 12:15, Julien Charbon wrote: Author: jch Date: Tue Aug 18 10:15:09 2015 New Revision: 286880 URL: https://svnweb.freebsd.org/changeset/base/286880 Log: callout_stop() should

svn commit: r287197 - in head: etc etc/rc.d sys/dev/ath sys/dev/ath/ath_rate/sample sys/dev/bwi sys/dev/bwn sys/dev/if_ndis sys/dev/ipw sys/dev/iwi sys/dev/iwm sys/dev/iwn sys/dev/malo sys/dev/mwl ...

2015-08-27 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 27 08:56:39 2015 New Revision: 287197 URL: https://svnweb.freebsd.org/changeset/base/287197 Log: Replay r286410. Change KPI of how device drivers that provide wireless connectivity interact with the net80211 stack. Historical background: originally wireless

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

2015-08-27 Thread Hans Petter Selasky
Hi Julien, On 08/27/15 10:17, Julien Charbon wrote: Hi Hans, After checking the non-mpsafe callout cases, you are completely right, this test makes sense only in mpsafe callout case. Fixed in r287196: https://svnweb.freebsd.org/base?view=revisionrevision=287196 Thanks a lot for

svn commit: r287198 - head/sys/kern

2015-08-27 Thread Julien Charbon
Author: jch Date: Thu Aug 27 08:58:03 2015 New Revision: 287198 URL: https://svnweb.freebsd.org/changeset/base/287198 Log: In callout_stop(), do not forget to initialize not_running variable. Thanks to hselasky for noticing that. Differential Revision:

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

2015-08-27 Thread Julien Charbon
Hi Hans, On 26/08/15 20:31, Hans Petter Selasky wrote: On 08/26/15 20:14, Julien Charbon wrote: Let say that if nobody screams until Friday 8/28, I will put back r284245 and revert this change_and_ I will make this case clear in the man page. If you can update the manual page about

svn commit: r287232 - head/share/man/man9

2015-08-27 Thread Mark Johnston
Author: markj Date: Fri Aug 28 00:12:59 2015 New Revision: 287232 URL: https://svnweb.freebsd.org/changeset/base/287232 Log: nv.h lives in sys/ as of r279439. Modified: head/share/man/man9/nv.9 Modified: head/share/man/man9/nv.9

svn commit: r287233 - head/sys/amd64/amd64

2015-08-27 Thread Mark Johnston
Author: markj Date: Fri Aug 28 00:17:21 2015 New Revision: 287233 URL: https://svnweb.freebsd.org/changeset/base/287233 Log: Remove an unneeded instruction. MFC after:1 week Modified: head/sys/amd64/amd64/exception.S Modified: head/sys/amd64/amd64/exception.S

svn commit: r287234 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2015-08-27 Thread Mark Johnston
Author: markj Date: Fri Aug 28 00:38:18 2015 New Revision: 287234 URL: https://svnweb.freebsd.org/changeset/base/287234 Log: Re-apply r274569. It was reverted in r276848 since that appeared to fix some ctfmerge crashes that started to occur on i386 weeks after r274569 was committed. Some

svn commit: r287229 - stable/10/sys/ofed/include/linux

2015-08-27 Thread Mark Johnston
Author: markj Date: Thu Aug 27 23:52:53 2015 New Revision: 287229 URL: https://svnweb.freebsd.org/changeset/base/287229 Log: MFC r286418: ipv4_is_zeronet() and ipv4_is_loopback() expect an address in network order, but IN_ZERONET and IN_LOOPBACK expect it in host order. Modified:

svn commit: r287230 - stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace

2015-08-27 Thread Mark Johnston
Author: markj Date: Thu Aug 27 23:55:46 2015 New Revision: 287230 URL: https://svnweb.freebsd.org/changeset/base/287230 Log: MFC r286167: Avoid dereferencing curthread-td_proc-p_cred in DTrace probe context. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c

svn commit: r287231 - stable/10/sys/kern

2015-08-27 Thread Mark Johnston
Author: markj Date: Fri Aug 28 00:06:31 2015 New Revision: 287231 URL: https://svnweb.freebsd.org/changeset/base/287231 Log: MFC r285252: Fix an incorrect assertion in witness. Modified: stable/10/sys/kern/subr_witness.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r287235 - in head/sys: sys vm

2015-08-27 Thread Mark Johnston
Author: markj Date: Fri Aug 28 00:44:17 2015 New Revision: 287235 URL: https://svnweb.freebsd.org/changeset/base/287235 Log: Remove weighted page handling from vm_page_advise(). This was added in r51337 as part of the implementation of madvise(MADV_DONTNEED). Its objective was to ensure

svn commit: r287236 - head/bin/df

2015-08-27 Thread Xin LI
Author: delphij Date: Fri Aug 28 00:44:58 2015 New Revision: 287236 URL: https://svnweb.freebsd.org/changeset/base/287236 Log: Use exit() instead of return in main(). MFC after:2 weeks Modified: head/bin/df/df.c Modified: head/bin/df/df.c

svn commit: r287237 - head/bin/rm

2015-08-27 Thread Xin LI
Author: delphij Date: Fri Aug 28 00:49:30 2015 New Revision: 287237 URL: https://svnweb.freebsd.org/changeset/base/287237 Log: Respect locale settings. MFC after:2 weeks Modified: head/bin/rm/rm.c Modified: head/bin/rm/rm.c