svn commit: r227296 - head/sbin/bsdlabel

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 7 07:51:10 2011 New Revision: 227296 URL: http://svn.freebsd.org/changeset/base/227296 Log: Fix multi-line comment formatting. MFC after:2 weeks Modified: head/sbin/bsdlabel/bsdlabel.c Modified: head/sbin/bsdlabel/bsdlabel.c

svn commit: r227295 - head/sbin/fdisk

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 7 07:50:35 2011 New Revision: 227295 URL: http://svn.freebsd.org/changeset/base/227295 Log: Fix multi-line comment formatting. Pointed by: jh MFC after:1 week Modified: head/sbin/fdisk/fdisk.c Modified: head/sbin/fdisk/fdisk.c ==

svn commit: r227294 - head/sys/sys

2011-11-06 Thread Ed Schouten
Author: ed Date: Mon Nov 7 07:09:38 2011 New Revision: 227294 URL: http://svn.freebsd.org/changeset/base/227294 Log: SDT's struct sdt_argtype can be marked static everywhere. It is only passed to SYSINIT/SYSUNINIT. Modified: head/sys/sys/sdt.h Modified: head/sys/sys/sdt.h =

svn commit: r227293 - in head/sys: arm/arm arm/xscale/pxa cam cam/ata cam/scsi cddl/dev/cyclic cddl/dev/fbt compat/linux dev/aac dev/acpi_support dev/acpica dev/acpica/Osd dev/ahci dev/amr dev/ath ...

2011-11-06 Thread Ed Schouten
Author: ed Date: Mon Nov 7 06:44:47 2011 New Revision: 227293 URL: http://svn.freebsd.org/changeset/base/227293 Log: Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. This means that their use is restricted to a single C file. Modified: head/sys/arm/arm/vm_machdep.c

svn commit: r227292 - head/sbin/fdisk

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 7 06:24:35 2011 New Revision: 227292 URL: http://svn.freebsd.org/changeset/base/227292 Log: Improve error reporting when MBR can not be written. Remove obsolete code which uses DIOCSMBR ioctl. When writing MBR first check that GEOM_MBR is available, if it is not a

svn commit: r227291 - head/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2011-11-06 Thread Ryan Stone
Author: rstone Date: Mon Nov 7 01:55:58 2011 New Revision: 227291 URL: http://svn.freebsd.org/changeset/base/227291 Log: Replace fasttrap_copyout() with uwrite(). FreeBSD copyout() is not able to write to the .text section of a process. Obtained from:rpaulo MFC after:3 day

svn commit: r227290 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-11-06 Thread Ryan Stone
Author: rstone Date: Mon Nov 7 01:53:25 2011 New Revision: 227290 URL: http://svn.freebsd.org/changeset/base/227290 Log: Fix the DTrace pid return trap interrupt vector. Previously we were using 31, but that vector is reserved. Without this fix, running dtrace -p would either cause the

svn commit: r227287 - stable/8/sys/dev/usb

2011-11-06 Thread Hans Petter Selasky
Author: hselasky Date: Sun Nov 6 23:34:40 2011 New Revision: 227287 URL: http://svn.freebsd.org/changeset/base/227287 Log: MFC r227286: Fix kernel build breakage of 8-stable. Reported by: Marius Strobl Modified: stable/8/sys/dev/usb/usb_process.c Directory Properties: stable/8/sys/

svn commit: r227286 - head/sys/dev/usb

2011-11-06 Thread Hans Petter Selasky
Author: hselasky Date: Sun Nov 6 23:26:26 2011 New Revision: 227286 URL: http://svn.freebsd.org/changeset/base/227286 Log: Fix build breakage for 8-stable and older. MFC after:0 days Modified: head/sys/dev/usb/usb_process.c Modified: head/sys/dev/usb/usb_process.c =

Re: svn commit: r227217 - stable/8/sys/dev/usb

2011-11-06 Thread Hans Petter Selasky
On Sunday 06 November 2011 21:38:00 Marius Strobl wrote: > On Sun, Nov 06, 2011 at 08:47:43PM +0100, Marius Strobl wrote: > > On Sun, Nov 06, 2011 at 03:13:02PM +, Hans Petter Selasky wrote: > > > Author: hselasky > > > Date: Sun Nov 6 15:13:01 2011 > > > New Revision: 227217 > > > URL: http:/

