svn commit: r245547 - head/share/man/man5

2013-01-17 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jan 17 09:34:00 2013 New Revision: 245547 URL: http://svnweb.freebsd.org/changeset/base/245547 Log: Regen after adding WITH_OPENSSH_NONE_CIPHER in r245527. PR: bin/163095 MFC after:10 days Modified: head/share/man/man5/src.conf.5 Modified: head/share

svn commit: r245548 - in head/sys: conf libkern/arm

2013-01-17 Thread Andrew Turner
Author: andrew Date: Thu Jan 17 09:37:42 2013 New Revision: 245548 URL: http://svnweb.freebsd.org/changeset/base/245548 Log: Add the required __aeabi_* functions the kernel uses when built for ARM EABI Added: head/sys/libkern/arm/ldivmod.S (contents, props changed) head/sys/libkern/arm/ld

Re: svn commit: r245525 - head/etc/rc.d

2013-01-17 Thread Gleb Smirnoff
On Thu, Jan 17, 2013 at 11:07:23AM +0900, Hiroki Sato wrote: H> bz> Author: bz H> bz> Date: Thu Jan 17 01:27:39 2013 H> bz> New Revision: 245525 H> bz> URL: http://svnweb.freebsd.org/changeset/base/245525 H> bz> H> bz> Log: H> bz> Add a conditional sleep 1 in case we add any IPv6 addresses to in

svn commit: r245549 - head/sys/arm/arm

2013-01-17 Thread Andrew Turner
Author: andrew Date: Thu Jan 17 09:47:56 2013 New Revision: 245549 URL: http://svnweb.freebsd.org/changeset/base/245549 Log: Implement stack unwinding based on section 9 of the "Exception handling ABI for the ARM architecture" documentation. The unwind tables are currently not stored in the

svn commit: r245551 - in head/sys/arm: arm include

2013-01-17 Thread Andrew Turner
Author: andrew Date: Thu Jan 17 09:52:35 2013 New Revision: 245551 URL: http://svnweb.freebsd.org/changeset/base/245551 Log: * Correct KINFO_PROC_SIZE for ARM EABI. * Update the syscall interface to pass in the syscall value in register r7. Modified: head/sys/arm/arm/trap.c head/sys/arm/i

Re: svn commit: r245525 - head/etc/rc.d

2013-01-17 Thread Bjoern A. Zeeb
On Thu, 17 Jan 2013, Gleb Smirnoff wrote: On Thu, Jan 17, 2013 at 11:07:23AM +0900, Hiroki Sato wrote: H> bz> Author: bz H> bz> Date: Thu Jan 17 01:27:39 2013 H> bz> New Revision: 245525 H> bz> URL: http://svnweb.freebsd.org/changeset/base/245525 H> bz> H> bz> Log: H> bz> Add a conditional sle

Re: svn commit: r245458 - head/lib/libc/sys

2013-01-17 Thread Andrey Zonov
On 1/17/13 2:54 AM, Eitan Adler wrote: > On 15 January 2013 09:09, Andrey Zonov wrote: >> -.Va errno >> -is set to indicate an error. > > ISTR that this is not shown in the -std text. Can this be retained? > This is what I see on my machine for man 2 chroot: RETURN VALUES Upon successful

Re: svn commit: r245458 - head/lib/libc/sys

2013-01-17 Thread Eitan Adler
On 17 January 2013 08:24, Andrey Zonov wrote: > On 1/17/13 2:54 AM, Eitan Adler wrote: >> On 15 January 2013 09:09, Andrey Zonov wrote: >>> -.Va errno >>> -is set to indicate an error. >> >> ISTR that this is not shown in the -std text. Can this be retained? >> > > This is what I see on my machi

svn commit: r245554 - head/sys/dev/ath

2013-01-17 Thread Adrian Chadd
Author: adrian Date: Thu Jan 17 16:26:40 2013 New Revision: 245554 URL: http://svnweb.freebsd.org/changeset/base/245554 Log: Add a quick work-around if ath_beacon_config() to not die if it's called when an interface is going down. Right now it's quite possible (but very unlikely!) that at

