svn commit: r226415 - in head/lib/msun: amd64 arm i387 ia64 mips powerpc sparc64

2011-10-15 Thread David Schultz
Author: das Date: Sun Oct 16 05:37:56 2011 New Revision: 226415 URL: http://svn.freebsd.org/changeset/base/226415 Log: Use #include "fenv.h" instead of #include . This makes it more convenient to compile the math library by itself. Requested by: bde Modified: head/lib/msun/amd64/fenv.

svn commit: r226414 - head/lib/msun/bsdsrc

2011-10-15 Thread David Schultz
Author: das Date: Sun Oct 16 05:37:20 2011 New Revision: 226414 URL: http://svn.freebsd.org/changeset/base/226414 Log: Fix some non-standard variable declarations. Modified: head/lib/msun/bsdsrc/b_exp.c Modified: head/lib/msun/bsdsrc/b_exp.c ==

svn commit: r226413 - head/lib/msun/src

2011-10-15 Thread David Schultz
Author: das Date: Sun Oct 16 05:37:01 2011 New Revision: 226413 URL: http://svn.freebsd.org/changeset/base/226413 Log: Optimize the case of pure imaginary arguments. Calls like this are common, e.g., in DFT implementations. Discussed with: bde, kargl Modified: head/lib/msun/src/

svn commit: r226412 - head/lib/msun/src

2011-10-15 Thread David Schultz
Author: das Date: Sun Oct 16 05:36:39 2011 New Revision: 226412 URL: http://svn.freebsd.org/changeset/base/226412 Log: Move the macros GET_LDBL_EXPSIGN() and SET_LDBL_EXPSIGN() into math_private.h, so they can be used elsewhere in the math library. Modified: head/lib/msun/src/e_hypotl.c h

svn commit: r226411 - head/lib/msun/src

2011-10-15 Thread David Schultz
Author: das Date: Sun Oct 16 05:36:23 2011 New Revision: 226411 URL: http://svn.freebsd.org/changeset/base/226411 Log: Remove an unused variable. Modified: head/lib/msun/src/e_log10f.c Modified: head/lib/msun/src/e_log10f.c

Re: svn commit: r226410 - head/sys/powerpc/powerpc

2011-10-15 Thread Adrian Chadd
Thanks! I'm going to eventually fix the ath driver to always call bus_space_barrier() when doing stream bus calls. It's likely worthwhile doing a check to see which other drivers use the stream calls? Adrian ___ svn-src-all@freebsd.org mailing list ht

Re: svn commit: r226405 - in stable/9: . etc/defaults lib/libc/stdlib sys/amd64/conf sys/i386/conf sys/ia64/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2011-10-15 Thread Adrian Chadd
Hi! Would you consider leaving these in but just commenting them out? That way if a user hits a deadlock or memory corruption issue, we can just say "uncomment the section marked _debugging_ in your config file." Thanks, Adrian ___ svn-src-all@freeb

svn commit: r226410 - head/sys/powerpc/powerpc

2011-10-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 15 23:15:55 2011 New Revision: 226410 URL: http://svn.freebsd.org/changeset/base/226410 Log: Enforce a memory barrier in stream operations, as is done on other bus_space calls. This makes ath(4) work correctly on PowerPC. Submitted by: adrian Tested by:

svn commit: r226409 - stable/9/usr.bin/clang/clang

2011-10-15 Thread Dimitry Andric
Author: dim Date: Sat Oct 15 23:13:24 2011 New Revision: 226409 URL: http://svn.freebsd.org/changeset/base/226409 Log: MFC r226311: Add link from clang to clang-cpp, so you can use CPP=clang-cpp in Makefiles. Also add a manpage symlink for it. Approved by: re (kib) Modified: sta

svn commit: r226408 - stable/9/usr.bin/clang/clang