svn commit: r227285 - head/sys/dev/usb/serial

2011-11-06 Thread Hans Petter Selasky
Author: hselasky Date: Sun Nov 6 23:11:30 2011 New Revision: 227285 URL: http://svn.freebsd.org/changeset/base/227285 Log: Add support for new USB modem protocol. PR: usb/159919 MFC after:1 week Modified: head/sys/dev/usb/serial/umodem.c Modified: head/sys/dev/usb/seria

Re: svn commit: r227164 - head/usr.bin/du

2011-11-06 Thread Alexander Best
On Sun Nov 6 11, Ed Schouten wrote: > Hi Alexander, > > * Alexander Best , 2006 23:30: > > +The > > +.Fl a, d > > +and > > +.Fl s > > +options are mutually exclusive. > > +.Pp > > +The > > +.Fl H, L > > +and > > +.Fl P

Re: svn commit: r227164 - head/usr.bin/du

2011-11-06 Thread Ed Schouten
Hi Alexander, * Alexander Best , 2006 23:30: > +The > +.Fl a, d > +and > +.Fl s > +options are mutually exclusive. > +.Pp > +The > +.Fl H, L > +and > +.Fl P > +options are mutually exclusive. This can already be derived from the SYNOPSIS, right? -- E

Re: svn commit: r227164 - head/usr.bin/du

2011-11-06 Thread Alexander Best
On Sun Nov 6 11, Ed Schouten wrote: > Hi Alexander, > > * Alexander Best , 2006 21:46: > > this diff was flying around in my /usr/src, which makes some code a bit more > > readable. maybe this is something worth having in HEAD? > > Looks good. It seems we can a

svn commit: r227284 - head/sys/dev/esp

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 22:28:13 2011 New Revision: 227284 URL: http://svn.freebsd.org/changeset/base/227284 Log: Freeze the device queue if a request didn't complete without error and isn't already frozen. Modified: head/sys/dev/esp/ncr53c9x.c Modified: head/sys/dev/esp/ncr53c9x.c

Re: svn commit: r227164 - head/usr.bin/du

2011-11-06 Thread Ed Schouten
Hi Alexander, * Alexander Best , 2006 21:46: > this diff was flying around in my /usr/src, which makes some code a bit more > readable. maybe this is something worth having in HEAD? Looks good. It seems we can also get rid of the `listall' variable here. The rest of the code al

svn commit: r227283 - head/release/ia64

2011-11-06 Thread Marcel Moolenaar
Author: marcel Date: Sun Nov 6 21:57:12 2011 New Revision: 227283 URL: http://svn.freebsd.org/changeset/base/227283 Log: Add check-password.4th and screen.4th to the boot image. They are needed by the loader. Modified: head/release/ia64/mkisoimages.sh Modified: head/release/ia64/mkisoimag

svn commit: r227282 - head/share/man/man4

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 21:54:27 2011 New Revision: 227282 URL: http://svn.freebsd.org/changeset/base/227282 Log: Add missing comma. Submitted by: brueffer Modified: head/share/man/man4/esp.4 Modified: head/share/man/man4/esp.4 ===

svn commit: r227281 - head/share/man/man4

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 21:33:50 2011 New Revision: 227281 URL: http://svn.freebsd.org/changeset/base/227281 Log: Commit man page update missed in r227006. Modified: head/share/man/man4/esp.4 Modified: head/share/man/man4/esp.4

svn commit: r227280 - head/sbin/fdisk

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 21:12:52 2011 New Revision: 227280 URL: http://svn.freebsd.org/changeset/base/227280 Log: Initialize "acc" value inside the loop to reset failed attempts. PR: misc/162262 MFC after:3 days Modified: head/sbin/fdisk/fdisk.c Modified: head/sbin/f

svn commit: r227279 - in stable/7/sys: conf dev/bm dev/dc dev/mii dev/nge dev/sis dev/ste dev/stge modules/mii pci

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 21:11:22 2011 New Revision: 227279 URL: http://svn.freebsd.org/changeset/base/227279 Log: MFC: r226995 (partially), r227042 - Import the common MII bitbang'ing code from NetBSD and convert drivers to take advantage of it instead of duplicating it. This re

svn commit: r227278 - in stable/8/sys: arm/conf conf dev/bm dev/dc dev/mii dev/nge dev/sis dev/smc dev/ste dev/stge dev/tl dev/wb dev/xl modules/mii pci

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 21:09:23 2011 New Revision: 227278 URL: http://svn.freebsd.org/changeset/base/227278 Log: MFC: r226995, r227042 - Import the common MII bitbang'ing code from NetBSD and convert drivers to take advantage of it instead of duplicating it. This reduces the si

svn commit: r227277 - in stable/9/sys: arm/conf conf dev/bm dev/dc dev/mii dev/nge dev/sis dev/smc dev/ste dev/stge dev/tl dev/wb dev/xl modules/mii pci

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 21:09:10 2011 New Revision: 227277 URL: http://svn.freebsd.org/changeset/base/227277 Log: MFC: r226995, r227042 - Import the common MII bitbang'ing code from NetBSD and convert drivers to take advantage of it instead of duplicating it. This reduces the si

svn commit: r227276 - head/share/man/man4

2011-11-06 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 6 20:59:07 2011 New Revision: 227276 URL: http://svn.freebsd.org/changeset/base/227276 Log: Add qlxgb(4). MFC after:3 days Modified: head/share/man/man4/altq.4 Modified: head/share/man/man4/altq.4 ==

svn commit: r227275 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2011-11-06 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 6 20:49:17 2011 New Revision: 227275 URL: http://svn.freebsd.org/changeset/base/227275 Log: Add qlxgb(4) to the hardware notes. MFC after:3 days Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml head/release/doc/share/misc/dev.archlist

Re: svn commit: r227164 - head/usr.bin/du

2011-11-06 Thread Alexander Best
On Sun Nov 6 11, Ed Schouten wrote: > Author: ed > Date: Sun Nov 6 08:15:17 2011 > New Revision: 227164 > URL: http://svn.freebsd.org/changeset/base/227164 > > Log: > Add missing static keywords to du(1) this diff was flying around in my /usr/src, which makes some code a bit more readable. ma

svn commit: r227274 - head/usr.sbin/boot0cfg

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 20:42:32 2011 New Revision: 227274 URL: http://svn.freebsd.org/changeset/base/227274 Log: Add reference to gpart(8). MFC after:3 days Modified: head/usr.sbin/boot0cfg/boot0cfg.8 Modified: head/usr.sbin/boot0cfg/boot0cfg.8 =

svn commit: r227273 - head/sbin/fdisk_pc98

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 20:39:35 2011 New Revision: 227273 URL: http://svn.freebsd.org/changeset/base/227273 Log: Add reference to gpart(8). MFC after:3 days Modified: head/sbin/fdisk_pc98/fdisk.8 Modified: head/sbin/fdisk_pc98/fdisk.8 ===

svn commit: r227272 - head/sbin/fdisk

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 20:38:27 2011 New Revision: 227272 URL: http://svn.freebsd.org/changeset/base/227272 Log: Add reference to gpart(8). MFC after:3 days Modified: head/sbin/fdisk/fdisk.8 Modified: head/sbin/fdisk/fdisk.8 =

Re: svn commit: r227217 - stable/8/sys/dev/usb

2011-11-06 Thread Marius Strobl
On Sun, Nov 06, 2011 at 08:47:43PM +0100, Marius Strobl wrote: > On Sun, Nov 06, 2011 at 03:13:02PM +, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Sun Nov 6 15:13:01 2011 > > New Revision: 227217 > > URL: http://svn.freebsd.org/changeset/base/227217 > > > > Log: > > MFC r22707

svn commit: r227271 - head/share/man/man4

2011-11-06 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 6 20:37:17 2011 New Revision: 227271 URL: http://svn.freebsd.org/changeset/base/227271 Log: Write QLogic consistently. MFC after:3 days Modified: head/share/man/man4/qlxgb.4 Modified: head/share/man/man4/qlxgb.4 ===

svn commit: r227270 - head/sbin/bsdlabel

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 20:32:55 2011 New Revision: 227270 URL: http://svn.freebsd.org/changeset/base/227270 Log: Add recommendation to use gpart(8) when user tries write disklabel or bootcode to already opened provider. MFC after:1 week Modified: head/sbin/bsdlabel/bsdlabel.c

svn commit: r227269 - head/usr.bin/at

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 20:30:21 2011 New Revision: 227269 URL: http://svn.freebsd.org/changeset/base/227269 Log: Partially revert r227233. The privs.h header is not only used by at(1), it's also used by atrun(8). Just let the code the way it used to be (for now). Reported by: k

svn commit: r227268 - in stable/9: share/man/man4 sys/conf sys/dev/qlxgb sys/modules sys/modules/qlxgb

2011-11-06 Thread Bjoern A. Zeeb
Author: bz Date: Sun Nov 6 20:29:18 2011 New Revision: 227268 URL: http://svn.freebsd.org/changeset/base/227268 Log: MFC r227064: Add QLogic 10 Gigabit Ethernet & CNA Adapter Driver version 1.30 for 3200 and 8200 series cards. Submitted by: David C Somayajulu (david.somayaj...

svn commit: r227267 - in head/sys: dev/iscsi/initiator fs/nwfs fs/smbfs sys ufs/ufs

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 20:16:50 2011 New Revision: 227267 URL: http://svn.freebsd.org/changeset/base/227267 Log: Remove MALLOC_DECLAREs of nonexisting malloc-pools. After careful grepping, it seems none of these pools can be found in our source tree. They are not in use, nor are they

svn commit: r227266 - head/sys/netinet

2011-11-06 Thread Michael Tuexen
Author: tuexen Date: Sun Nov 6 20:09:22 2011 New Revision: 227266 URL: http://svn.freebsd.org/changeset/base/227266 Log: Initialize all components of the sent COOKIE. MFC after: 3 days. Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c ==

svn commit: r227264 - stable/8/sys/dev/mpt

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 19:57:14 2011 New Revision: 227264 URL: http://svn.freebsd.org/changeset/base/227264 Log: MFC: r227001 Increase the IOC port initialization timeouts by ten times to what the corresponding Linux driver uses. This allows mpt(4) to still recognize all good S

svn commit: r227265 - stable/7/sys/dev/mpt

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 19:57:17 2011 New Revision: 227265 URL: http://svn.freebsd.org/changeset/base/227265 Log: MFC: r227001 Increase the IOC port initialization timeouts by ten times to what the corresponding Linux driver uses. This allows mpt(4) to still recognize all good S

Re: svn commit: r227217 - stable/8/sys/dev/usb

2011-11-06 Thread Marius Strobl
On Sun, Nov 06, 2011 at 03:13:02PM +, Hans Petter Selasky wrote: > Author: hselasky > Date: Sun Nov 6 15:13:01 2011 > New Revision: 227217 > URL: http://svn.freebsd.org/changeset/base/227217 > > Log: > MFC r227075: > Fix for panic at USB controller attach failure during cold boot. > > Mo

svn commit: r227262 - head/sbin/bsdlabel

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 19:03:07 2011 New Revision: 227262 URL: http://svn.freebsd.org/changeset/base/227262 Log: Remove unneeded checks. MFC after:1 week Modified: head/sbin/bsdlabel/bsdlabel.c Modified: head/sbin/bsdlabel/bsdlabel.c

svn commit: r227261 - head/usr.sbin/spray

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:49 2011 New Revision: 227261 URL: http://svn.freebsd.org/changeset/base/227261 Log: Mark global functions and/or variables in spray(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin

svn commit: r227260 - head/usr.sbin/snapinfo

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:43 2011 New Revision: 227260 URL: http://svn.freebsd.org/changeset/base/227260 Log: Mark global functions and/or variables in snapinfo(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.s

svn commit: r227259 - head/usr.sbin/rmt

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:37 2011 New Revision: 227259 URL: http://svn.freebsd.org/changeset/base/227259 Log: Mark global functions and/or variables in rmt(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin/r

svn commit: r227258 - head/usr.sbin/rip6query

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:31 2011 New Revision: 227258 URL: http://svn.freebsd.org/changeset/base/227258 Log: Mark global functions and/or variables in rip6query(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.

svn commit: r227257 - head/usr.sbin/pwd_mkdb

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:25 2011 New Revision: 227257 URL: http://svn.freebsd.org/changeset/base/227257 Log: Mark global functions and/or variables in pwd_mkdb(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.s

svn commit: r227256 - head/usr.sbin/moused

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:20 2011 New Revision: 227256 URL: http://svn.freebsd.org/changeset/base/227256 Log: Mark global functions and/or variables in moused(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbi

svn commit: r227255 - head/usr.sbin/mixer

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:13 2011 New Revision: 227255 URL: http://svn.freebsd.org/changeset/base/227255 Log: Mark global functions and/or variables in mixer(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin

svn commit: r227254 - head/usr.sbin/memcontrol

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:59 2011 New Revision: 227254 URL: http://svn.freebsd.org/changeset/base/227254 Log: Mark global functions and/or variables in memcontrol(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr

svn commit: r227253 - head/usr.sbin/fdread

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:54 2011 New Revision: 227253 URL: http://svn.freebsd.org/changeset/base/227253 Log: Mark global functions and/or variables in fdread(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbi

svn commit: r227252 - head/usr.sbin/devinfo

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:48 2011 New Revision: 227252 URL: http://svn.freebsd.org/changeset/base/227252 Log: Mark global functions and/or variables in devinfo(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sb

svn commit: r227251 - head/usr.sbin/chown

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:41 2011 New Revision: 227251 URL: http://svn.freebsd.org/changeset/base/227251 Log: Mark global functions and/or variables in chown(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin

svn commit: r227250 - head/usr.sbin/boot0cfg

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:35 2011 New Revision: 227250 URL: http://svn.freebsd.org/changeset/base/227250 Log: Mark global functions and/or variables in boot0cfg(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.s

svn commit: r227249 - head/usr.sbin/apm

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:30 2011 New Revision: 227249 URL: http://svn.freebsd.org/changeset/base/227249 Log: Mark global functions and/or variables in apm(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin/a

svn commit: r227248 - head/sbin/bsdlabel

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 18:59:42 2011 New Revision: 227248 URL: http://svn.freebsd.org/changeset/base/227248 Log: bsdlabel(8) could automatically fill many of disklabel's deprecated fields, but user could specify some of those fields when edits disklabel with `bsdlabel -e`. But without -

svn commit: r227247 - head/usr.bin/xstr

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:39 2011 New Revision: 227247 URL: http://svn.freebsd.org/changeset/base/227247 Log: Mark global functions and/or variables in xstr(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/xstr

svn commit: r227246 - head/usr.bin/whois

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:33 2011 New Revision: 227246 URL: http://svn.freebsd.org/changeset/base/227246 Log: Mark global functions and/or variables in whois(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/who

svn commit: r227245 - head/usr.bin/which

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:26 2011 New Revision: 227245 URL: http://svn.freebsd.org/changeset/base/227245 Log: Mark global functions and/or variables in which(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/whi

svn commit: r227244 - head/usr.bin/whereis

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:19 2011 New Revision: 227244 URL: http://svn.freebsd.org/changeset/base/227244 Log: Mark global functions and/or variables in whereis(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/w

svn commit: r227243 - head/usr.bin/unifdef

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:00 2011 New Revision: 227243 URL: http://svn.freebsd.org/changeset/base/227243 Log: Mark global functions and/or variables in unifdef(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/u

svn commit: r227242 - head/usr.bin/paste

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:53 2011 New Revision: 227242 URL: http://svn.freebsd.org/changeset/base/227242 Log: Mark global functions and/or variables in paste(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/pas

svn commit: r227241 - head/usr.bin/m4

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:48 2011 New Revision: 227241 URL: http://svn.freebsd.org/changeset/base/227241 Log: Mark global functions and/or variables in m4(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/m4/gnu

svn commit: r227240 - head/usr.bin/lam

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:41 2011 New Revision: 227240 URL: http://svn.freebsd.org/changeset/base/227240 Log: Mark global functions and/or variables in lam(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/lam/l

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

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:36 2011 New Revision: 227239 URL: http://svn.freebsd.org/changeset/base/227239 Log: Mark global functions and/or variables in fstat(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/fst

svn commit: r227238 - head/usr.bin/expand

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:30 2011 New Revision: 227238 URL: http://svn.freebsd.org/changeset/base/227238 Log: Mark global functions and/or variables in expand(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/ex

svn commit: r227237 - head/usr.bin/enigma

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:23 2011 New Revision: 227237 URL: http://svn.freebsd.org/changeset/base/227237 Log: Mark global functions and/or variables in enigma(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/en

svn commit: r227236 - head/usr.bin/compress

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:16 2011 New Revision: 227236 URL: http://svn.freebsd.org/changeset/base/227236 Log: Mark global functions and/or variables in compress(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/

svn commit: r227234 - head/usr.bin/checknr

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:03 2011 New Revision: 227234 URL: http://svn.freebsd.org/changeset/base/227234 Log: Mark global functions and/or variables in checknr(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/c

svn commit: r227235 - head/usr.bin/comm

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:10 2011 New Revision: 227235 URL: http://svn.freebsd.org/changeset/base/227235 Log: Mark global functions and/or variables in comm(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/comm

svn commit: r227233 - head/usr.bin/at

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 17:32:29 2011 New Revision: 227233 URL: http://svn.freebsd.org/changeset/base/227233 Log: Add missing static keywords to at(1). While there, tidy up the privs.h part, where at.c has to #define to declare some globals. Also group static and non-static global var

svn commit: r227232 - in stable/9/sys: modules modules/ipfw netinet/ipfw

2011-11-06 Thread Bjoern A. Zeeb
Author: bz Date: Sun Nov 6 17:31:57 2011 New Revision: 227232 URL: http://svn.freebsd.org/changeset/base/227232 Log: MFC r227085: Always use the opt_*.h options for ipfw.ko, not just when compiled into the kernel. Do not try to build the module in case of no INET support but

svn commit: r227231 - head/sbin/bsdlabel

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 17:30:32 2011 New Revision: 227231 URL: http://svn.freebsd.org/changeset/base/227231 Log: To be in sync with GEOM_PART_BSD limit the maximum number of supported partitions to 20. MFC after:1 week Modified: head/sbin/bsdlabel/bsdlabel.c Modified: head/sb

svn commit: r227230 - stable/9/sys/dev/mpt

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 17:25:22 2011 New Revision: 227230 URL: http://svn.freebsd.org/changeset/base/227230 Log: MFC: r227001 Increase the IOC port initialization timeouts by ten times to what the corresponding Linux driver uses. This allows mpt(4) to still recognize all good S

svn commit: r227229 - in stable/9/sys: conf dev/fxp dev/mii dev/usb/net dev/xl modules/fxp modules/mii modules/usb/rue modules/xl

2011-11-06 Thread Marius Strobl
Author: marius Date: Sun Nov 6 17:23:49 2011 New Revision: 227229 URL: http://svn.freebsd.org/changeset/base/227229 Log: MFC: r226154, r226165 - Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHY drivers that only ever attach to a particular MAC driver, i.e. inph

svn commit: r227228 - head/usr.bin/chpass

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 17:20:44 2011 New Revision: 227228 URL: http://svn.freebsd.org/changeset/base/227228 Log: Mark the structure fields as const. This allows us to simply place these strings as constants in the table itself, letting the compiler decide to simply merge duplicate st

svn commit: r227227 - stable/8/sys/geom

2011-11-06 Thread Alexander Motin
Author: mav Date: Sun Nov 6 16:58:17 2011 New Revision: 227227 URL: http://svn.freebsd.org/changeset/base/227227 Log: MFC r226985: Workaround the problem introduced by combination of r162200 and r215687. r162200 delays provider orphanization until all running requests complete, to workaro

svn commit: r227225 - head/usr.sbin/cdcontrol

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 16:52:26 2011 New Revision: 227225 URL: http://svn.freebsd.org/changeset/base/227225 Log: Make all functions and global variables static for cdcontrol(8). While there, replace __const by const, which seems to be our preference nowadays. Also fix some style(9) b

svn commit: r227226 - stable/9/sys/geom

2011-11-06 Thread Alexander Motin
Author: mav Date: Sun Nov 6 16:54:23 2011 New Revision: 227226 URL: http://svn.freebsd.org/changeset/base/227226 Log: MFC r226985: Workaround the problem introduced by combination of r162200 and r215687. r162200 delays provider orphanization until all running requests complete, to workaro

svn commit: r227224 - head/usr.sbin/mptable

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 16:47:50 2011 New Revision: 227224 URL: http://svn.freebsd.org/changeset/base/227224 Log: Mark all global variables static for mptable(1). While there, remove basetableEntryTypes, which became unused in r71209. Modified: head/usr.sbin/mptable/mptable.c Modifi

svn commit: r227223 - head/usr.sbin/chroot

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 16:40:17 2011 New Revision: 227223 URL: http://svn.freebsd.org/changeset/base/227223 Log: Eliminate global variables. There is no reason why these three variables should be declared as global variables, while the others aren't. They are only used inside main(

svn commit: r227222 - in stable/9/usr.sbin/bsdinstall: partedit scripts

2011-11-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Nov 6 16:37:50 2011 New Revision: 227222 URL: http://svn.freebsd.org/changeset/base/227222 Log: MFC r22,226739,226741: Avoid showing the user some spurious error messages from GEOM [1] and do provide error messages instead of silent failure if there are no d

svn commit: r227221 - head/usr.sbin/timed/timed

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 16:37:15 2011 New Revision: 227221 URL: http://svn.freebsd.org/changeset/base/227221 Log: Simplify inclusion of the tsptype array a bit. We don't need this array in timed.c -- only readmsg.c. Modified: head/usr.sbin/timed/timed/readmsg.c head/usr.sbin/timed/

svn commit: r227220 - stable/9/usr.sbin/kbdmap

2011-11-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Nov 6 16:36:54 2011 New Revision: 227220 URL: http://svn.freebsd.org/changeset/base/227220 Log: MFC r226439: Place quotes around the output of kbdmap(1), designed to be pasted into /etc/rc.conf. PR: bin/161711 Submitted by: manolis Approved by

svn commit: r227219 - stable/9/usr.sbin/pc-sysinstall/backend

2011-11-06 Thread Josh Paetzel
Author: jpaetzel Date: Sun Nov 6 15:58:56 2011 New Revision: 227219 URL: http://svn.freebsd.org/changeset/base/227219 Log: MFC 227118: Roll up several patches used by PC-BSD. - Fix an issue with gmirror. - Allow IPv4 DHCP and IPv6 SLAAC concurrently. - Fix zpool options using the

svn commit: r227217 - stable/8/sys/dev/usb

2011-11-06 Thread Hans Petter Selasky
Author: hselasky Date: Sun Nov 6 15:13:01 2011 New Revision: 227217 URL: http://svn.freebsd.org/changeset/base/227217 Log: MFC r227075: Fix for panic at USB controller attach failure during cold boot. Modified: stable/8/sys/dev/usb/usb_process.c Directory Properties: stable/8/sys/ (pro

svn commit: r227216 - stable/9/sys/dev/usb

2011-11-06 Thread Hans Petter Selasky
Author: hselasky Date: Sun Nov 6 15:06:04 2011 New Revision: 227216 URL: http://svn.freebsd.org/changeset/base/227216 Log: MFC r227075: Fix for panic at USB controller attach failure during cold boot. Approved by: re (kib) Modified: stable/9/sys/dev/usb/usb_process.c Directory Proper

svn commit: r227215 - in head: gnu/lib/libstdc++ lib/clang/include/llvm/Config

2011-11-06 Thread Dimitry Andric
Author: dim Date: Sun Nov 6 14:07:23 2011 New Revision: 227215 URL: http://svn.freebsd.org/changeset/base/227215 Log: When one attempts to compile the tree with -march=i386, which also used to be gcc's default before r198344, calls to atomic builtins will not be expanded inline. Instead, t

svn commit: r227214 - head

2011-11-06 Thread Antoine Brodin
Author: antoine Date: Sun Nov 6 14:00:18 2011 New Revision: 227214 URL: http://svn.freebsd.org/changeset/base/227214 Log: Add more obsolete files. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==

svn commit: r227213 - stable/7/sys/fs/devfs

2011-11-06 Thread Konstantin Belousov
Author: kib Date: Sun Nov 6 13:35:55 2011 New Revision: 227213 URL: http://svn.freebsd.org/changeset/base/227213 Log: MFC r227062: Fix kernel panic when d_fdopen csw method is called for NULL fp. This may happen when kernel consumer calls VOP_OPEN(). Modified: stable/7/sys/fs/devfs/devfs

svn commit: r227212 - stable/8/sys/fs/devfs

2011-11-06 Thread Konstantin Belousov
Author: kib Date: Sun Nov 6 13:17:37 2011 New Revision: 227212 URL: http://svn.freebsd.org/changeset/base/227212 Log: MFC r227062: Fix kernel panic when d_fdopen csw method is called for NULL fp. This may happen when kernel consumer calls VOP_OPEN(). Modified: stable/8/sys/fs/devfs/devfs

svn commit: r227211 - stable/9/sys/fs/devfs

2011-11-06 Thread Konstantin Belousov
Author: kib Date: Sun Nov 6 13:06:31 2011 New Revision: 227211 URL: http://svn.freebsd.org/changeset/base/227211 Log: MFC r227062: Fix kernel panic when d_fdopen csw method is called for NULL fp. This may happen when kernel consumer calls VOP_OPEN(). Approved by: re (kensmith) Modifi

svn commit: r227210 - stable/7/libexec/rshd

2011-11-06 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 6 13:03:59 2011 New Revision: 227210 URL: http://svn.freebsd.org/changeset/base/227210 Log: MFC: r226937 Fix a misplaced parenthesis. Modified: stable/7/libexec/rshd/rshd.c Directory Properties: stable/7/libexec/rshd/ (props changed) Modified: stable/

svn commit: r227209 - stable/8/libexec/rshd

2011-11-06 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 6 13:02:33 2011 New Revision: 227209 URL: http://svn.freebsd.org/changeset/base/227209 Log: MFC: r226937 Fix a misplaced parenthesis. Modified: stable/8/libexec/rshd/rshd.c Directory Properties: stable/8/libexec/rshd/ (props changed) Modified: stable/

svn commit: r227208 - stable/9/libexec/rshd

2011-11-06 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 6 12:37:44 2011 New Revision: 227208 URL: http://svn.freebsd.org/changeset/base/227208 Log: MFC: r226937 Fix a misplaced parenthesis. Approved by: re (kib) Modified: stable/9/libexec/rshd/rshd.c Directory Properties: stable/9/libexec/rshd/ (props

Re: svn commit: r227207 - in head/sys: netinet netinet6

2011-11-06 Thread Mikolaj Golub
On Sun, 6 Nov 2011 10:47:20 + (UTC) Mikolaj Golub wrote: MG> Author: trociny MG> Date: Sun Nov 6 10:47:20 2011 MG> New Revision: 227207 MG> URL: http://svn.freebsd.org/changeset/base/227207 MG> Log: MG> Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid MG> inp_soc

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

2011-11-06 Thread Mikolaj Golub
Author: trociny Date: Sun Nov 6 10:47:20 2011 New Revision: 227207 URL: http://svn.freebsd.org/changeset/base/227207 Log: Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid inp_socket->so_options dereference when we may not acquire the lock on the inpcb. This fixes the c

Re: svn commit: r227156 - head/usr.bin/cmp

2011-11-06 Thread Ed Schouten
* Peter Jeremy , 2006 10:10: > That's an interesting spelling of "static". I presume this is a > general cleanup of identifier visibility to prevent unexpected > aliasing - in which case a more general log message may have nicer. Yes, sorry about that. When I

svn commit: r227206 - head/sys/netinet6

2011-11-06 Thread Mikolaj Golub
Author: trociny Date: Sun Nov 6 09:29:52 2011 New Revision: 227206 URL: http://svn.freebsd.org/changeset/base/227206 Log: Before dereferencing intotw() check for NULL, the same way as it is done for in_pcb (see r157474). MFC after:1 week Modified: head/sys/netinet6/in6_pcb.c Modi

svn commit: r227205 - stable/8/sys/kern

2011-11-06 Thread Max Khon
Author: fjoe Date: Sun Nov 6 09:27:40 2011 New Revision: 227205 URL: http://svn.freebsd.org/changeset/base/227205 Log: Fix the build with KLD_DEBUG defined. Modified: stable/8/sys/kern/kern_linker.c Modified: stable/8/sys/kern/kern_linker.c ==

svn commit: r227202 - head/usr.bin/xinstall

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:19:07 2011 New Revision: 227202 URL: http://svn.freebsd.org/changeset/base/227202 Log: Add missing static keywords to xinstall(1) Modified: head/usr.bin/xinstall/xinstall.c Modified: head/usr.bin/xinstall/xinstall.c =

svn commit: r227201 - head/usr.bin/wc

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:19:00 2011 New Revision: 227201 URL: http://svn.freebsd.org/changeset/base/227201 Log: Add missing static keywords to wc(1) Modified: head/usr.bin/wc/wc.c Modified: head/usr.bin/wc/wc.c ===

  1   2   >