svn commit: r245556 - head/sys/dev/ath

2013-01-17 Thread Adrian Chadd
Author: adrian Date: Thu Jan 17 16:43:59 2013 New Revision: 245556 URL: http://svnweb.freebsd.org/changeset/base/245556 Log: Fix hangs (exposed by spectral scan activity) in STA mode when the chip hangs. * Always do a reset in ath_bmiss_proc(), regardless of whether the hardware is "h

svn commit: r245560 - head/tools/tools/ath/athalq

2013-01-17 Thread Adrian Chadd
Author: adrian Date: Thu Jan 17 17:12:44 2013 New Revision: 245560 URL: http://svnweb.freebsd.org/changeset/base/245560 Log: Add extra debugging fields. Modified: head/tools/tools/ath/athalq/ar5212_ds.c head/tools/tools/ath/athalq/ar5416_ds.c Modified: head/tools/tools/ath/athalq/ar5212_ds

svn commit: r245561 - in head: . cddl/lib/libdtrace share/mk

2013-01-17 Thread Brooks Davis
Author: brooks Date: Thu Jan 17 17:27:10 2013 New Revision: 245561 URL: http://svnweb.freebsd.org/changeset/base/245561 Log: Add a new LIBRARIES_ONLY make variable to disable the build and install of files other than the actual libraries. Use LIBRARIES_ONLY to supress the inclusion of fil

svn commit: r245562 - head/share/misc

2013-01-17 Thread Ian Lepore
Author: ian Date: Thu Jan 17 18:00:19 2013 New Revision: 245562 URL: http://svnweb.freebsd.org/changeset/base/245562 Log: Add myself as a committer, and my mentor relationship. Approved by: cognet (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committer

svn commit: r245563 - head

2013-01-17 Thread Brooks Davis
Author: brooks Date: Thu Jan 17 18:26:56 2013 New Revision: 245563 URL: http://svnweb.freebsd.org/changeset/base/245563 Log: Correct the distrib-dirs target in the -DDB_FROM_SRC case. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

svn commit: r245565 - in head: . etc

2013-01-17 Thread Brooks Davis
Author: brooks Date: Thu Jan 17 18:32:30 2013 New Revision: 245565 URL: http://svnweb.freebsd.org/changeset/base/245565 Log: Rework the mtree portion of etc/Makefile's distrib-dirs target to run mtree in a shell loop so there is only one mtree commandline. Move the implementation of LOCAL_M

Re: svn commit: r245494 - head/bin/pwait

2013-01-17 Thread John Baldwin
On Wednesday, January 16, 2013 2:15:00 pm Eitan Adler wrote: > On 16 January 2013 13:11, Xin Li wrote: > > > Yes I did. Using exit(3) tells clang that this is the final exit and > > thus eliminates the warning. > > > > It sounds like a bug (or arguably a feature) that clang does not > > recogniz

Re: svn commit: r245506 - head/bin/pwait

2013-01-17 Thread John Baldwin
On Wednesday, January 16, 2013 10:40:51 pm Eitan Adler wrote: > On 16 January 2013 21:25, Bruce Evans wrote: > > This uses the sysexits mistake. style(9) was fixed to not give an example > > of this mistake. Before this, sysexits was used a whole once in pwait(1) > > (for EX_USAGE) in usage().

Re: svn commit: r245494 - head/bin/pwait

2013-01-17 Thread John Baldwin
On Wednesday, January 16, 2013 4:36:30 pm Xin Li wrote: > On 01/16/13 08:11, John Baldwin wrote: > > On Wednesday, January 16, 2013 1:49:40 am Xin LI wrote: > >> This doesn't seem right -- you should never release memory before > >> exit, especially for memory allocated in main(), unless this > >>

svn commit: r245566 - head/sys/fs/nfsclient

