svn commit: r228430 - head/sys/kern

2011-12-11 Thread Andriy Gapon
Author: avg Date: Mon Dec 12 07:46:10 2011 New Revision: 228430 URL: http://svn.freebsd.org/changeset/base/228430 Log: kern_racct: move sys/systm.h inclusion to its proper place This should fix the build failure introduced with r228424. Also remove duplicate inclusion of sys/param.h.

Re: svn commit: r228330 - in head: include sys/sys

2011-12-11 Thread Ed Schouten
* David Chisnall , 20111207 22:17: > As per das@'s suggestion, s/__noreturn/_Noreturn/, since the latter is an > identifier reserved for the implementation in C99 and earlier so there is > no sensible reason for introducing yet another reserved identifier when we > could just use the one C1

Re: svn commit: r228330 - in head: include sys/sys

2011-12-11 Thread Andreas Tobler
On 08.12.11 21:40, Andreas Tobler wrote: On 07.12.11 22:17, David Chisnall wrote: Author: theraven Date: Wed Dec 7 21:17:50 2011 New Revision: 228330 URL: http://svn.freebsd.org/changeset/base/228330 Log: As per das@'s suggestion, s/__noreturn/_Noreturn/, since the latter is an identif

svn commit: r228426 - head/sys/dev/syscons

2011-12-11 Thread Andriy Gapon
Author: avg Date: Sun Dec 11 21:10:11 2011 New Revision: 228426 URL: http://svn.freebsd.org/changeset/base/228426 Log: syscons: make sc_puts static as it is used only privately Perhaps sc_puts should also be renamed to scputs to follow the implied naming conventions in the file... MF

svn commit: r228425 - head/usr.sbin/vidcontrol

2011-12-11 Thread Ed Schouten
Author: ed Date: Sun Dec 11 21:02:33 2011 New Revision: 228425 URL: http://svn.freebsd.org/changeset/base/228425 Log: Add static keywords to vidcontrol(1). While there, remove the false optimisation of the colors array. It seems that changing it to an array of pointers instead of a 16x16

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

2011-12-11 Thread Andriy Gapon
Author: avg Date: Sun Dec 11 21:02:01 2011 New Revision: 228424 URL: http://svn.freebsd.org/changeset/base/228424 Log: panic: add a switch and infrastructure for stopping other CPUs in SMP case Historical behavior of letting other CPUs merily go on is a default for time being. The new be

svn commit: r228423 - head/bin/chio

2011-12-11 Thread Ed Schouten
Author: ed Date: Sun Dec 11 20:53:12 2011 New Revision: 228423 URL: http://svn.freebsd.org/changeset/base/228423 Log: Add static keywords to chio(1). All other global variables are already marked static, so for consistency sake, add them to these three arrays as well. Modified: head/bi

svn commit: r228422 - head/sbin/rcorder

2011-12-11 Thread Ed Schouten
Author: ed Date: Sun Dec 11 20:48:40 2011 New Revision: 228422 URL: http://svn.freebsd.org/changeset/base/228422 Log: Add more static keywords to rcorder(8). The global variables and functions provided by rcorder.c are not used in the other C files, as the other C files only provide memor

svn commit: r228421 - stable/7/lib/libpam/modules/pam_ssh

2011-12-11 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 11 20:40:23 2011 New Revision: 228421 URL: http://svn.freebsd.org/changeset/base/228421 Log: MFH r227757: check for null passphrases, since openssl doesn't Security: prevents users with unencrypted ssh keys (prohibited unless the nullok option i

svn commit: r228420 - stable/8/lib/libpam/modules/pam_ssh

2011-12-11 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 11 20:38:36 2011 New Revision: 228420 URL: http://svn.freebsd.org/changeset/base/228420 Log: MFH r227757: check for null passphrases, since openssl doesn't Security: prevents users with unencrypted ssh keys (prohibited unless the nullok option i

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

2011-12-11 Thread Glen Barber
Author: gjb (doc committer) Date: Sun Dec 11 20:01:37 2011 New Revision: 228419 URL: http://svn.freebsd.org/changeset/base/228419 Log: Minor whitespace cleanup to make.conf(5). MFC after:1 week X-MFC-With: 228418 Modified: head/share/man/man5/make.conf.5 Modified: head/share/man

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

2011-12-11 Thread Glen Barber
Author: gjb (doc committer) Date: Sun Dec 11 19:53:11 2011 New Revision: 228418 URL: http://svn.freebsd.org/changeset/base/228418 Log: Document the SVN variable needs to be set in make.conf(5) when SVN_UPDATE is set. PR: 163162 Submitted by: Oliver Hartmann Patch by: Be

svn commit: r228417 - head/sbin/bsdlabel

