svn commit: r270199 - head/tools/tools/vt/keymaps

2014-08-20 Thread Stefan Esser
Author: se Date: Wed Aug 20 07:46:28 2014 New Revision: 270199 URL: http://svnweb.freebsd.org/changeset/base/270199 Log: Fix further conversion errors found while testing the converted keymaps. MFC after:3 days Modified: head/tools/tools/vt/keymaps/convert-keymap.pl head/tools/tool

svn commit: r270200 - head/share/vt/keymaps

2014-08-20 Thread Stefan Esser
Author: se Date: Wed Aug 20 07:48:09 2014 New Revision: 270200 URL: http://svnweb.freebsd.org/changeset/base/270200 Log: Fix conversion errors leading to malformed keymap files. MFC after:3 days Modified: head/share/vt/keymaps/cz.kbd head/share/vt/keymaps/fr.dvorak.acc.kbd head/s

svn commit: r270201 - in head/sys: powerpc/include sys

2014-08-20 Thread Konstantin Belousov
Author: kib Date: Wed Aug 20 08:02:38 2014 New Revision: 270201 URL: http://svnweb.freebsd.org/changeset/base/270201 Log: Add arch-specific macro SFBUF_PHYS_DMAP(), which should translate the physical address of the page to direct map address, in case SFBUF_OPTIONAL_DIRECT_MAP returns true.

svn commit: r270202 - head/sys/amd64/include

2014-08-20 Thread Konstantin Belousov
Author: kib Date: Wed Aug 20 08:07:08 2014 New Revision: 270202 URL: http://svnweb.freebsd.org/changeset/base/270202 Log: Increase max number of physical segments on amd64 to 63. Eventually, the vmd_segs of the struct vm_domain should become bitset instead of long, to allow arbitrary comp

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

2014-08-20 Thread Konstantin Belousov
Author: kib Date: Wed Aug 20 08:13:03 2014 New Revision: 270203 URL: http://svnweb.freebsd.org/changeset/base/270203 Log: Correct the test for condition to suspend UFS filesystem during unmount. There is no need to suspend read-only filesystem, while we need suspension on modificable mount

svn commit: r270204 - head/sys/ufs/ufs

2014-08-20 Thread Konstantin Belousov
Author: kib Date: Wed Aug 20 08:15:23 2014 New Revision: 270204 URL: http://svnweb.freebsd.org/changeset/base/270204 Log: Do not busy the UFS mount point inside VOP_RENAME(). The kern_renameat() already starts write on the mp, which prevents parallel unmount from proceed. Busying mp after

Re: svn commit: r270201 - in head/sys: powerpc/include sys

2014-08-20 Thread Konstantin Belousov
On Wed, Aug 20, 2014 at 08:02:38AM +, Konstantin Belousov wrote: > Author: kib > Date: Wed Aug 20 08:02:38 2014 > New Revision: 270201 > URL: http://svnweb.freebsd.org/changeset/base/270201 > > Log: > Add arch-specific macro SFBUF_PHYS_DMAP(), which should translate the > physical address

svn commit: r270206 - head/sys/net80211

2014-08-20 Thread Adrian Chadd
Author: adrian Date: Wed Aug 20 09:10:03 2014 New Revision: 270206 URL: http://svnweb.freebsd.org/changeset/base/270206 Log: After much toying around with this AMRR initial rate stuff, I've decided that for 11n rates it's best to start (very) low and work our way up. So, from now on, th

svn commit: r270207 - head/sys/fs/autofs

2014-08-20 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Aug 20 13:46:51 2014 New Revision: 270207 URL: http://svnweb.freebsd.org/changeset/base/270207 Log: Rework ".." lookup; previous one failed to properly busy the mountpoint. Reviewed by: kib@ MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r270209 - head/sbin/mount

2014-08-20 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Aug 20 13:52:47 2014 New Revision: 270209 URL: http://svnweb.freebsd.org/changeset/base/270209 Log: Add description for the "automounted" mount flag. Reviewed by: emaste@ MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sbin/mount/mou

svn commit: r270210 - head/usr.sbin/autofs

2014-08-20 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Aug 20 13:54:27 2014 New Revision: 270210 URL: http://svnweb.freebsd.org/changeset/base/270210 Log: Remove useless - and buggy, it resulted in spurious warnings in logs - code. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/au

Re: svn commit: r265003 - head/secure/usr.sbin/sshd

2014-08-20 Thread Roger Pau Monné
On 27/04/14 07:28, Konstantin Belousov wrote: > Author: kib > Date: Sun Apr 27 05:28:14 2014 > New Revision: 265003 > URL: http://svnweb.freebsd.org/changeset/base/265003 > > Log: > Fix order of libthr and libc in the global dso list for sshd, by > explicitely linking main binary with -lpthrea

svn commit: r270212 - in head/sys: dev/pci ofed/include/linux

2014-08-20 Thread Roger Pau Monné
Author: royger Date: Wed Aug 20 14:57:20 2014 New Revision: 270212 URL: http://svnweb.freebsd.org/changeset/base/270212 Log: pci: make MSI(-X) enable and disable methods of the PCI bus Make the functions pci_disable_msi, pci_enable_msi and pci_enable_msix methods of the newbus PCI bus. Th

svn commit: r270215 - head/lib/libc/nameser

2014-08-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 20 14:58:25 2014 New Revision: 270215 URL: http://svnweb.freebsd.org/changeset/base/270215 Log: Add missing break. CID: 603368 Modified: head/lib/libc/nameser/ns_print.c Modified: head/lib/libc/nameser/ns_print.c ===

Re: svn commit: r265003 - head/secure/usr.sbin/sshd

2014-08-20 Thread Konstantin Belousov
On Wed, Aug 20, 2014 at 04:41:05PM +0200, Roger Pau Monn?? wrote: > On 27/04/14 07:28, Konstantin Belousov wrote: > > Author: kib > > Date: Sun Apr 27 05:28:14 2014 > > New Revision: 265003 > > URL: http://svnweb.freebsd.org/changeset/base/265003 > > > > Log: > > Fix order of libthr and libc in

Re: svn commit: r265003 - head/secure/usr.sbin/sshd

2014-08-20 Thread Roger Pau Monné
On 20/08/14 17:13, Konstantin Belousov wrote: > On Wed, Aug 20, 2014 at 04:41:05PM +0200, Roger Pau Monn?? wrote: >> On 27/04/14 07:28, Konstantin Belousov wrote: >>> Author: kib >>> Date: Sun Apr 27 05:28:14 2014 >>> New Revision: 265003 >>> URL: http://svnweb.freebsd.org/changeset/base/265003 >>>

Re: svn commit: r265003 - head/secure/usr.sbin/sshd

2014-08-20 Thread Bryan Drewery
On 8/20/2014 10:19 AM, Roger Pau Monné wrote: > On 20/08/14 17:13, Konstantin Belousov wrote: >> On Wed, Aug 20, 2014 at 04:41:05PM +0200, Roger Pau Monn?? wrote: >>> On 27/04/14 07:28, Konstantin Belousov wrote: Author: kib Date: Sun Apr 27 05:28:14 2014 New Revision: 265003 UR

Re: svn commit: r265003 - head/secure/usr.sbin/sshd

2014-08-20 Thread Roger Pau Monné
On 20/08/14 17:28, Bryan Drewery wrote: > On 8/20/2014 10:19 AM, Roger Pau Monné wrote: >> On 20/08/14 17:13, Konstantin Belousov wrote: >>> On Wed, Aug 20, 2014 at 04:41:05PM +0200, Roger Pau Monn?? wrote: On 27/04/14 07:28, Konstantin Belousov wrote: > Author: kib > Date: Sun Apr 27

svn commit: r270216 - head/gnu/lib/libgcc

2014-08-20 Thread Garrett Cooper
Author: ngie Date: Wed Aug 20 15:43:26 2014 New Revision: 270216 URL: http://svnweb.freebsd.org/changeset/base/270216 Log: Add ${LIBC} to DPADD to fix "make checkdpadd" Phabric: D632 Approved by: jmmv (mentor) MFC after: 2 weeks Modified: head/gnu/lib/libgcc/Makefile Modified: head/

svn commit: r270221 - head/sys/security/audit

2014-08-20 Thread Davide Italiano
Author: davide Date: Wed Aug 20 16:04:30 2014 New Revision: 270221 URL: http://svnweb.freebsd.org/changeset/base/270221 Log: Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. This is (yet another) step towards the removal of device cloning from our kernel. CR: https://reviews