2013-01-17 Thread John Baldwin
Author: jhb Date: Thu Jan 17 18:45:20 2013 New Revision: 245566 URL: http://svnweb.freebsd.org/changeset/base/245566 Log: Remove a no-longer-used variable after the previous change to use VA_UTIMES_NULL. Submitted by: bde, rmacklem MFC after:1 week Modified: head/sys/fs/nfsclient

Re: svn commit: r245494 - head/bin/pwait

2013-01-17 Thread Eitan Adler
On 17 January 2013 10:35, John Baldwin wrote: > No, it is clearly a bug. It is a waste of time and adds obfuscation (and > runtime overhead) to go free a bunch of stuff just before a return() from > main(). It is by-design according to the clang folks. They have expressed in interest in offerin

svn commit: r245567 - head/sys/dev/cxgbe

2013-01-17 Thread Navdeep Parhar
Author: np Date: Thu Jan 17 18:52:49 2013 New Revision: 245567 URL: http://svnweb.freebsd.org/changeset/base/245567 Log: cxgbe: Make the for_each macros safer to use by turning them into a single statement each. Submitted by: Christoph Mallon MFC after:1 week Modified: head/sys/

svn commit: r245568 - head/sys/nfs

2013-01-17 Thread John Baldwin
Author: jhb Date: Thu Jan 17 19:03:24 2013 New Revision: 245568 URL: http://svnweb.freebsd.org/changeset/base/245568 Log: Remove the unused nfs_curusec(). Modified: head/sys/nfs/nfs_common.c head/sys/nfs/nfs_common.h Modified: head/sys/nfs/nfs_common.c =

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

2013-01-17 Thread Luigi Rizzo
Author: luigi Date: Thu Jan 17 19:27:12 2013 New Revision: 245570 URL: http://svnweb.freebsd.org/changeset/base/245570 Log: remove an incorrect comment and debugging code Modified: head/sys/dev/netmap/ixgbe_netmap.h Modified: head/sys/dev/netmap/ixgbe_netmap.h ===

svn commit: r245571 - head/etc

2013-01-17 Thread Brooks Davis
Author: brooks Date: Thu Jan 17 20:21:30 2013 New Revision: 245571 URL: http://svnweb.freebsd.org/changeset/base/245571 Log: In preparation for logging metadata about each filesystem object refactor the link section of distrib-dirs to alwasy install to a full path (the link contents remain r

Re: svn commit: r245506 - head/bin/pwait

2013-01-17 Thread Pawel Jakub Dawidek
On Thu, Jan 17, 2013 at 10:50:07AM -0500, John Baldwin wrote: > On Wednesday, January 16, 2013 10:40:51 pm Eitan Adler wrote: > > On 16 January 2013 21:25, Bruce Evans wrote: > > > This uses the sysexits mistake. style(9) was fixed to not give an example > > > of this mistake. Before this, sysex

Re: svn commit: r245506 - head/bin/pwait

2013-01-17 Thread Eitan Adler
On 17 January 2013 10:50, John Baldwin wrote: > Eh, I think bde@ has quite a bit more experience with this than you. No doubt. > is not part of POSIX or any other standard. It's comments > reference delivermail (the predecessor to sendmail). Looking at its history, ... Understood. I have fo

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

2013-01-17 Thread Christian S.J. Peron
Author: csjp Date: Thu Jan 17 21:02:53 2013 New Revision: 245573 URL: http://svnweb.freebsd.org/changeset/base/245573 Log: Implement the zonename token for jailed processes. If a process has an auditid/preselection masks specified, and is jailed, include the zonename (jailname) token as a

Re: svn commit: r245568 - head/sys/nfs

2013-01-17 Thread John Baldwin
On Thursday, January 17, 2013 2:03:24 pm John Baldwin wrote: > Author: jhb > Date: Thu Jan 17 19:03:24 2013 > New Revision: 245568 > URL: http://svnweb.freebsd.org/changeset/base/245568 > > Log: > Remove the unused nfs_curusec(). > > Modified: > head/sys/nfs/nfs_common.c > head/sys/nfs/nfs_

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

