Re: svn commit: r228430 - head/sys/kern

2011-12-12 Thread Lawrence Stewart
On 12/12/11 18:46, Andriy Gapon wrote: 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

Re: svn commit: r228430 - head/sys/kern

2011-12-12 Thread Lawrence Stewart
On 12/12/11 20:21, Lawrence Stewart wrote: On 12/12/11 18:46, Andriy Gapon wrote: 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

svn commit: r228431 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/viawd sys/i386/conf sys/modules sys/modules/viawd

2011-12-12 Thread Fabien Thomas
Author: fabient Date: Mon Dec 12 09:50:33 2011 New Revision: 228431 URL: http://svn.freebsd.org/changeset/base/228431 Log: Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works. MFC after:1 month Sponsored by: NETASQ Added:

svn commit: r228432 - head/sys/vm

2011-12-12 Thread Konstantin Belousov
Author: kib Date: Mon Dec 12 10:04:04 2011 New Revision: 228432 URL: http://svn.freebsd.org/changeset/base/228432 Log: Fix printf. Submitted by: az MFC after:1 week Modified: head/sys/vm/swap_pager.c Modified: head/sys/vm/swap_pager.c

svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Andriy Gapon
Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL: http://svn.freebsd.org/changeset/base/228433 Log: put sys/systm.h at its proper place or add it if missing Reported by: lstewart, tinderbox Pointyhat to: avg, attilio MFC after:1 week MFC with: r228430

svn commit: r228434 - head/sys/sys

2011-12-12 Thread Konstantin Belousov
Author: kib Date: Mon Dec 12 10:10:49 2011 New Revision: 228434 URL: http://svn.freebsd.org/changeset/base/228434 Log: Add definitions for GNU-specific STT_GNU_IFUNC symbol type, and R_{386,X86_64}_IRELATIVE relocations. MFC after:3 weeks Modified: head/sys/sys/elf_common.h

Re: svn commit: r228430 - head/sys/kern

2011-12-12 Thread Andriy Gapon
on 12/12/2011 11:50 Lawrence Stewart said the following: On 12/12/11 20:21, Lawrence Stewart wrote: On 12/12/11 18:46, Andriy Gapon wrote: 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

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Kostik Belousov
On Mon, Dec 12, 2011 at 10:05:13AM +, Andriy Gapon wrote: Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL: http://svn.freebsd.org/changeset/base/228433 Log: put sys/systm.h at its proper place or add it if missing Reported by:lstewart, tinderbox

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Andriy Gapon
on 12/12/2011 12:15 Kostik Belousov said the following: On Mon, Dec 12, 2011 at 10:05:13AM +, Andriy Gapon wrote: Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL: http://svn.freebsd.org/changeset/base/228433 Log: put sys/systm.h at its proper place or add it if

svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-12 Thread Konstantin Belousov
Author: kib Date: Mon Dec 12 11:03:14 2011 New Revision: 228435 URL: http://svn.freebsd.org/changeset/base/228435 Log: Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to rtld on 386 and amd64. This adds runtime bits neccessary for the use of the dispatch functions from

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-12 Thread Kostik Belousov
On Mon, Dec 12, 2011 at 11:03:15AM +, Konstantin Belousov wrote: Author: kib Date: Mon Dec 12 11:03:14 2011 New Revision: 228435 URL: http://svn.freebsd.org/changeset/base/228435 Log: Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to rtld on 386 and amd64.

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

2011-12-12 Thread David Chisnall
On 11 Dec 2011, at 21:12, Andreas Tobler wrote: As far as I understand, GCC does not support this attribute [[noreturn]] yet. But it defines both, __cplusplus and __cplusplus=201103L. On gcc-4.7 __cplusplus=201103L is the default when we build libstdc++. Advertising C++11 compatibility and

svn commit: r228436 - in head: sys/dev/cpuctl usr.sbin/cpucontrol