2011-10-15 Thread Dimitry Andric
Author: dim Date: Sat Oct 15 23:09:21 2011 New Revision: 226408 URL: http://svn.freebsd.org/changeset/base/226408 Log: MFC r226310: Add manpage symlink for clang++(1). PR: docs/149051 Approved by: re (kib) Modified: stable/9/usr.bin/clang/clang/Makefile Directory Proper

svn commit: r226407 - stable/9/sys/kern

2011-10-15 Thread Robert Watson
Author: rwatson Date: Sat Oct 15 22:27:59 2011 New Revision: 226407 URL: http://svn.freebsd.org/changeset/base/226407 Log: Merge r226301 from head to stable/9: Correct a bug in export of capability-related information from the sysctls supporting procstat -f: properly provide capabilit

svn commit: r226406 - head/sys/dev/siba

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 22:27:35 2011 New Revision: 226406 URL: http://svn.freebsd.org/changeset/base/226406 Log: Properly free resources in case of an error. CID: 4222 Found with: Coverity Prevent(tm) MFC after:1 week Modified: head/sys/dev/siba/siba_bwn.c

svn commit: r226405 - in stable/9: . etc/defaults lib/libc/stdlib sys/amd64/conf sys/i386/conf sys/ia64/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2011-10-15 Thread Ken Smith
Author: kensmith Date: Sat Oct 15 21:23:04 2011 New Revision: 226405 URL: http://svn.freebsd.org/changeset/base/226405 Log: Remove extra debuggin gsupport that is turned on for head but turned off for stable branches: - shift to MALLOC_PRODUCTION - turn off automatic crash d

Re: svn commit: r226402 - head/sys/netinet

2011-10-15 Thread Nikolay Denev
On Oct 15, 2011, at 9:41 PM, Gleb Smirnoff wrote: > Author: glebius > Date: Sat Oct 15 18:41:25 2011 > New Revision: 226402 > URL: http://svn.freebsd.org/changeset/base/226402 > > Log: > Add support for IPv4 /31 prefixes, as described in RFC3021. > > To run a /31 network, participating hosts

svn commit: r226404 - head/sys/dev/puc

2011-10-15 Thread Eitan Adler
Author: eadler (ports committer) Date: Sat Oct 15 21:06:08 2011 New Revision: 226404 URL: http://svn.freebsd.org/changeset/base/226404 Log: - add support for I-O DATA RSA-PCI2/R PR: kern/142999 Submitted by: Takefu Kenji Approved by: jhb Approved by: sahil (mentor) MFC

Re: svn commit: r226343 - head/sys/vm

2011-10-15 Thread Marcel Moolenaar
On Oct 15, 2011, at 5:39 AM, Kostik Belousov wrote: >> >>> I want to commit the following refinement: >> >> The patch is good. > Thanks, committed. Thanks! -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-all@freebsd.org mailing list http://lists

svn commit: r226403 - head/usr.bin/script

2011-10-15 Thread Mikolaj Golub
Author: trociny Date: Sat Oct 15 19:08:22 2011 New Revision: 226403 URL: http://svn.freebsd.org/changeset/base/226403 Log: In r225809 the intention was to send VEOF only once if STDIN was not a terminal. Unfortunately the fix was incorrect and for flushtime > 0 it keept sending VEOF. Se

svn commit: r226402 - head/sys/netinet

2011-10-15 Thread Gleb Smirnoff
Author: glebius Date: Sat Oct 15 18:41:25 2011 New Revision: 226402 URL: http://svn.freebsd.org/changeset/base/226402 Log: Add support for IPv4 /31 prefixes, as described in RFC3021. To run a /31 network, participating hosts MUST drop support for directed broadcasts, and treat the first a

svn commit: r226401 - head/sys/netinet

2011-10-15 Thread Gleb Smirnoff
Author: glebius Date: Sat Oct 15 16:28:06 2011 New Revision: 226401 URL: http://svn.freebsd.org/changeset/base/226401 Log: Remove last remnants of classful addressing: - Remove ia_net, ia_netmask, ia_netbroadcast from struct in_ifaddr. - Remove net.inet.ip.subnetsarelocal, I bet no one ne

