svn commit: r249538 - head/sys/kern

2013-04-16 Thread Konstantin Belousov
Author: kib Date: Tue Apr 16 07:11:52 2013 New Revision: 249538 URL: http://svnweb.freebsd.org/changeset/base/249538 Log: Some compilers issue a warning when wider integer is casted to narrow pointer. Supposedly shut down the warning by casting through uintptr_t. Reported by: ian

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Dimitry Andric
On 2013-04-16 06:19, Γιώργος Κεραμίδας wrote: On Sat, 16 Feb 2013 20:17:31 + (UTC), Dimitry Andric d...@freebsd.org wrote: ... Since clang 3.2 now has an option to suppress warnings about implicitly promoted KR parameters, remove the workarounds added for sendmail components in

Re: svn commit: r249508 - in head/sys: conf geom/label

2013-04-16 Thread Jaakko Heinonen
On 2013-04-15, Ivan Voras wrote: Introduce glabel labels based on GEOM ident attributes. In this initial implementation, error on the side of conservatism and only create labels for GEOMs of classes DISK and MULTIPATH. After this commit I get a panic on boot. My kernel has been compiled

Re: svn commit: r249508 - in head/sys: conf geom/label

2013-04-16 Thread Ivan Voras
On 16 April 2013 11:31, Jaakko Heinonen j...@freebsd.org wrote: On 2013-04-15, Ivan Voras wrote: Introduce glabel labels based on GEOM ident attributes. In this initial implementation, error on the side of conservatism and only create labels for GEOMs of classes DISK and MULTIPATH.

svn commit: r249543 - head/sys/netinet6

2013-04-16 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 16 11:12:58 2013 New Revision: 249543 URL: http://svnweb.freebsd.org/changeset/base/249543 Log: Replace hardcoded numbers. Modified: head/sys/netinet6/ip6_var.h Modified: head/sys/netinet6/ip6_var.h

svn commit: r249544 - head/sys/netinet6

2013-04-16 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 16 11:19:13 2013 New Revision: 249544 URL: http://svnweb.freebsd.org/changeset/base/249544 Log: Use IP6S_M2MMAX macro. Modified: head/sys/netinet6/ip6_input.c Modified: head/sys/netinet6/ip6_input.c

svn commit: r249545 - head/usr.bin/netstat

2013-04-16 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 16 11:25:45 2013 New Revision: 249545 URL: http://svnweb.freebsd.org/changeset/base/249545 Log: Replace hardcoded numbers. Also use interface-local scope name instead of node-local. Modified: head/usr.bin/netstat/inet6.c Modified: head/usr.bin/netstat/inet6.c

svn commit: r249546 - head/sys/netinet6

2013-04-16 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 16 11:31:26 2013 New Revision: 249546 URL: http://svnweb.freebsd.org/changeset/base/249546 Log: Fix accounting after the r249528, also add several another counters to the statistics. Modified: head/sys/netinet6/in6_src.c Modified: head/sys/netinet6/in6_src.c

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Bruce Evans
On Tue, 16 Apr 2013, Dimitry Andric wrote: On 2013-04-16 06:19, ?? ?? wrote: ... The warnings that usersmtp.c still triggers when -DSASL is used are: : cc -O2 -pipe -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src

svn commit: r249547 - head/cddl/contrib/opensolaris/lib/libzfs/common

2013-04-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Apr 16 12:31:16 2013 New Revision: 249547 URL: http://svnweb.freebsd.org/changeset/base/249547 Log: Correct error message. Reported by: Dirk Engling erdge...@erdgeist.org Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c Modified:

Re: svn commit: r249543 - head/sys/netinet6

2013-04-16 Thread Tijl Coosemans
On 2013-04-16 13:12, Andrey V. Elsukov wrote: Author: ae Date: Tue Apr 16 11:12:58 2013 New Revision: 249543 URL: http://svnweb.freebsd.org/changeset/base/249543 Log: Replace hardcoded numbers. Modified: head/sys/netinet6/ip6_var.h Modified: head/sys/netinet6/ip6_var.h

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Giorgos Keramidas
On Tue, 16 Apr 2013 21:28:36 +1000 (EST), Bruce Evans b...@optusnet.com.au wrote: On Tue, 16 Apr 2013, Dimitry Andric wrote: Have you tried the patch I posted here? http://lists.freebsd.org/pipermail/freebsd-current/2013-March/040634.html If people feel this is the right approach, I am happy

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Giorgos Keramidas
On Tue, 16 Apr 2013 11:03:01 +0200, Dimitry Andric d...@freebsd.org wrote: On 2013-04-16 06:19, Γιώργος Κεραμίδας wrote: On Sat, 16 Feb 2013 20:17:31 + (UTC), Dimitry Andric d...@freebsd.org wrote: ... Since clang 3.2 now has an option to suppress warnings about implicitly