2011-12-12 Thread Fabien Thomas
Author: fabient Date: Mon Dec 12 12:30:44 2011 New Revision: 228436 URL: http://svn.freebsd.org/changeset/base/228436 Log: Add VIA microde update support to cpuctl(4) and cpucontrol(8). Support have been tested with X2 CPU and QuadCore CPU. MFC after:1 month Added:

svn commit: r228437 - head/usr.sbin/kbdcontrol

2011-12-12 Thread Ed Schouten
Author: ed Date: Mon Dec 12 12:33:38 2011 New Revision: 228437 URL: http://svn.freebsd.org/changeset/base/228437 Log: Add missing static and const keywords to kbdcontrol. None of the symbols provided by kbdcontrol.c are used by other source files of this binary. Slightly reduce the

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

2011-12-12 Thread Luigi Rizzo
On Sun, Dec 11, 2011 at 06:46:14PM +, Jack F Vogel wrote: 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... Jack, the previous commit (rev. 228387) removed netmap

svn commit: r228438 - head/sys/dev/hwpmc

2011-12-12 Thread Fabien Thomas
Author: fabient Date: Mon Dec 12 13:12:55 2011 New Revision: 228438 URL: http://svn.freebsd.org/changeset/base/228438 Log: There's a small set of events on Nehalem, that are not supported in processors with CPUID signature 06_1AH, 06_1EH, and 06_1FH. Refuse to allocate them on

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Bruce Evans
On Mon, 12 Dec 2011, Andriy Gapon wrote: on 12/12/2011 12:15 Kostik Belousov said the following: On Mon, Dec 12, 2011 at 10:05:13AM +, Andriy Gapon wrote: Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL: http://svn.freebsd.org/changeset/base/228433 Log: put

Re: svn commit: r228431 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/viawd sys/i386/conf sys/modules sys/modules/viawd

2011-12-12 Thread John Baldwin
On Monday, December 12, 2011 4:50:34 am Fabien Thomas wrote: Author: fabient Date: Mon Dec 12 09:50:33 2011 New Revision: 228431 URL: http://svn.freebsd.org/changeset/base/228431 Log: Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Attilio Rao
2011/12/12 Andriy Gapon a...@freebsd.org: on 12/12/2011 12:15 Kostik Belousov said the following: On Mon, Dec 12, 2011 at 10:05:13AM +, Andriy Gapon wrote: Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL: http://svn.freebsd.org/changeset/base/228433 Log:   put

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Attilio Rao
2011/12/12 Attilio Rao atti...@freebsd.org: 2011/12/12 Andriy Gapon a...@freebsd.org: on 12/12/2011 12:15 Kostik Belousov said the following: On Mon, Dec 12, 2011 at 10:05:13AM +, Andriy Gapon wrote: Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL:

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Andriy Gapon
on 12/12/2011 19:05 Attilio Rao said the following: More precisely, what do you think about the patch below? I just didn't revert the moving of systm.h under param.h because Bruce seems to prefer that. I'm starting test-compile right now, let me know your preference. The patch looks good to

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-12 Thread Joerg Sonnenberger
On Mon, Dec 12, 2011 at 11:03:15AM +, Konstantin Belousov wrote: To allow use of external references from the dispatch function, resolution of the R_MACHINE_IRESOLVE relocations in PLT is postponed until GOT entries for PLT are prepared, and normal resolution of the GOT entries is

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-12 Thread Kostik Belousov
On Mon, Dec 12, 2011 at 06:17:09PM +0100, Joerg Sonnenberger wrote: On Mon, Dec 12, 2011 at 11:03:15AM +, Konstantin Belousov wrote: To allow use of external references from the dispatch function, resolution of the R_MACHINE_IRESOLVE relocations in PLT is postponed until GOT

svn commit: r228439 - in stable/8/sys: conf kern sys