svn commit: r270222 - head/sys/sys

2014-08-20 Thread John Baldwin
Author: jhb Date: Wed Aug 20 16:05:15 2014 New Revision: 270222 URL: http://svnweb.freebsd.org/changeset/base/270222 Log: Bump the default size of cpuset_t masks in userland from 128 bits to 256. This should not be an ABI change since the various public APIs that use cpusets all include a

svn commit: r270223 - head/sys/amd64/include

2014-08-20 Thread John Baldwin
Author: jhb Date: Wed Aug 20 16:06:24 2014 New Revision: 270223 URL: http://svnweb.freebsd.org/changeset/base/270223 Log: Bump MAXCPU on amd64 from 64 to 256. In practice APIC only permits 255 CPUs (IDs 0 through 254). Getting above that limit requires x2APIC. MFC after:1 month Mod

svn commit: r270224 - in head/sys: amd64/conf dev/si i386/conf

2014-08-20 Thread John Baldwin
Author: jhb Date: Wed Aug 20 16:07:17 2014 New Revision: 270224 URL: http://svnweb.freebsd.org/changeset/base/270224 Log: Fix build of si(4) and enable it in LINT on amd64 and i386. Modified: head/sys/amd64/conf/NOTES head/sys/dev/si/si.c head/sys/i386/conf/NOTES Modified: head/sys/amd64

svn commit: r270225 - head/sys/cam/scsi

2014-08-20 Thread John Baldwin
Author: jhb Date: Wed Aug 20 16:07:56 2014 New Revision: 270225 URL: http://svnweb.freebsd.org/changeset/base/270225 Log: Unexpand TAILQ_FOREACH(). Modified: head/sys/cam/scsi/scsi_low.c Modified: head/sys/cam/scsi/scsi_low.c ==

svn commit: r270226 - in head/sys/modules: . si wds wl

2014-08-20 Thread John Baldwin
Author: jhb Date: Wed Aug 20 16:09:05 2014 New Revision: 270226 URL: http://svnweb.freebsd.org/changeset/base/270226 Log: Add kernel modules for si(4), wds(4), and wl(4). Added: head/sys/modules/si/ head/sys/modules/si/Makefile (contents, props changed) head/sys/modules/wds/ head/sys/

svn commit: r270227 - head/sys/sys

2014-08-20 Thread Davide Italiano
Author: davide Date: Wed Aug 20 16:32:02 2014 New Revision: 270227 URL: http://svnweb.freebsd.org/changeset/base/270227 Log: Make Bruce happy removing the "LL abomination" from time.h It's not necessary in all the three instances because they already have the correct type on all the supporte

svn commit: r270228 - head/tests/sys/kern

2014-08-20 Thread Alan Somers
Author: asomers Date: Wed Aug 20 16:59:33 2014 New Revision: 270228 URL: http://svnweb.freebsd.org/changeset/base/270228 Log: Numerous small fixes, mostly suggested by Coverity. tests/sys/kern/unix_seqpacket_test.c * Remove a duplicate error check in mk_pair_of_sockets * Alw

svn commit: r270229 - head/share/vt/keymaps

2014-08-20 Thread Stefan Esser
Author: se Date: Wed Aug 20 17:00:47 2014 New Revision: 270229 URL: http://svnweb.freebsd.org/changeset/base/270229 Log: Another rpund of fixes, after checking keymaps for plausibility and with several updates to the converter tools. There is now support for hybrid source keymaps, which e.g.

svn commit: r270230 - head/sys/arm/ti

2014-08-20 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 20 17:02:37 2014 New Revision: 270230 URL: http://svnweb.freebsd.org/changeset/base/270230 Log: Rewrite of ti_i2c based on gonzo's patch, fix the following bugs/problems: . interrupt storm detected on "intr70:"; throttling interrupt source; . Added access

svn commit: r270231 - head/sbin/devd/tests

2014-08-20 Thread Alan Somers
Author: asomers Date: Wed Aug 20 17:04:49 2014 New Revision: 270231 URL: http://svnweb.freebsd.org/changeset/base/270231 Log: Misc fixes suggested by Coverity. sbin/devd/tests/client_test.c * In the event that popen fails, don't dereference its return value. * Fix array over