Re: svn commit: r249484 - head/lib

2013-04-16 Thread Tijl Coosemans
On 2013-04-14 21:13, Tim Kientzle wrote: Author: kientzle Date: Sun Apr 14 19:13:51 2013 New Revision: 249484 URL: http://svnweb.freebsd.org/changeset/base/249484 Log: Install a symlink /usr/lib/include == /usr/include This fixes -print-file-name=include in clang (and is

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Dimitry Andric
On 2013-04-16 13:28, Bruce Evans wrote: On Tue, 16 Apr 2013, Dimitry Andric wrote: On 2013-04-16 06:19, Γιώργος Κεραμίδας wrote: ... : cc -O2 -pipe -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS

svn commit: r249548 - head/sys/kern

2013-04-16 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 16 14:22:16 2013 New Revision: 249548 URL: http://svnweb.freebsd.org/changeset/base/249548 Log: Allow the vnode to be unlocked for the weird case of LK_EXCLOTHER. LK_EXCLOTHER is only used to acquire a usecount on a vnode during NFSv4 recovery from an

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Giorgos Keramidas
On Tue, 16 Apr 2013 15:44:36 +0200, Dimitry Andric d...@freebsd.org wrote: On 2013-04-16 13:28, Bruce Evans wrote: Extending the example a little gives the answer to my question: @ #include stdbool.h @ @ typedef void vb(bool first); @ @ vb foo; @ void bar(vb *p); @ @ void @ foo(first)

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Gregory Shapiro
Just a quick comment that I will be committing a fix to the sendmail source tree on FreeBSD to avoid this issue. It will avoid loading stdbool.h when clang is in use, thereby turning all bools to ints. It will be checked in this weekend (currently being tested before release). /* **

svn commit: r249551 - head/sys/mips/include

2013-04-16 Thread Warner Losh
Author: imp Date: Tue Apr 16 16:54:37 2013 New Revision: 249551 URL: http://svnweb.freebsd.org/changeset/base/249551 Log: Point to regdef.h. May need to dig up references to the N32 standard that support this usage (which may be a bit rough, since different parts of the standard say

svn commit: r249552 - head/sys/netinet6

2013-04-16 Thread Tijl Coosemans
Author: tijl Date: Tue Apr 16 16:59:29 2013 New Revision: 249552 URL: http://svnweb.freebsd.org/changeset/base/249552 Log: Fix build after r249543. Modified: head/sys/netinet6/ip6_var.h Modified: head/sys/netinet6/ip6_var.h

svn commit: r249553 - head/lib/libstand/mips

2013-04-16 Thread Robert Watson
Author: rwatson Date: Tue Apr 16 17:03:35 2013 New Revision: 249553 URL: http://svnweb.freebsd.org/changeset/base/249553 Log: Adapt libstand's setjmp/longjmp MIPS support to be portable across 32-bit and 64-bit MIPS. Don't use the floating-point coprocessor in the libstand context for

Re: svn commit: r249461 - head/sys/dev/ips

2013-04-16 Thread John Baldwin
On Saturday, April 13, 2013 10:42:40 pm Hiren Panchasara wrote: Author: hiren Date: Sun Apr 14 02:42:40 2013 New Revision: 249461 URL: http://svnweb.freebsd.org/changeset/base/249461 Log: Fixing a clang warning indicating uninitialized variable usage. PR: kern/177164 Approved

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

2013-04-16 Thread John Baldwin
On Sunday, April 14, 2013 5:11:20 pm Bryan Drewery wrote: Author: bdrewery (ports committer) Date: Sun Apr 14 21:11:19 2013 New Revision: 249489 URL: http://svnweb.freebsd.org/changeset/base/249489 Log: Run configtest before restarting so that the system is not left without a running

svn commit: r249554 - head/lib/libstand

2013-04-16 Thread Robert Watson
Author: rwatson Date: Tue Apr 16 17:20:52 2013 New Revision: 249554 URL: http://svnweb.freebsd.org/changeset/base/249554 Log: Use a suitable code generation when building libstand for MIPS. Reviewed by: imp Sponsored by: DARPA, AFRL MFC after:3 days Modified:

svn commit: r249555 - head/etc/rc.d

2013-04-16 Thread Bryan Drewery
Author: bdrewery (ports committer) Date: Tue Apr 16 17:30:13 2013 New Revision: 249555 URL: http://svnweb.freebsd.org/changeset/base/249555 Log: Also call configtest before reload to ensure working config. Approved by: jhb MFC after:1 week X-MFC-With: r249489 Modified:

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

2013-04-16 Thread Bryan Drewery
On 4/16/2013 11:20 AM, John Baldwin wrote: On Sunday, April 14, 2013 5:11:20 pm Bryan Drewery wrote: Author: bdrewery (ports committer) Date: Sun Apr 14 21:11:19 2013 New Revision: 249489 URL: http://svnweb.freebsd.org/changeset/base/249489 Log: Run configtest before restarting so that

svn commit: r249556 - head/sys/geom

2013-04-16 Thread Brooks Davis
Author: brooks Date: Tue Apr 16 17:47:13 2013 New Revision: 249556 URL: http://svnweb.freebsd.org/changeset/base/249556 Log: Partial MFP4 of 222836: Only look for FDT partitions if our potential parent is a DISK device. Excluding direct recursion on the flashmap geoms was insufficient

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

2013-04-16 Thread Mikolaj Golub
Author: trociny Date: Tue Apr 16 19:19:14 2013 New Revision: 249558 URL: http://svnweb.freebsd.org/changeset/base/249558 Log: Add a new set of notes to a process core dump to store procstat data. The notes format is a header of sizeof(int), which stores the size of the corresponding data

svn commit: r249559 - head/sys/netinet

2013-04-16 Thread Xin LI
Author: delphij Date: Tue Apr 16 19:25:41 2013 New Revision: 249559 URL: http://svnweb.freebsd.org/changeset/base/249559 Log: Don't leak lock when returning. PR: kern/177888 Submitted by: Sven-Thorsten Dietrich sven vyatta com MFC after:1 week Modified:

svn commit: r249562 - head/sys/netinet

2013-04-16 Thread Xin LI
Author: delphij Date: Tue Apr 16 19:32:12 2013 New Revision: 249562 URL: http://svnweb.freebsd.org/changeset/base/249562 Log: Fix incomplete printf. PR: kern/177889 Submitted by: Sven-Thorsten Dietrich sven vyatta com MFC after:1 week Modified:

svn commit: r249563 - in head/cddl/contrib/opensolaris: cmd/dtrace/test/tst/common/print lib/libdtrace/common

2013-04-16 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 16 19:39:27 2013 New Revision: 249563 URL: http://svnweb.freebsd.org/changeset/base/249563 Log: DTrace: print() should try to resolve function pointers Merge changes from illumos: 3675 DTrace print() should try to resolve function pointers 3676

svn commit: r249564 - head/sys/geom/label

2013-04-16 Thread Ivan Voras
Author: ivoras Date: Tue Apr 16 19:58:24 2013 New Revision: 249564 URL: http://svnweb.freebsd.org/changeset/base/249564 Log: Fix the buffer-overflow-fixing fixes. Pointy-hat to: me, for not realizing snprintf() is available in kernel. Thanks to: jh, for bringing me the good news of

Re: svn commit: r249564 - head/sys/geom/label

2013-04-16 Thread Dimitry Andric
On Apr 16, 2013, at 21:58, Ivan Voras ivo...@freebsd.org wrote: Author: ivoras Date: Tue Apr 16 19:58:24 2013 New Revision: 249564 URL: http://svnweb.freebsd.org/changeset/base/249564 Log: Fix the buffer-overflow-fixing fixes. ... + /* + * We can safely ignore

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

2013-04-16 Thread Adrian Chadd
Author: adrian Date: Tue Apr 16 20:21:02 2013 New Revision: 249565 URL: http://svnweb.freebsd.org/changeset/base/249565 Log: Use a per-RX-queue deferred list, rather than a single deferred list for both queues. Since ath_rx_pkt() does multi-mbuf frame recombining based on the RX queue,

svn commit: r249566 - in head: lib/libc/gen sys/kern

2013-04-16 Thread John Baldwin
Author: jhb Date: Tue Apr 16 20:26:31 2013 New Revision: 249566 URL: http://svnweb.freebsd.org/changeset/base/249566 Log: - Document that sem_wait() can fail with EINTR if it is interrupted by a signal. - Fix the old ksem implementation for POSIX semaphores to not restart sem_wait()

svn commit: r249567 - head/lib/libc/gen

2013-04-16 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Apr 16 20:31:15 2013 New Revision: 249567 URL: http://svnweb.freebsd.org/changeset/base/249567 Log: mdoc: remove superfluous paragraph macro. Modified: head/lib/libc/gen/sem_wait.3 Modified: head/lib/libc/gen/sem_wait.3

svn commit: r249568 - head/sys/net80211

2013-04-16 Thread Adrian Chadd
Author: adrian Date: Tue Apr 16 20:36:32 2013 New Revision: 249568 URL: http://svnweb.freebsd.org/changeset/base/249568 Log: Implement a utility function to return the current TX power cap for the given node. This takes into account the per-node cap, the ic cap and the per-channel

Re: svn commit: r249566 - in head: lib/libc/gen sys/kern

2013-04-16 Thread Jilles Tjoelker
On Tue, Apr 16, 2013 at 08:26:31PM +, John Baldwin wrote: Author: jhb Date: Tue Apr 16 20:26:31 2013 New Revision: 249566 URL: http://svnweb.freebsd.org/changeset/base/249566 Log: - Document that sem_wait() can fail with EINTR if it is interrupted by a signal. - Fix the old

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

2013-04-16 Thread Adrian Chadd
Author: adrian Date: Tue Apr 16 21:26:44 2013 New Revision: 249569 URL: http://svnweb.freebsd.org/changeset/base/249569 Log: Use the new net80211 method to fetch the node TX power, rather than directly referencing ni-ni_txpower. This provides the hardware with a slightly more accurate

svn commit: r249570 - head/sys/kern

2013-04-16 Thread Warner Losh
Author: imp Date: Tue Apr 16 22:09:08 2013 New Revision: 249570 URL: http://svnweb.freebsd.org/changeset/base/249570 Log: r249408 and r249436 cause a NULL pointer dereference on the CUBIEBOARD since it doesn't set the kernel envrionment at all. Work around this by making sure kern_envp is

svn commit: r249571 - head/sys/geom/label

2013-04-16 Thread Ivan Voras
Author: ivoras Date: Tue Apr 16 22:42:40 2013 New Revision: 249571 URL: http://svnweb.freebsd.org/changeset/base/249571 Log: Comment typo fix. Is aware of the importance of comments: dim Modified: head/sys/geom/label/g_label_disk_ident.c Modified:

Re: svn commit: r249564 - head/sys/geom/label

2013-04-16 Thread Ivan Voras
On 16 April 2013 22:01, Dimitry Andric d...@freebsd.org wrote: On Apr 16, 2013, at 21:58, Ivan Voras ivo...@freebsd.org wrote: Author: ivoras Date: Tue Apr 16 19:58:24 2013 New Revision: 249564 URL: http://svnweb.freebsd.org/changeset/base/249564 Log: Fix the buffer-overflow-fixing fixes.

svn commit: r249572 - head/usr.sbin/bhyve

2013-04-16 Thread Neel Natu
Author: neel Date: Wed Apr 17 02:03:12 2013 New Revision: 249572 URL: http://svnweb.freebsd.org/changeset/base/249572 Log: Setup accesses to the memory hole below 4GB to return all 1's on read and consume all writes without any side effects. Obtained from:NetApp Modified:

svn commit: r249573 - in head: cddl/contrib/opensolaris/cmd/dtrace cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs cddl/contrib/opensol...

2013-04-16 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 17 02:20:17 2013 New Revision: 249573 URL: http://svnweb.freebsd.org/changeset/base/249573 Log: DTrace: Revert r249367 The following change from illumos brought caused DTrace to pause in an interactive environment: 3026 libdtrace should set LD_NOLAZYLOAD=1

svn commit: r249574 - head/sys/dev/aic7xxx

2013-04-16 Thread Neel Natu
Author: neel Date: Wed Apr 17 02:33:56 2013 New Revision: 249574 URL: http://svnweb.freebsd.org/changeset/base/249574 Log: Correct misleading bootverbose output: ahc_isa_probe - ahc_isa_identify Modified: head/sys/dev/aic7xxx/ahc_isa.c Modified: head/sys/dev/aic7xxx/ahc_isa.c

svn commit: r249575 - in head/cddl/contrib/opensolaris: cmd/dtrace/test/tst/common/funcs cmd/dtrace/test/tst/common/pointers cmd/dtrace/test/tst/common/print cmd/dtrace/test/tst/common/safety cmd/d...

2013-04-16 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 17 02:40:07 2013 New Revision: 249575 URL: http://svnweb.freebsd.org/changeset/base/249575 Log: DTrace: Revert r249426 This change actually depends on r249367 which had to be reverted Pointy Hat: pfg Deleted: