svn commit: r200020 - head/sys/netinet

2009-12-02 Thread Luigi Rizzo
Author: luigi Date: Wed Dec 2 08:52:06 2009 New Revision: 200020 URL: http://svn.freebsd.org/changeset/base/200020 Log: change the type of the opcode from enum *:8 to u_int8_t so the size and alignment of the ipfw_insn is not compiler dependent. No changes in the code generated by gcc.

Re: svn: stable/7/sys: conf dev/bce

2009-12-02 Thread Maxim Sobolev
Attila Nagy wrote: Maxim Sobolev wrote: Stanislav Sedov wrote: On Mon, 30 Nov 2009 13:25:03 -0800 Maxim Sobolev mentioned: Can we change the name then? We've seen the similar issue without the jumbo frames, which made me wonder. It's strange, because 'normal' frames are less than a page si

Re: svn commit: r199827 - in head: include lib/libc/compat-43 sys/sys

2009-12-02 Thread Dima Panov
On Thursday 26 November 2009 23:49:38 Konstantin Belousov wrote: > Author: kib > Date: Thu Nov 26 13:49:37 2009 > New Revision: 199827 > URL: http://svn.freebsd.org/changeset/base/199827 > > Log: > Implement sighold, sigignore, sigpause, sigrelse, sigset functions > from SUSv4 XSI. Note that t

svn commit: r200021 - in stable/8/sys/cam: . scsi

2009-12-02 Thread Alexander Motin
Author: mav Date: Wed Dec 2 10:10:37 2009 New Revision: 200021 URL: http://svn.freebsd.org/changeset/base/200021 Log: MFC r199279, r199280, r199281: - Fix several device freeze counting bugs. - Remove code that years ago was closing race between request submission to SIM and device/SIM fr

svn commit: r200022 - in stable/8: . contrib/top lib/libusb sbin/camcontrol sys/cam sys/cam/ata sys/dev/ahci sys/dev/siis tools/regression/lib/msun tools/regression/usr.bin/pkill tools/tools/ath/co...

2009-12-02 Thread Alexander Motin
Author: mav Date: Wed Dec 2 10:32:34 2009 New Revision: 200022 URL: http://svn.freebsd.org/changeset/base/200022 Log: MFC r199747, r199799, r199821: - Extend XPT-SIM transfer settings control API. Now it allows to report to SATA SIM number of tags supported by each device, implement ATA mod

svn commit: r200023 - head/sys/netinet

2009-12-02 Thread Luigi Rizzo
Author: luigi Date: Wed Dec 2 10:36:41 2009 New Revision: 200023 URL: http://svn.freebsd.org/changeset/base/200023 Log: Add new sockopt names for ipfw and dummynet. This commit is just grabbing entries for the new names that will be used in the future, so you don't need to rebuild anyt

svn commit: r200024 - in stable/8: . contrib/top lib/libusb sbin/atacontrol sys/conf sys/dev/ata sys/modules/ata/atausb sys/sys tools/regression/lib/msun tools/regression/usr.bin/pkill tools/tools/...

2009-12-02 Thread Alexander Motin
Author: mav Date: Wed Dec 2 10:47:11 2009 New Revision: 200024 URL: http://svn.freebsd.org/changeset/base/200024 Log: MFC r199822: Drop USB mass storage devices support from ata(4). It is out of the build as long as I remember, and completely superseded by better maintained umass(4). It's

svn commit: r200025 - stable/8/sbin/atacontrol

2009-12-02 Thread Alexander Motin
Author: mav Date: Wed Dec 2 12:26:26 2009 New Revision: 200025 URL: http://svn.freebsd.org/changeset/base/200025 Log: MFC r199644: Add some missing WDMA/UDMA modes. Modified: stable/8/sbin/atacontrol/atacontrol.c Directory Properties: stable/8/sbin/atacontrol/ (props changed) Modif

svn commit: r200026 - head/sys/netinet

2009-12-02 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 2 13:24:21 2009 New Revision: 200026 URL: http://svn.freebsd.org/changeset/base/200026 Log: Until this moment carp(4) used a strange logging priority. It used debug priority for such important information as MASTER/BACKUP state change, and used a normal logging

Re: svn commit: r199827 - in head: include lib/libc/compat-43 sys/sys