svn commit: r226398 - head/sys/dev/iicbus

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 15:57:55 2011 New Revision: 226398 URL: http://svn.freebsd.org/changeset/base/226398 Log: Properly free resources in an error case. CID: 4203 Found with: Coverity Prevent(tm) MFC after:1 week Modified: head/sys/dev/iicbus/iic.c Modifi

svn commit: r226396 - head/usr.bin/systat

2011-10-15 Thread Ed Schouten
Author: ed Date: Sat Oct 15 13:20:36 2011 New Revision: 226396 URL: http://svn.freebsd.org/changeset/base/226396 Log: Fix whitespace inconsistencies in systat(1). According to md5(1), the resulting binary is the same. Modified: head/usr.bin/systat/cmds.c head/usr.bin/systat/cmdtab.c

svn commit: r226395 - stable/8/sys/dev/siba

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 13:12:48 2011 New Revision: 226395 URL: http://svn.freebsd.org/changeset/base/226395 Log: MFC: r226149 Fix an infinite loop in siba_bwn_suspend(). Modified: stable/8/sys/dev/siba/siba_bwn.c Directory Properties: stable/8/sys/ (props changed) stable

svn commit: r226394 - stable/8/sys/dev/bwn

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 13:08:54 2011 New Revision: 226394 URL: http://svn.freebsd.org/changeset/base/226394 Log: MFC: r226146 Remove dead code, "error" doesn't change between this check and the previous one. Modified: stable/8/sys/dev/bwn/if_bwn.c Directory Properties: sta

svn commit: r226393 - stable/7/sys/netipsec

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 13:05:31 2011 New Revision: 226393 URL: http://svn.freebsd.org/changeset/base/226393 Log: MFC: r226117 Add missing va_end() in an error case to clean up after va_start() (already done in the non-error case). Modified: stable/7/sys/netipsec/key.c Direct

svn commit: r226392 - stable/8/sys/netipsec

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 13:03:25 2011 New Revision: 226392 URL: http://svn.freebsd.org/changeset/base/226392 Log: MFC: r226117 Add missing va_end() in an error case to clean up after va_start() (already done in the non-error case). Modified: stable/8/sys/netipsec/key.c Direct

svn commit: r226391 - stable/7/sys/dev/ppbus

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 12:59:30 2011 New Revision: 226391 URL: http://svn.freebsd.org/changeset/base/226391 Log: MFC: r226116 Add missing va_end() to clean up after va_start(). Modified: stable/7/sys/dev/ppbus/ppb_msq.c Directory Properties: stable/7/sys/ (props changed)

svn commit: r226390 - stable/8/sys/dev/ppbus

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 12:53:16 2011 New Revision: 226390 URL: http://svn.freebsd.org/changeset/base/226390 Log: MFC: r226116 Add missing va_end() to clean up after va_start(). Modified: stable/8/sys/dev/ppbus/ppb_msq.c Directory Properties: stable/8/sys/ (props changed)

Re: svn commit: r226343 - head/sys/vm

2011-10-15 Thread Kostik Belousov
On Fri, Oct 14, 2011 at 02:35:15PM -0700, Marcel Moolenaar wrote: > > On Oct 14, 2011, at 11:24 AM, Kostik Belousov wrote: > >>> > > After more thought about the issue, I do not agree with you. > > Elf specification says about the PF_R flag that only read permission > > for the memory image of th

svn commit: r226389 - stable/9/sys/dev/siba

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 12:35:58 2011 New Revision: 226389 URL: http://svn.freebsd.org/changeset/base/226389 Log: MFC: r226149 Fix an infinite loop in siba_bwn_suspend(). Approved by: re (kib) Modified: stable/9/sys/dev/siba/siba_bwn.c Directory Properties: stable/9/sys

svn commit: r226388 - in head/sys: compat/freebsd32 kern sys vm

2011-10-15 Thread Konstantin Belousov
Author: kib Date: Sat Oct 15 12:35:18 2011 New Revision: 226388 URL: http://svn.freebsd.org/changeset/base/226388 Log: Control the execution permission of the readable segments for i386 binaries on the amd64 and ia64 with the sysctl, instead of unconditionally enabling it. Reviewed by:

svn commit: r226387 - stable/9/sys/dev/bwn

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 12:33:24 2011 New Revision: 226387 URL: http://svn.freebsd.org/changeset/base/226387 Log: MFC: r226146 Remove dead code, "error" doesn't change between this check and the previous one. Approved by: re (kib) Modified: stable/9/sys/dev/bwn/if_bwn.c

svn commit: r226386 - stable/9/sys/netipsec

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 12:10:34 2011 New Revision: 226386 URL: http://svn.freebsd.org/changeset/base/226386 Log: MFC: r226117 Add missing va_end() in an error case to clean up after va_start() (already done in the non-error case). Approved by: re (kib) Modified: stable

svn commit: r226385 - stable/9/sys/dev/ppbus

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 12:08:21 2011 New Revision: 226385 URL: http://svn.freebsd.org/changeset/base/226385 Log: MFC: r226116 Add missing va_end() to clean up after va_start(). Approved by: re (kib) Modified: stable/9/sys/dev/ppbus/ppb_msq.c Directory Properties: stabl

svn commit: r226384 - stable/9/sys/security/mac_mls

2011-10-15 Thread Christian Brueffer
Author: brueffer Date: Sat Oct 15 12:05:42 2011 New Revision: 226384 URL: http://svn.freebsd.org/changeset/base/226384 Log: MFC: r226143 Remove two dublicated assignments. Approved by: re (kib) Modified: stable/9/sys/security/mac_mls/mac_mls.c Directory Properties: stable/9/sys/

svn commit: r226383 - stable/8/libexec/rtld-elf/i386

2011-10-15 Thread Konstantin Belousov
Author: kib Date: Sat Oct 15 12:05:31 2011 New Revision: 226383 URL: http://svn.freebsd.org/changeset/base/226383 Log: MFC r226156: Handle the R_386_TLS_TPOFF32 relocation. Modified: stable/8/libexec/rtld-elf/i386/reloc.c Directory Properties: stable/8/libexec/rtld-elf/ (props changed)

svn commit: r226382 - stable/8/libexec/rtld-elf

2011-10-15 Thread Konstantin Belousov
Author: kib Date: Sat Oct 15 12:02:55 2011 New Revision: 226382 URL: http://svn.freebsd.org/changeset/base/226382 Log: MFC r226155: Set TLS block for the main thread after the relocations are processed. Modified: stable/8/libexec/rtld-elf/rtld.c Directory Properties: stable/8/libexec/rtld

Re: svn commit: r226375 - head/lib/msun/src

2011-10-15 Thread Bruce Evans
On Sat, 15 Oct 2011, David Schultz wrote: Log: Style fixes and updates to comments. Submitted by: bde Thanks for all the libm commits. Bruce ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubs

svn commit: r226381 - in head/sys: dev/esp sparc64/sbus

2011-10-15 Thread Marius Strobl
Author: marius Date: Sat Oct 15 09:29:43 2011 New Revision: 226381 URL: http://svn.freebsd.org/changeset/base/226381 Log: Merge from NetBSD: - Remove clause 3 and 4 from TNF licenses. - Fix memset usage. - Various cleanup. - Kill caddr_t. Modified: head/sys/dev/esp/esp_sbus.c head/s

svn commit: r226380 - head/lib/msun/src

2011-10-15 Thread David Schultz
Author: das Date: Sat Oct 15 07:00:28 2011 New Revision: 226380 URL: http://svn.freebsd.org/changeset/base/226380 Log: Remove some unnecessary initializations. Obtained from:DragonFlyBSD Modified: head/lib/msun/src/e_hypot.c head/lib/msun/src/e_hypotf.c head/lib/msun/src/e_lg