2011-12-11 Thread Ed Schouten
Author: ed Date: Sun Dec 11 19:28:04 2011 New Revision: 228417 URL: http://svn.freebsd.org/changeset/base/228417 Log: Add missing static keyword. All global variables and functions are marked static. Simply because this is an enum, doesn't mean we can't do so as well. Modified: head/sb

svn commit: r228416 - head/usr.sbin/powerd

2011-12-11 Thread Ed Schouten
Author: ed Date: Sun Dec 11 19:22:42 2011 New Revision: 228416 URL: http://svn.freebsd.org/changeset/base/228416 Log: Add missing static keyword. All global variables and functions in powerd are marked static, except this array of strings. Add the keyword, for consistency. Modified: he

svn commit: r228415 - head/sys/dev/e1000

2011-12-11 Thread Jack F Vogel
Author: jfv Date: Sun Dec 11 18:46:14 2011 New Revision: 228415 URL: http://svn.freebsd.org/changeset/base/228415 Log: Last change still had an issue, one more time... Modified: head/sys/dev/e1000/if_em.c head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_em.c

svn commit: r228414 - releng/9.0/lib/libpam/modules/pam_ssh

2011-12-11 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 11 17:32:37 2011 New Revision: 228414 URL: http://svn.freebsd.org/changeset/base/228414 Log: MFH r228410: check for null passphrases, since openssl doesn't Approved by: re (kib) Security: prevents users with unencrypted ssh keys (prohibited u

svn commit: r228413 - head/sys/powerpc/include

2011-12-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Dec 11 17:23:03 2011 New Revision: 228413 URL: http://svn.freebsd.org/changeset/base/228413 Log: Increase the available virtual address space for user programs on PowerPC AIM systems to 4 GB on 32-bit systems and 2^64 bytes on 64-bit systems. VM_MAXUSER_ADDRESS r

svn commit: r228412 - in head/sys/powerpc: aim include

2011-12-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Dec 11 17:19:48 2011 New Revision: 228412 URL: http://svn.freebsd.org/changeset/base/228412 Log: Keep track of PVO entries in each pmap, which allows much faster pmap_remove() for large sparse requests. This can prevent pmap_remove() operations on 64-bit process

svn commit: r228411 - head/contrib/bsnmp/snmpd

2011-12-11 Thread Mikolaj Golub
Author: trociny Date: Sun Dec 11 17:10:33 2011 New Revision: 228411 URL: http://svn.freebsd.org/changeset/base/228411 Log: Include sys/queue.h: snmpmod.h uses TAILQ. PR: bin/153153 MFC after:2 weeks Modified: head/contrib/bsnmp/snmpd/snmpmod.h Modified: head/contrib/bsnm

svn commit: r228410 - stable/9/lib/libpam/modules/pam_ssh

2011-12-11 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 11 16:57:27 2011 New Revision: 228410 URL: http://svn.freebsd.org/changeset/base/228410 Log: MFH r227757: check for null passphrases, since openssl doesn't Approved by: re (kib) Security: prevents users with unencrypted ssh keys (prohibited u

svn commit: r228409 - head/tools/build/mk

2011-12-11 Thread Dimitry Andric
Author: dim Date: Sun Dec 11 14:01:11 2011 New Revision: 228409 URL: http://svn.freebsd.org/changeset/base/228409 Log: Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is in effect. MFC after:1 week Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modifie

svn commit: r228408 - head/sbin/reboot

2011-12-11 Thread Ed Schouten
Author: ed Date: Sun Dec 11 11:42:44 2011 New Revision: 228408 URL: http://svn.freebsd.org/changeset/base/228408 Log: Let reboot(8) use getprogname() to compare the program name. While there, mark the global variable dohalt static, as reboot(8) only consists of a single C file. Modified:

svn commit: r228407 - head/sbin/camcontrol

2011-12-11 Thread Ed Schouten
Author: ed Date: Sun Dec 11 11:38:50 2011 New Revision: 228407 URL: http://svn.freebsd.org/changeset/base/228407 Log: Add missing static keywords to global variables in camcontrol. While there, make the vendor list const and add appropriate keywords to functions that use this list. Modif

svn commit: r228406 - head/bin/stty

2011-12-11 Thread Ed Schouten
Author: ed Date: Sun Dec 11 09:56:48 2011 New Revision: 228406 URL: http://svn.freebsd.org/changeset/base/228406 Log: Move 3.5 KB from the data segment to the text segment. The `struct modes' are only used by the getter-functions in the same file, so we can safely mark them static and con

svn commit: r228405 - head/sys/dev/e1000

2011-12-11 Thread Jack F Vogel
Author: jfv Date: Sun Dec 11 09:37:25 2011 New Revision: 228405 URL: http://svn.freebsd.org/changeset/base/228405 Log: Correct LINT build issues in the ioctl code. Modified: head/sys/dev/e1000/if_em.c head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_em.c