svn commit: r221830 - head/lib/libfetch

2011-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Fri May 13 07:21:41 2011 New Revision: 221830 URL: http://svn.freebsd.org/changeset/base/221830 Log: Mark all socket and file descriptors close-on-exec. PR: bin/151866 MFC after:3 weeks Modified: head/lib/libfetch/common.c head/lib/libfetch/file.c Mod

svn commit: r221831 - stable/8/sys/netinet/ipfw

2011-05-13 Thread Andrey V. Elsukov
Author: ae Date: Fri May 13 09:52:04 2011 New Revision: 221831 URL: http://svn.freebsd.org/changeset/base/221831 Log: MFC r221521: Convert delay parameter back to ms when reporting to user. PR: 156838 Modified: stable/8/sys/netinet/ipfw/ip_dn_glue.c stable/8/sys/netinet/i

svn commit: r221832 - head/usr.bin/mkuzip

2011-05-13 Thread Ruslan Ermilov
Author: ru Date: Fri May 13 09:55:48 2011 New Revision: 221832 URL: http://svn.freebsd.org/changeset/base/221832 Log: Fixed an embedded shell script. Reviewed by: sobomax Modified: head/usr.bin/mkuzip/mkuzip.c Modified: head/usr.bin/mkuzip/mkuzip.c =

svn commit: r221833 - head/sys/dev/ath/ath_hal/ar9002

2011-05-13 Thread Adrian Chadd
Author: adrian Date: Fri May 13 09:57:12 2011 New Revision: 221833 URL: http://svn.freebsd.org/changeset/base/221833 Log: Some diversity changes relating to AR9285. * grab the main, alt and selected LNA config * add some optional / disabled logging code * add a check to reject packets w

svn commit: r221834 - in head/sys/dev/ath/ath_hal: ar5416 ar9002

2011-05-13 Thread Adrian Chadd
Author: adrian Date: Fri May 13 10:36:38 2011 New Revision: 221834 URL: http://svn.freebsd.org/changeset/base/221834 Log: Remove duplicate code - add a function which calculates the ratesArray[] table which contains the per-rate target TX power. This code is shared between the v14 eeprom

svn commit: r221835 - in head/sys: i386/i386 i386/xen kern

2011-05-13 Thread Alexander Motin
Author: mav Date: Fri May 13 12:39:37 2011 New Revision: 221835 URL: http://svn.freebsd.org/changeset/base/221835 Log: Refactor Xen PV code to use new event timers subsystem. That uses one-shot Xen timer and time counter to provide one-shot and periodic time events. On my tests this reduc

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-13 Thread Andriy Gapon
on 12/05/2011 19:39 Jung-uk Kim said the following: > On Thursday 12 May 2011 07:23 am, Andriy Gapon wrote: >> on 09/05/2011 20:34 Jung-uk Kim said the following: >>> Author: jkim >>> Date: Mon May 9 17:34:00 2011 >>> New Revision: 221703 >>> URL: http://svn.freebsd.org/changeset/base/221703 >> >>

svn commit: r221836 - head/sys/kern

2011-05-13 Thread Matthew D Fleming
Author: mdf Date: Fri May 13 14:29:28 2011 New Revision: 221836 URL: http://svn.freebsd.org/changeset/base/221836 Log: Correctly use INOUT for the offset/len parameters to vop_allocate. As far as I can tell this is for documentation only at the moment. Modified: head/sys/kern/vnode_if.src

svn commit: r221837 - in head/sys/dev/ath/ath_hal: ar5416 ar9002

2011-05-13 Thread Adrian Chadd
Author: adrian Date: Fri May 13 14:33:45 2011 New Revision: 221837 URL: http://svn.freebsd.org/changeset/base/221837 Log: Only do open loop power control and temperature compensation for the AR9280 based NICs if it's actually enabled. Some of the OLC code was erroneously called during set

svn commit: r221839 - head/sys/dev/pci

2011-05-13 Thread Henrik Brix Andersen
Author: brix (ports committer) Date: Fri May 13 15:06:35 2011 New Revision: 221839 URL: http://svn.freebsd.org/changeset/base/221839 Log: Allow direct children of PCI-ISA bridges to allocate resources from the parent PCI bus. Heavily inspired by jhb@ and a similar implementation present i

svn commit: r221843 - in head: share/man/man3 sys/sys

2011-05-13 Thread Matthew D Fleming
Author: mdf Date: Fri May 13 15:49:23 2011 New Revision: 221843 URL: http://svn.freebsd.org/changeset/base/221843 Log: Note that the _SWAP operation is supported for all list/queue types. Also place STAILQ_REMOVE_HEAD in alphabetical order. Lastly, document the _SWAP macros. PR:

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