2011-12-12 Thread Peter Holm
Author: pho Date: Mon Dec 12 17:33:38 2011 New Revision: 228439 URL: http://svn.freebsd.org/changeset/base/228439 Log: MFC: r228218, r228219, 228220, 228221 Rename copyin_timeout32 to umtx_copyin_timeout32 and move parameter check here. Include check for negative seconds value. Add

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-12 Thread Joerg Sonnenberger
On Mon, Dec 12, 2011 at 07:21:32PM +0200, Kostik Belousov wrote: On Mon, Dec 12, 2011 at 06:17:09PM +0100, Joerg Sonnenberger wrote: On Mon, Dec 12, 2011 at 11:03:15AM +, Konstantin Belousov wrote: To allow use of external references from the dispatch function, resolution of

svn commit: r228440 - head/sys/dev/ixgbe

2011-12-12 Thread Matthew D Fleming
Author: mdf Date: Mon Dec 12 18:27:28 2011 New Revision: 228440 URL: http://svn.freebsd.org/changeset/base/228440 Log: Consistently use types in ixgbe driver code: - {ixgbe,ixv}_header_split is passed to TUNABLE_INT, so delcare it int, not bool. - {ixgbe,ixv}_tx_ctx_setup()

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

2011-12-12 Thread Matthew D Fleming
Author: mdf Date: Mon Dec 12 18:27:34 2011 New Revision: 228441 URL: http://svn.freebsd.org/changeset/base/228441 Log: Consistently use types in e1000 driver code: - Two struct members eee_disable are used in a function that expects an int *, so declare them int, not bool. -

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

2011-12-12 Thread Matthew D Fleming
Author: mdf Date: Mon Dec 12 18:43:18 2011 New Revision: 228442 URL: http://svn.freebsd.org/changeset/base/228442 Log: Do not use the sometimes-reserved work 'bool' for a variable name. MFC after:2 weeks Sponsored by: Isilon Systems, LLC Modified: head/sys/cam/scsi/scsi_xpt.c

svn commit: r228443 - in head/sys: dev/cxgbe dev/drm dev/speaker dev/tws dev/vxge ofed/include/linux

2011-12-12 Thread Matthew D Fleming
Author: mdf Date: Mon Dec 12 18:43:24 2011 New Revision: 228443 URL: http://svn.freebsd.org/changeset/base/228443 Log: Do not define bool/true/false if the symbols already exist. MFC after:2 weeks Sponsored by: Isilon Systems, LLC Modified: head/sys/dev/cxgbe/osdep.h

svn commit: r228444 - in head: include sys/sys

2011-12-12 Thread Matthew D Fleming
Author: mdf Date: Mon Dec 12 18:44:17 2011 New Revision: 228444 URL: http://svn.freebsd.org/changeset/base/228444 Log: - Define true and false in sys/types.h for _KERNEL consumers, and typedef bool. Due to macro expansion it seemed better to use a typedef for kernel consumers

Re: svn commit: r227956 - head/usr.bin/procstat

2011-12-12 Thread John Baldwin
On Saturday, December 10, 2011 3:26:46 am Mikolaj Golub wrote: On Thu, 08 Dec 2011 16:32:16 -0500 John Baldwin wrote: JB Hmm, I would stick as close to limits output as possible. I would JB consider duplicating the unit field in each of soft and hard, so you JB end up

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-12 Thread Kostik Belousov
On Mon, Dec 12, 2011 at 07:21:32PM +0200, Kostik Belousov wrote: On Mon, Dec 12, 2011 at 06:17:09PM +0100, Joerg Sonnenberger wrote: On Mon, Dec 12, 2011 at 11:03:15AM +, Konstantin Belousov wrote: To allow use of external references from the dispatch function, resolution of

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

2011-12-12 Thread David Schultz
On Sun, Dec 11, 2011, David Chisnall wrote: On 11 Dec 2011, at 21:12, Andreas Tobler wrote: As far as I understand, GCC does not support this attribute [[noreturn]] yet. But it defines both, __cplusplus and __cplusplus=201103L. On gcc-4.7 __cplusplus=201103L is the default when we build

svn commit: r228445 - in head: share/man/man4 sys/dev/fb sys/modules/splash sys/modules/splash/txt