svn commit: r270232 - head/tools/tools/vt/keymaps

2014-08-20 Thread Stefan Esser
Author: se Date: Wed Aug 20 17:07:41 2014 New Revision: 270232 URL: http://svnweb.freebsd.org/changeset/base/270232 Log: The conversion tools have been further improved and some erroneous conversions have been detected and fixed. It is now possible to add options after the encoding in the

svn commit: r270234 - head/usr.sbin/route6d

2014-08-20 Thread Hiroki Sato
Author: hrs Date: Wed Aug 20 17:27:15 2014 New Revision: 270234 URL: http://svnweb.freebsd.org/changeset/base/270234 Log: Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index where a RIP packet was received. This fixes a bug which prevented gateway addresses in fe80

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

2014-08-20 Thread Davide Italiano
On Wed, Aug 20, 2014 at 9:32 AM, Davide Italiano wrote: > Author: davide > Date: Wed Aug 20 16:32:02 2014 > New Revision: 270227 > URL: http://svnweb.freebsd.org/changeset/base/270227 > > Log: > Make Bruce happy removing the "LL abomination" from time.h > It's not necessary in all the three in

svn commit: r270239 - in head/sys/cddl/contrib/opensolaris/uts/common: dtrace os sys

2014-08-20 Thread Xin LI
Author: delphij Date: Wed Aug 20 18:29:18 2014 New Revision: 270239 URL: http://svnweb.freebsd.org/changeset/base/270239 Log: MFV r270193: Illumos issues: 5042 stop using deprecated atomic functions MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/d

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

2014-08-20 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/20/14 09:32, Davide Italiano wrote: > Author: davide Date: Wed Aug 20 16:32:02 2014 New Revision: 270227 > URL: http://svnweb.freebsd.org/changeset/base/270227 > > Log: Make Bruce happy removing the "LL abomination" from time.h > It's not ne

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

2014-08-20 Thread Davide Italiano
On Wed, Aug 20, 2014 at 12:42 PM, Xin Li wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 08/20/14 09:32, Davide Italiano wrote: >> Author: davide Date: Wed Aug 20 16:32:02 2014 New Revision: 270227 >> URL: http://svnweb.freebsd.org/changeset/base/270227 >> >> Log: Make Bruce happ

svn commit: r270246 - head/bin/sh

2014-08-20 Thread Jilles Tjoelker
Author: jilles Date: Wed Aug 20 20:15:43 2014 New Revision: 270246 URL: http://svnweb.freebsd.org/changeset/base/270246 Log: sh: Remove two redundant (uintmax_t) casts. Submitted by: jmallett Modified: head/bin/sh/arith_yacc.c Modified: head/bin/sh/arith_yacc.c =

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

2014-08-20 Thread Bruce Evans
On Wed, 20 Aug 2014, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/20/14 09:32, Davide Italiano wrote: Author: davide Date: Wed Aug 20 16:32:02 2014 New Revision: 270227 URL: http://svnweb.freebsd.org/changeset/base/270227 Log: Make Bruce happy removing the "LL abominati

svn commit: r270247 - in head/sys/cddl/contrib/opensolaris/uts: common/dtrace common/fs/zfs common/fs/zfs/sys common/os sparc/dtrace

2014-08-20 Thread Xin LI
Author: delphij Date: Wed Aug 20 21:44:48 2014 New Revision: 270247 URL: http://svnweb.freebsd.org/changeset/base/270247 Log: MFC r270195: Illumos issue: 5045 use atomic_{inc,dec}_* instead of atomic_add_* MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/c

svn commit: r270248 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-08-20 Thread Xin LI
Author: delphij Date: Wed Aug 20 22:39:26 2014 New Revision: 270248 URL: http://svnweb.freebsd.org/changeset/base/270248 Log: MFV r270196: Illumos issue: 5047 don't use atomic_*_nv if you discard the return value MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolari

svn commit: r270249 - head/sys/cam/ata

2014-08-20 Thread Warner Losh
Author: imp Date: Wed Aug 20 22:58:12 2014 New Revision: 270249 URL: http://svnweb.freebsd.org/changeset/base/270249 Log: Turns out that IDENTIFY DEVICE and IDENTIFY PACKET DEVICE return data that's only mostly similar. Specifically word 78 bits are defined for IDENTIFY DEVICE as 5 S

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