2009-12-02 Thread Kostik Belousov
On Wed, Dec 02, 2009 at 07:25:56PM +1000, Dima Panov wrote: > On Thursday 26 November 2009 23:49:38 Konstantin Belousov wrote: > > Author: kib > > Date: Thu Nov 26 13:49:37 2009 > > New Revision: 199827 > > URL: http://svn.freebsd.org/changeset/base/199827 > > > > Log: > > Implement sighold, sig

svn commit: r200027 - head/sys/netinet/ipfw

2009-12-02 Thread Hajimu UMEMOTO
Author: ume Date: Wed Dec 2 14:32:01 2009 New Revision: 200027 URL: http://svn.freebsd.org/changeset/base/200027 Log: Teach an IPv6 to send_pkt() and ipfw_tick(). It fixes the issue which keep-alive doesn't work for an IPv6. PR: kern/117234 Submitted by: mlaier, Joost Bekkers

svn commit: r200028 - in head: . etc etc/defaults etc/rc.d

2009-12-02 Thread Hajimu UMEMOTO
/ObsoleteFiles.inc Wed Dec 2 14:32:01 2009(r200027) +++ head/ObsoleteFiles.inc Wed Dec 2 15:05:26 2009(r200028) @@ -14,6 +14,9 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20091202: unify rc.firewall and rc.firewall6. +OLD_FILES+=etc/rc.d

svn commit: r200029 - head/sys/netinet/ipfw

2009-12-02 Thread Luigi Rizzo
Author: luigi Date: Wed Dec 2 15:20:31 2009 New Revision: 200029 URL: http://svn.freebsd.org/changeset/base/200029 Log: small changes for portability and diff reduction wrt/ FreeBSD 7. No functional differences. - use the div64() macro to wrap 64 bit divisions (which almost always ar

svn commit: r200030 - stable/7/sys/vm

2009-12-02 Thread John Baldwin
Author: jhb Date: Wed Dec 2 15:24:57 2009 New Revision: 200030 URL: http://svn.freebsd.org/changeset/base/200030 Log: MFC 194429: Add support for UMA_SLAB_KERNEL to page_free(). (While I'm here remove an unnecessary newline character from the end of two panic messages.) Modified: stable

svn commit: r200031 - stable/8/usr.bin/unifdef

2009-12-02 Thread Tony Finch
Author: fanf Date: Wed Dec 2 15:30:53 2009 New Revision: 200031 URL: http://svn.freebsd.org/changeset/base/200031 Log: MFC 199813, 199817, 199842, 199867: Update unifdef to latest upstream version. Modified: stable/8/usr.bin/unifdef/unifdef.1 stable/8/usr.bin/unifdef/unifdef.c stabl

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-02 Thread Sean C. Farley
On Tue, 1 Dec 2009, M. Warner Losh wrote: In message: Robert Watson writes: : On Mon, 30 Nov 2009, Colin Percival wrote: : : > Brian Feldman wrote: : >> Do not gratuitously fail *env(3) operations due to corrupt ('='-less) : >> **environ entries. This puts non-getenv(3) operati

svn commit: r200032 - stable/7/usr.bin/unifdef

2009-12-02 Thread Tony Finch
Author: fanf Date: Wed Dec 2 15:34:13 2009 New Revision: 200032 URL: http://svn.freebsd.org/changeset/base/200032 Log: MFC 199813, 199817, 199842, 199867: Update unifdef to latest upstream version. Modified: stable/7/usr.bin/unifdef/unifdef.1 stable/7/usr.bin/unifdef/unifdef.c stabl

Re: svn commit: r200030 - stable/7/sys/vm

2009-12-02 Thread John Baldwin
On Wednesday 02 December 2009 10:24:57 am John Baldwin wrote: > Author: jhb > Date: Wed Dec 2 15:24:57 2009 > New Revision: 200030 > URL: http://svn.freebsd.org/changeset/base/200030 > > Log: > MFC 194429: > Add support for UMA_SLAB_KERNEL to page_free(). (While I'm here remove an > unnece

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

2009-12-02 Thread Andriy Gapon
Author: avg Date: Wed Dec 2 15:45:55 2009 New Revision: 200033 URL: http://svn.freebsd.org/changeset/base/200033 Log: mca: improve status checking, recording and reporting - directly print mca information in case we fail to allocate memory for a record - include bank number into mca