2011-05-13 Thread Olivier Houchard
Author: cognet Date: Fri May 13 15:54:12 2011 New Revision: 221844 URL: http://svn.freebsd.org/changeset/base/221844 Log: In pmap_change_wiring(), use the right argument for pmap_modify_pv(). It only worked because the only consumer calls pmap_change_wiring() to remove the wiring. Modified:

svn commit: r221845 - in head: bin/chmod bin/ls lib/libc/sys

2011-05-13 Thread Sergey Kandaurov
Author: pluknet Date: Fri May 13 16:29:57 2011 New Revision: 221845 URL: http://svn.freebsd.org/changeset/base/221845 Log: Update sticky(7) cross references. PR: docs/124468 X-MFC with: r218998 Modified: head/bin/chmod/chmod.1 head/bin/ls/ls.1 head/lib/libc/sys/chmod.2

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-13 Thread Jung-uk Kim
On Friday 13 May 2011 08:47 am, Andriy Gapon wrote: > on 12/05/2011 19:39 Jung-uk Kim said the following: > > On Thursday 12 May 2011 07:23 am, Andriy Gapon wrote: > >> on 09/05/2011 20:34 Jung-uk Kim said the following: > >>> Author: jkim > >>> Date: Mon May 9 17:34:00 2011 > >>> New Revision: 22

svn commit: r221849 - in stable/8/sys/modules: cryptodev dtrace/lockstat mqueue sysvipc/sysvmsg sysvipc/sysvsem

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 18:20:24 2011 New Revision: 221849 URL: http://svn.freebsd.org/changeset/base/221849 Log: MFC: 197075, 209442, 213781: Various fixes for MODULES_WITH_WORLD r197075 | n_hibma | 2009-09-10 13:12:08 -0600 (Thu, 10 Sep 2009) | 4 lines Missing opt_*.h file

svn commit: r221850 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 18:28:25 2011 New Revision: 221850 URL: http://svn.freebsd.org/changeset/base/221850 Log: Copy symbolic links as files rather than recreating the links. PR: misc/151697 Submitted by: lev@ MFC after:2 weeks Modified: head/tools/tools/nanobsd/

svn commit: r221851 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 18:36:24 2011 New Revision: 221851 URL: http://svn.freebsd.org/changeset/base/221851 Log: Implement -f to inhibit copying s1 partition out for speed. (-z not taken from PR, it is no longer needed since we basically always do that now) PR: misc/151

svn commit: r221852 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 18:46:20 2011 New Revision: 221852 URL: http://svn.freebsd.org/changeset/base/221852 Log: Add ${} around variable dereference... Submitted by: garrett coopper Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh ===

svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-13 Thread Matthew D Fleming
Author: mdf Date: Fri May 13 18:48:00 2011 New Revision: 221853 URL: http://svn.freebsd.org/changeset/base/221853 Log: Usa a globally visible region of zeros for both /dev/zero and the md device. There are likely other kernel uses of "blob of zeros" than can be converted. Reviewed by:

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-13 Thread Bruce Evans
On Fri, 13 May 2011, Jung-uk Kim wrote: On Friday 13 May 2011 08:47 am, Andriy Gapon wrote: on 12/05/2011 19:39 Jung-uk Kim said the following: Actually, I am kinda reluctant to enable smp_tsc by default on recent CPUs. Although they made all TSCs in sync, it is very very tricky to make it wo

svn commit: r221855 - in head/sys: amd64/include arm/include dev/md dev/null i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2011-05-13 Thread Matthew D Fleming
Author: mdf Date: Fri May 13 19:35:01 2011 New Revision: 221855 URL: http://svn.freebsd.org/changeset/base/221855 Log: Move the ZERO_REGION_SIZE to a machine-dependent file, as on many architectures (i386, for example) the virtual memory space may be constrained enough that 2MB is a large ch

svn commit: r221856 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 19:40:02 2011 New Revision: 221856 URL: http://svn.freebsd.org/changeset/base/221856 Log: If there's no package directory, don't try to install packages from it. Instead, report that 0 packages are reported. PR: misc/140436 Modified: head/tools/t

Re: svn commit: r221855 - in head/sys: amd64/include arm/include dev/md dev/null i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2011-05-13 Thread Kostik Belousov
On Fri, May 13, 2011 at 07:35:01PM +, Matthew D Fleming wrote: > Author: mdf > Date: Fri May 13 19:35:01 2011 > New Revision: 221855 > URL: http://svn.freebsd.org/changeset/base/221855 > > Log: > Move the ZERO_REGION_SIZE to a machine-dependent file, as on many > architectures (i386, for e