2013-01-17 Thread Andre Oppermann
Author: andre Date: Thu Jan 17 21:28:31 2013 New Revision: 245575 URL: http://svnweb.freebsd.org/changeset/base/245575 Log: Move the mbuf memory limit calculations from init_param2() to tunable_mbinit() where it is next to where it is used later. Change the sysinit level of tunable_mbinit

svn commit: r245577 - in head/sys: amd64/amd64 i386/i386 x86/x86

2013-01-17 Thread John Baldwin
Author: jhb Date: Thu Jan 17 21:32:25 2013 New Revision: 245577 URL: http://svnweb.freebsd.org/changeset/base/245577 Log: Don't attempt to use clflush on the local APIC register window. Various CPUs exhibit bad behavior if this is done (Intel Errata AAJ3, hangs on Pentium-M, and trashing of

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

2013-01-17 Thread Luigi Rizzo
Author: luigi Date: Thu Jan 17 22:14:58 2013 New Revision: 245579 URL: http://svnweb.freebsd.org/changeset/base/245579 Log: add some definition and driver changes in preparation for two upcoming features: semi-transparent mode: when a device is opened in this mode, the user pr

svn commit: r245580 - head/etc

2013-01-17 Thread Brooks Davis
Author: brooks Date: Thu Jan 17 23:05:03 2013 New Revision: 245580 URL: http://svnweb.freebsd.org/changeset/base/245580 Log: In r245571, "rm -rf ; ln -s " needed to be replaced with "ln -sfh " or the links would fail when a valid link to a directly was in place at . Reported by: pete

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

2013-01-17 Thread Luigi Rizzo
Author: luigi Date: Thu Jan 17 23:14:17 2013 New Revision: 245581 URL: http://svnweb.freebsd.org/changeset/base/245581 Log: remove the old memory allocator, not useful anymore Deleted: head/sys/dev/netmap/netmap_mem1.c ___ svn-src-head@freebsd.org m

svn commit: r245584 - head/usr.sbin/watchdogd

2013-01-17 Thread Alfred Perlstein
Author: alfred Date: Fri Jan 18 02:36:06 2013 New Revision: 245584 URL: http://svnweb.freebsd.org/changeset/base/245584 Log: Spelling: exitting -> exiting MFC after:2 weeks Modified: head/usr.sbin/watchdogd/watchdogd.c Modified: head/usr.sbin/watchdogd/watchdogd.c ==

Re: svn commit: r245577 - in head/sys: amd64/amd64 i386/i386 x86/x86

2013-01-17 Thread Konstantin Belousov
On Thu, Jan 17, 2013 at 09:32:26PM +, John Baldwin wrote: > Author: jhb > Date: Thu Jan 17 21:32:25 2013 > New Revision: 245577 > URL: http://svnweb.freebsd.org/changeset/base/245577 > > Log: > Don't attempt to use clflush on the local APIC register window. Various > CPUs exhibit bad beha

Re: svn commit: r245506 - head/bin/pwait

2013-01-17 Thread Bruce Evans
On Thu, 17 Jan 2013, Pawel Jakub Dawidek wrote: On Thu, Jan 17, 2013 at 10:50:07AM -0500, John Baldwin wrote: On Wednesday, January 16, 2013 10:40:51 pm Eitan Adler wrote: On 16 January 2013 21:25, Bruce Evans wrote: This uses the sysexits mistake. style(9) was fixed to not give an example

Re: svn commit: r245506 - head/bin/pwait

2013-01-17 Thread Bruce Evans
On Fri, 18 Jan 2013, Bruce Evans wrote: The orignal BSD style guide (/usr/src/admin/style/style) actually says not to use [non-arbitrary] sequential values to indicate all exit points: ... but was changed in FreeBSD to say something quite different: ... and then was changed to say something even