2014-08-20 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 20 23:29:34 2014 New Revision: 270251 URL: http://svnweb.freebsd.org/changeset/base/270251 Log: Fix return type of callout_init_rm() and add return type to callout_deactivate(). PR: 192520 Submitted by: yaneurabeya gmail com MFC after:3 days

svn commit: r270253 - head/sys/dev/netmap

2014-08-20 Thread Navdeep Parhar
Author: np Date: Wed Aug 20 23:37:44 2014 New Revision: 270253 URL: http://svnweb.freebsd.org/changeset/base/270253 Log: Change netmap's global lock to sx instead of a mutex. Reviewed by: luigi@ MFC after:1 day Modified: head/sys/dev/netmap/netmap_kern.h Modified: head/sys/dev/ne

svn commit: r270254 - head/sys/dev/ep

2014-08-20 Thread Adrian Chadd
Author: adrian Date: Thu Aug 21 00:57:32 2014 New Revision: 270254 URL: http://svnweb.freebsd.org/changeset/base/270254 Log: Add missing locking. Whilst here, assert that the lock is held when calling epstop(). Tested: ep0: <3com Megahertz 574B> Modified: head/sys/dev/ep/if_ep.

Re: svn commit: r270254 - head/sys/dev/ep

2014-08-20 Thread Adrian Chadd
Also, I have no plans to MFC this, but it likely should be. So if you're .. bored, please feel free to MFC this as appropriate. -a On 20 August 2014 17:57, Adrian Chadd wrote: > Author: adrian > Date: Thu Aug 21 00:57:32 2014 > New Revision: 270254 > URL: http://svnweb.freebsd.org/changeset/b

svn commit: r270256 - in head: bin/ed libexec/rtld-elf usr.bin/mail

2014-08-20 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 21 02:40:33 2014 New Revision: 270256 URL: http://svnweb.freebsd.org/changeset/base/270256 Log: Always check the limits of array index variables before using them. Obtained from:DragonFlyBSD MFC after:1 week Modified: head/bin/ed/cbc.c head/libex

Re: svn commit: r270229 - head/share/vt/keymaps

2014-08-20 Thread TAKAHASHI Yoshihiro
In article <201408201700.s7kh0lrh005...@svn.freebsd.org> Stefan Esser writes: > Log: > Another rpund of fixes, after checking keymaps for plausibility and with > several updates to the converter tools. There is now support for hybrid > source keymaps, which e.g. use ISO8859-1 (not -15) but

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

2014-08-20 Thread Bruce Evans
On Thu, 21 Aug 2014, Bruce Evans wrote: On Wed, 20 Aug 2014, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/20/14 09:32, Davide Italiano wrote: Author: davide Date: Wed Aug 20 16:32:02 2014 New Revision: 270227 URL: http://svnweb.freebsd.org/changeset/base/270227 Log: M

Re: svn commit: r254627 - in head: bin/chflags bin/ls lib/libc/gen lib/libc/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/msdosfs sys/fs/smbfs sys/sys sys/ufs/ufs

2014-08-20 Thread Bruce Evans
[My mail connection wasn't working back in June when I wrote this. This is the first of many replies to try to prevent breakage of mv. I have now checked what happens for simple tests on ref11. Details in later replies.] On Sat, 28 Jun 2014, Bruce Evans wrote: On Fri, 27 Jun 2014, Kenneth D.

Re: svn commit: r267977 - head/bin/mv

2014-08-20 Thread Bruce Evans
[My mail connection wasn't working back in June when I wrote this. This is the first of many replies to try to prevent breakage of mv. I have now checked what happens for simple tests on ref11. Details in later replies.] On Sat, 28 Jun 2014, Bruce Evans wrote: On Sat, 28 Jun 2014, Jilles Tjo

Re: svn commit: r268129 - head/bin/mv

2014-08-20 Thread Bruce Evans
[My mail connection wasn't working back in June when I wrote this. This is the last of many old replies to try to prevent breakage of mv. The second of the old replies was labeled as the first again. This reply adds new details] On Wed, 2 Jul 2014, Bruce Evans wrote: On Tue, 1 Jul 2014, Xin