svn commit: r200034 - head/sys/netinet

2009-12-02 Thread Luigi Rizzo
Author: luigi Date: Wed Dec 2 15:50:43 2009 New Revision: 200034 URL: http://svn.freebsd.org/changeset/base/200034 Log: Dispatch sockopt calls to ipfw and dummynet using the new option numbers, IP_FW3 and IP_DUMMYNET3. Right now the modules return an error if called with those arguments s

svn commit: r200035 - head/lib/libutil

2009-12-02 Thread Ed Schouten
Author: ed Date: Wed Dec 2 15:56:18 2009 New Revision: 200035 URL: http://svn.freebsd.org/changeset/base/200035 Log: Make work when included by itself. There are several reasons why it didn't work: - It was missing for __BEGIN_DECLS. - It uses various primitive types that were not

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

2009-12-02 Thread Scott Long
Author: scottl Date: Wed Dec 2 16:08:33 2009 New Revision: 200036 URL: http://svn.freebsd.org/changeset/base/200036 Log: Fix several cases where the periph lock was held over malloc. Submitted by: Jaakko Heinonen Modified: head/sys/cam/scsi/scsi_cd.c Modified: head/sys/cam/scsi/scsi_cd

Re: svn commit: r199827 - in head: include lib/libc/compat-43 sys/sys

2009-12-02 Thread M. Warner Losh
In message: <20091202132904.gh2...@deviant.kiev.zoral.com.ua> Kostik Belousov writes: : On Wed, Dec 02, 2009 at 07:25:56PM +1000, Dima Panov wrote: : > On Thursday 26 November 2009 23:49:38 Konstantin Belousov wrote: : > > Author: kib : > > Date: Thu Nov 26 13:49:37 2009 : > > New Revi

svn commit: r200037 - head/sys/dev/if_ndis

2009-12-02 Thread John Baldwin
Author: jhb Date: Wed Dec 2 16:26:18 2009 New Revision: 200037 URL: http://svn.freebsd.org/changeset/base/200037 Log: ndis_scan_results() can sleep if the scan results are not ready when ndis_scan() is called. However, ndis_scan() is invoked from softclock() and cannot sleep. Move ndis_sc

svn commit: r200038 - in head: contrib/gcc/config lib/csu/amd64 lib/csu/arm lib/csu/i386-elf lib/csu/ia64 lib/csu/mips lib/csu/powerpc lib/csu/sparc64

2009-12-02 Thread Konstantin Belousov
Author: kib Date: Wed Dec 2 16:34:20 2009 New Revision: 200038 URL: http://svn.freebsd.org/changeset/base/200038 Log: Properly support -fPIE by linking PIE binaries with specially-built Scrt1.o instead of crt1.o, since the later is built as non-PIC. Separate i386-elf crt1.c into the pure

svn commit: r200039 - head/sys/sys

2009-12-02 Thread Konstantin Belousov
Author: kib Date: Wed Dec 2 16:40:23 2009 New Revision: 200039 URL: http://svn.freebsd.org/changeset/base/200039 Log: Bump __FreeBSD_version for sigpause(3) addition [1] and PIE support in csu. Requested by: fluffy [1] Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ===

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-02 Thread Brian Fundakowski Feldman
On Wed, Dec 02, 2009 at 09:33:29AM -0600, Sean C. Farley wrote: > On Tue, 1 Dec 2009, M. Warner Losh wrote: > >> In message: >>Robert Watson writes: >> : On Mon, 30 Nov 2009, Colin Percival wrote: >> : >> : > Brian Feldman wrote: >> : >> Do not gratuitously fail *env(3) operations

svn commit: r200040 - head/sys/netinet/ipfw

2009-12-02 Thread Luigi Rizzo
Author: luigi Date: Wed Dec 2 17:50:52 2009 New Revision: 200040 URL: http://svn.freebsd.org/changeset/base/200040 Log: - initialize src_ip in the main loop to prevent a compiler warning (gcc 4.x under linux, not sure how real is the complaint). - rename a macro argument to prevent name c

svn commit: r200041 - head/sys/fs/portalfs