Re: svn commit: r221855 - in head/sys: amd64/include arm/include dev/md dev/null i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2011-05-13 Thread Alan Cox
On 5/13/2011 2:40 PM, Kostik Belousov wrote: On Fri, May 13, 2011 at 07:35:01PM +, Matthew D Fleming wrote: Author: mdf Date: Fri May 13 19:35:01 2011 New Revision: 221855 URL: http://svn.freebsd.org/changeset/base/221855 Log: Move the ZERO_REGION_SIZE to a machine-dependent file, as on

Re: svn commit: r221855 - in head/sys: amd64/include arm/include dev/md dev/null i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2011-05-13 Thread Kostik Belousov
On Fri, May 13, 2011 at 02:45:47PM -0500, Alan Cox wrote: > On 5/13/2011 2:40 PM, Kostik Belousov wrote: > >On Fri, May 13, 2011 at 07:35:01PM +, Matthew D Fleming wrote: > >>Author: mdf > >>Date: Fri May 13 19:35:01 2011 > >>New Revision: 221855 > >>URL: http://svn.freebsd.org/changeset/base/2

Re: svn commit: r221855 - in head/sys: amd64/include arm/include dev/md dev/null i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2011-05-13 Thread Alan Cox
On 5/13/2011 2:35 PM, Matthew D Fleming wrote: Author: mdf Date: Fri May 13 19:35:01 2011 New Revision: 221855 URL: http://svn.freebsd.org/changeset/base/221855 Log: Move the ZERO_REGION_SIZE to a machine-dependent file, as on many architectures (i386, for example) the virtual memory space

svn commit: r221859 - stable/8/sys/dev/cxgbe

2011-05-13 Thread Navdeep Parhar
Author: np Date: Fri May 13 21:25:14 2011 New Revision: 221859 URL: http://svn.freebsd.org/changeset/base/221859 Log: MFC r221464: Always re-arm an iq's interrupt before leaving the handler. Modified: stable/8/sys/dev/cxgbe/t4_sge.c Modified: stable/8/sys/dev/cxgbe/t4_sge.c ===

svn commit: r221860 - head/usr.bin/rpcinfo

2011-05-13 Thread Xin LI
Author: delphij Date: Fri May 13 22:35:06 2011 New Revision: 221860 URL: http://svn.freebsd.org/changeset/base/221860 Log: Constify a few string variables. While I'm there, also convert usage() to use a prototype. MFC after:2 weeks Modified: head/usr.bin/rpcinfo/rpcinfo.c Modifie

svn commit: r221861 - in stable/8/sys: dev/cxgbe modules/cxgbe/if_cxgbe

2011-05-13 Thread Navdeep Parhar
Author: np Date: Fri May 13 22:48:44 2011 New Revision: 221861 URL: http://svn.freebsd.org/changeset/base/221861 Log: MFC r221474, r221477 (packet filter/steer/switch, timestamps) r221474: T4 packet filtering/steering. - Enable 5-tuple and every-packet lookup. - Setup the defaul

svn commit: r221862 - head/sys/sys

2011-05-13 Thread Stanislav Sedov
Author: stas Date: Fri May 13 23:10:55 2011 New Revision: 221862 URL: http://svn.freebsd.org/changeset/base/221862 Log: - Bump __FreeBSD_version to note the revision when libprocstat(3) and fuser(1) have been added to the tree. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.

svn commit: r221864 - in stable/8/sys/dev: ahci mvs siis

2011-05-13 Thread Alexander Motin
Author: mav Date: Sat May 14 00:35:56 2011 New Revision: 221864 URL: http://svn.freebsd.org/changeset/base/221864 Log: MFC r220829: According to specification. device should respond to COMRESET with COMINIT in no more then 10ms. If we detected no device presence within that time, there is

svn commit: r221865 - in stable/8/sys/dev: ahci mvs siis

2011-05-13 Thread Alexander Motin
Author: mav Date: Sat May 14 00:39:46 2011 New Revision: 221865 URL: http://svn.freebsd.org/changeset/base/221865 Log: MFC r220830: Fix some English grammar. Modified: stable/8/sys/dev/ahci/ahci.c stable/8/sys/dev/ahci/ahci.h stable/8/sys/dev/mvs/mvs.c stable/8/sys/dev/mvs/mvs.h sta

svn commit: r221866 - stable/8/sys/cam

2011-05-13 Thread Alexander Motin
Author: mav Date: Sat May 14 00:45:35 2011 New Revision: 221866 URL: http://svn.freebsd.org/changeset/base/221866 Log: MFC r221201 Make CAM_DEBUG_CDB also dump ATA commands in addition to SCSI. Modified: stable/8/sys/cam/cam_xpt.c Directory Properties: stable/8/sys/ (props changed) st

svn commit: r221867 - head/sys/fs/ext2fs