2011-12-12 Thread Eitan Adler
Author: eadler (ports committer) Date: Mon Dec 12 21:12:07 2011 New Revision: 228445 URL: http://svn.freebsd.org/changeset/base/228445 Log: - Add support for ASCII art splash screens in TheDraw format PR: kern/143370 Submitted by: Antony Mawer ant...@mawer.org Reviewed by:

svn commit: r228446 - head/usr.bin/procstat

2011-12-12 Thread Mikolaj Golub
Author: trociny Date: Mon Dec 12 21:41:05 2011 New Revision: 228446 URL: http://svn.freebsd.org/changeset/base/228446 Log: Make procstat -l output similar to the output of limits(1). Suggested by: jhb MFC after:1 week Modified: head/usr.bin/procstat/procstat_rlimit.c Modified:

Re: svn commit: r227956 - head/usr.bin/procstat

2011-12-12 Thread Mikolaj Golub
On Mon, 12 Dec 2011 14:07:56 -0500 John Baldwin wrote: JB On Saturday, December 10, 2011 3:26:46 am Mikolaj Golub wrote: Output example: PID COMM RLIMIT SOFT HARD 11949 zsh cputime1 sec infinity

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Attilio Rao
2011/12/12 Andriy Gapon a...@freebsd.org: on 12/12/2011 19:05 Attilio Rao said the following: More precisely, what do you think about the patch below? I just didn't revert the moving of systm.h under param.h because Bruce seems to prefer that. I'm starting test-compile right now, let me know

svn commit: r228447 - head/usr.bin/procstat

2011-12-12 Thread Mikolaj Golub
Author: trociny Date: Mon Dec 12 22:01:33 2011 New Revision: 228447 URL: http://svn.freebsd.org/changeset/base/228447 Log: Make 64-bit procstat output ELF auxiliary vectors for 32-bit processes. Reviewed by: kib MFC after:1 week Modified: head/usr.bin/procstat/procstat_auxv.c

svn commit: r228448 - in head/sys: cddl/contrib/opensolaris/uts/common/dtrace security/mac sys

2011-12-12 Thread Attilio Rao
Author: attilio Date: Mon Dec 12 23:29:32 2011 New Revision: 228448 URL: http://svn.freebsd.org/changeset/base/228448 Log: Revert the approach for skipping lockstat_probe_func call when doing lock_success/lock_failure, introduced in r228424, by directly skipping in dtrace_probe. This

svn commit: r228449 - in head/sys: dev/md kern vm

2011-12-12 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Dec 13 00:38:50 2011 New Revision: 228449 URL: http://svn.freebsd.org/changeset/base/228449 Log: Document a large number of currently undocumented sysctls. While here fix some style(9) issues and reduce redundancy. PR: kern/155491

svn commit: r228450 - head/sys/mips/atheros

2011-12-12 Thread Adrian Chadd
Author: adrian Date: Tue Dec 13 05:13:51 2011 New Revision: 228450 URL: http://svn.freebsd.org/changeset/base/228450 Log: Style(9) changes. Modified: head/sys/mips/atheros/ar71xx_chip.c head/sys/mips/atheros/ar724x_chip.c head/sys/mips/atheros/ar91xx_chip.c Modified:

svn commit: r228454 - head/sys/netinet

2011-12-12 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 13 06:56:43 2011 New Revision: 228454 URL: http://svn.freebsd.org/changeset/base/228454 Log: Belatedly catch up with r151555. in_scrubprefix() also needs this fix. We should compare not only addresses, but their masks, too, when searching for matching prefix.

svn commit: r228455 - head/sys/nfs

2011-12-12 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 13 07:02:48 2011 New Revision: 228455 URL: http://svn.freebsd.org/changeset/base/228455 Log: Some cleanup of BOOTP code. Initially I wanted to just change the ifioctl() usage, but end up with more changes. - Use SIOCAIFADDR instead of old rusty SIOCSIFADDR,