2009-12-02 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Dec 2 18:09:22 2009 New Revision: 200041 URL: http://svn.freebsd.org/changeset/base/200041 Log: Don't use ap->a_td->td_ucred when we were passed ap->a_cred. Modified: head/sys/fs/portalfs/portal_vnops.c Modified: head/sys/fs/portalfs/portal_vnops.c ==

svn commit: r200042 - head/share/man/man9

2009-12-02 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Dec 2 18:11:14 2009 New Revision: 200042 URL: http://svn.freebsd.org/changeset/base/200042 Log: Add missing parameter description. Modified: head/share/man/man9/VOP_OPENCLOSE.9 Modified: head/share/man/man9/VOP_OPENCLOSE.9

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-02 Thread M. Warner Losh
In message: "Sean C. Farley" writes: : On Tue, 1 Dec 2009, M. Warner Losh wrote: : : > In message: : >Robert Watson writes: : > : On Mon, 30 Nov 2009, Colin Percival wrote: : > : : > : > Brian Feldman wrote: : > : >> Do not gratuitously fail *env(3) operations due to

svn commit: r200043 - stable/8/games/factor

2009-12-02 Thread Tony Finch
Author: fanf Date: Wed Dec 2 19:28:55 2009 New Revision: 200043 URL: http://svn.freebsd.org/changeset/base/200043 Log: MFC 199815: Fix performance bugs in factor(6). Modified: stable/8/games/factor/factor.c Directory Properties: stable/8/games/factor/ (props changed) Modified: stab

svn commit: r200044 - stable/7/games/factor

2009-12-02 Thread Tony Finch
Author: fanf Date: Wed Dec 2 19:30:33 2009 New Revision: 200044 URL: http://svn.freebsd.org/changeset/base/200044 Log: MFC 199815: Fix performance bugs in factor(6). Modified: stable/7/games/factor/factor.c Directory Properties: stable/7/games/factor/ (props changed) Modified: stab

svn commit: r200045 - head/sys/dev/iir

2009-12-02 Thread Marcel Moolenaar
Author: marcel Date: Wed Dec 2 20:24:37 2009 New Revision: 200045 URL: http://svn.freebsd.org/changeset/base/200045 Log: Include , to get the declarations of ostype and osrelease. Remove the duplicate declarations from this file. Modified: head/sys/dev/iir/iir_ctrl.c Modified: head/sys/de

svn commit: r200046 - in head/sys: i386/conf pc98/conf

2009-12-02 Thread Andrew Thompson
Author: thompsa Date: Wed Dec 2 21:22:10 2009 New Revision: 200046 URL: http://svn.freebsd.org/changeset/base/200046 Log: Fix cut'n paste on the AR9280 entry. Submitted by: pluknet Modified: head/sys/i386/conf/NOTES head/sys/pc98/conf/NOTES Modified: head/sys/i386/conf/NOTES

svn commit: r200047 - stable/8/usr.bin/gzip

2009-12-02 Thread Xin LI
Author: delphij Date: Wed Dec 2 21:58:00 2009 New Revision: 200047 URL: http://svn.freebsd.org/changeset/base/200047 Log: MFC r199066 + 199339: Apply a NetBSD fix (revision 1.12) to handle multi-session bzip2 files as created by pbzip2. Modified: stable/8/usr.bin/gzip/unbzip2.c Direct

svn commit: r200048 - stable/7/usr.bin/gzip

2009-12-02 Thread Xin LI
Author: delphij Date: Wed Dec 2 21:58:34 2009 New Revision: 200048 URL: http://svn.freebsd.org/changeset/base/200048 Log: MFC r199066 + 199339: Apply a NetBSD fix (revision 1.12) to handle multi-session bzip2 files as created by pbzip2. Modified: stable/7/usr.bin/gzip/unbzip2.c Direct

svn commit: r200051 - in head/sys/ia64: ia64 include

2009-12-02 Thread Marcel Moolenaar
Author: marcel Date: Thu Dec 3 04:06:48 2009 New Revision: 200051 URL: http://svn.freebsd.org/changeset/base/200051 Log: Make sure bus space accesses use unorder memory loads and stores. Memory accesses are posted in program order by virtue of the uncacheable memory attribute. Since GCC,