2011-05-13 Thread John Baldwin
Author: jhb Date: Sat May 14 01:10:57 2011 New Revision: 221867 URL: http://svn.freebsd.org/changeset/base/221867 Log: Merge comments about converting directory entries to be more direct and concise. Inspired by: Gleb Kurtsou Modified: head/sys/fs/ext2fs/ext2_lookup.c Modified: head/

svn commit: r221868 - head/sys/dev/ath/ath_hal/ar5416

2011-05-13 Thread Adrian Chadd
Author: adrian Date: Sat May 14 01:41:36 2011 New Revision: 221868 URL: http://svn.freebsd.org/changeset/base/221868 Log: Even though initial calibrations aren't done (yet), add this so we're consistent with the Atheros HAL. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Modified:

svn commit: r221869 - in head: . gnu/usr.bin/send-pr lib/libc/sparc64/sys lib/libdisk lib/libkvm release/doc/share/sgml share/man/man4 share/man/man5 sys sys/boot sys/boot/common sys/boot/sparc64/l...

2011-05-13 Thread Attilio Rao
n -s aj /etc/malloc.conf.) +20110513: + Support for sun4v architecture is officially dropped + 20110430: Users of the Atheros AR71xx SoC code now need to add 'device ar71xx_pci' into their kernel configurations along with 'device pci'. M

svn commit: r221870 - in head: release/sun4v sys/conf sys/sun4v

2011-05-13 Thread Attilio Rao
Author: attilio Date: Sat May 14 01:56:48 2011 New Revision: 221870 URL: http://svn.freebsd.org/changeset/base/221870 Log: Remove actual files supporting sun4v. Approved by: re Deleted: head/release/sun4v/ head/sys/conf/Makefile.sun4v head/sys/conf/files.sun4v head/sys/conf/option

svn commit: r221871 - in stable/8/sys: fs/nfs fs/nfsclient nfsclient

2011-05-13 Thread Rick Macklem
Author: rmacklem Date: Sat May 14 02:28:21 2011 New Revision: 221871 URL: http://svn.freebsd.org/changeset/base/221871 Log: MFC: r221014,r221018 Modify the experimental NFS client so that it uses the same "struct nfs_args" as the regular NFS client. This is needed so that the old mount(2)

svn commit: r221873 - head/usr.sbin/newsyslog

2011-05-13 Thread Maxim Sobolev
Author: sobomax Date: Sat May 14 03:00:55 2011 New Revision: 221873 URL: http://svn.freebsd.org/changeset/base/221873 Log: Add new modifier - "R", when it is specified the path to pid file will be considered as a path to a binary or a shell script to be executed after rotation has been compl

svn commit: r221874 - head/usr.bin/fstat

2011-05-13 Thread Stanislav Sedov
Author: stas Date: Sat May 14 04:02:56 2011 New Revision: 221874 URL: http://svn.freebsd.org/changeset/base/221874 Log: - Fix several typos [1] - fuser(1) writes usernames to stderr, not stdout [1] - Add history section. Submitted by: Pieter de Goeje [1] Modified: head/usr.bin/fstat

svn commit: r221875 - in head/sys/dev/ath/ath_hal: ar5416 ar9002

2011-05-13 Thread Adrian Chadd
Author: adrian Date: Sat May 14 04:05:23 2011 New Revision: 221875 URL: http://svn.freebsd.org/changeset/base/221875 Log: Fixes from the Atheros HAL - formatting; update Merlin checks to be consistent. Nothing functional should change with this commit. Modified: head/sys/dev/ath/ath_hal/ar

svn commit: r221876 - head/sys/dev/ath/ath_hal/ar5416

2011-05-13 Thread Adrian Chadd
Author: adrian Date: Sat May 14 04:17:16 2011 New Revision: 221876 URL: http://svn.freebsd.org/changeset/base/221876 Log: Major fix: when doing open-loop TX power calibration, adjust the correct CCK rates rather than adjusting the first handful. This may have affected some AR9280 based NICs.

svn commit: r221877 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Sat May 14 04:32:30 2011 New Revision: 221877 URL: http://svn.freebsd.org/changeset/base/221877 Log: Restore BOOT2CFG, accidentally removed in r212938. PR: 157020 Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh

svn commit: r221878 - head/sys/dev/ath/ath_hal/ar5416

2011-05-13 Thread Adrian Chadd
Author: adrian Date: Sat May 14 05:43:33 2011 New Revision: 221878 URL: http://svn.freebsd.org/changeset/base/221878 Log: When disabling RIFS for Sowl (AR9160) and Howl (AR9130), make sure RIFS is totally disabled. The Atheros HAL code does this for Sowl/Howl but not for Owl (AR5416) wher