svn commit: r189362 - in head/sys: amd64/linux32 compat/linux i386/linux

2009-03-04 Thread Dmitry Chagin
Author: dchagin Date: Wed Mar 4 12:14:33 2009 New Revision: 189362 URL: http://svn.freebsd.org/changeset/base/189362 Log: Add AT_PLATFORM, AT_HWCAP and AT_CLKTCK auxiliary vector entries which are used by glibc. This silents the message "2.4+ kernel w/o ELF notes?" from some programs at sta

Re: svn commit: r189362 - in head/sys: amd64/linux32 compat/linux i386/linux

2009-03-04 Thread Roman Divacky
On Wed, Mar 04, 2009 at 12:14:33PM +, Dmitry Chagin wrote: > Author: dchagin > Date: Wed Mar 4 12:14:33 2009 > New Revision: 189362 > URL: http://svn.freebsd.org/changeset/base/189362 > > Log: > Add AT_PLATFORM, AT_HWCAP and AT_CLKTCK auxiliary vector entries which > are used by glibc. Th

Re: svn commit: r189362 - in head/sys: amd64/linux32 compat/linux i386/linux

2009-03-04 Thread Chagin Dmitry
On Wed, Mar 04, 2009 at 02:23:06PM +0100, Roman Divacky wrote: > On Wed, Mar 04, 2009 at 12:14:33PM +, Dmitry Chagin wrote: > > Author: dchagin > > Date: Wed Mar 4 12:14:33 2009 > > New Revision: 189362 > > URL: http://svn.freebsd.org/changeset/base/189362 > > > > Log: > > Add AT_PLATFORM,

Re: svn commit: r189362 - in head/sys: amd64/linux32 compat/linux i386/linux

2009-03-04 Thread Roman Divacky
On Wed, Mar 04, 2009 at 04:46:39PM +0300, Chagin Dmitry wrote: > On Wed, Mar 04, 2009 at 02:23:06PM +0100, Roman Divacky wrote: > > On Wed, Mar 04, 2009 at 12:14:33PM +, Dmitry Chagin wrote: > > > Author: dchagin > > > Date: Wed Mar 4 12:14:33 2009 > > > New Revision: 189362 > > > URL: http://

svn commit: r189363 - head/sys/fs/udf

2009-03-04 Thread Andriy Gapon
Author: avg Date: Wed Mar 4 13:53:57 2009 New Revision: 189363 URL: http://svn.freebsd.org/changeset/base/189363 Log: udf_strategy: remove redundant comment We fail mapping for any udf_bmap_internal error and there can be different reasons for it, so no need to (over-)emphasize files wit

svn commit: r189364 - head/sys/fs/udf

2009-03-04 Thread Andriy Gapon
Author: avg Date: Wed Mar 4 13:54:10 2009 New Revision: 189364 URL: http://svn.freebsd.org/changeset/base/189364 Log: udf: use truly unique directory cookie 'off' is an offset within current block, so there is a good chance it can be non-unique, so use complete offset. Submitted by:

svn commit: r189365 - head/include

2009-03-04 Thread David Schultz
Author: das Date: Wed Mar 4 15:45:34 2009 New Revision: 189365 URL: http://svn.freebsd.org/changeset/base/189365 Log: Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes. Submitted by: Pawel Worach Modified: head/include/wchar.h Modified: head/include/wchar.h ==

svn commit: r189367 - head/sys/dev/pci

2009-03-04 Thread Robert Noland
Author: rnoland Date: Wed Mar 4 18:23:48 2009 New Revision: 189367 URL: http://svn.freebsd.org/changeset/base/189367 Log: Extend the management of PCIM_CMD_INTxDIS. We now explicitly enable INTx during bus_setup_intr() if it is needed. Several of the ata drivers were managing this bit in

svn commit: r189368 - head/sys/dev/ata/chipsets

2009-03-04 Thread Robert Noland
Author: rnoland Date: Wed Mar 4 18:25:39 2009 New Revision: 189368 URL: http://svn.freebsd.org/changeset/base/189368 Log: Remove the local management of INTx as this is now taken care of by pci. Reviewed by: jhb MFC after:3 days Modified: head/sys/dev/ata/chipsets/ata-acerlabs.c

svn commit: r189369 - head/usr.sbin/IPXrouted

2009-03-04 Thread Ed Schouten
Author: ed Date: Wed Mar 4 18:36:48 2009 New Revision: 189369 URL: http://svn.freebsd.org/changeset/base/189369 Log: Make IPXrouted compile using Clang by using ANSI function declarations. Because of integer promotion, Clang doesn't allow ANSI prototypes to be mixed with K&R declarations

Re: svn commit: r189369 - head/usr.sbin/IPXrouted

2009-03-04 Thread Roman Divacky
On Wed, Mar 04, 2009 at 06:36:48PM +, Ed Schouten wrote: > Author: ed > Date: Wed Mar 4 18:36:48 2009 > New Revision: 189369 > URL: http://svn.freebsd.org/changeset/base/189369 > > Log: > Make IPXrouted compile using Clang by using ANSI function declarations. > > Because of integer pro

svn commit: r189370 - in stable/7/sys: . compat/linux contrib/pf dev/ath/ath_hal dev/cxgb

2009-03-04 Thread Alexander Leidinger
Author: netchild Date: Wed Mar 4 20:26:39 2009 New Revision: 189370 URL: http://svn.freebsd.org/changeset/base/189370 Log: MFC r188572: Fix an edge-case of the linux readdir: We need the size of a linux dirent structure, not the size of a pointer to it. PR: 131099 Sub

svn commit: r189371 - head/sys/netinet

2009-03-04 Thread Randall Stewart
Author: rrs Date: Wed Mar 4 20:54:42 2009 New Revision: 189371 URL: http://svn.freebsd.org/changeset/base/189371 Log: - PR-SCTP bug, where the CUM-ACK was not being updated into the advance_peer_ack point so we would incorrectly send a wrong value in the FWD-TSN - PR-SCTP bug, where a

Re: svn commit: r189367 - head/sys/dev/pci

2009-03-04 Thread M. Warner Losh
In message: <200903041823.n24inmcc049...@svn.freebsd.org> Robert Noland writes: : Author: rnoland : Date: Wed Mar 4 18:23:48 2009 : New Revision: 189367 : URL: http://svn.freebsd.org/changeset/base/189367 : : Log: : Extend the management of PCIM_CMD_INTxDIS. : : We now explici

svn commit: r189373 - head/sys/dev/pci

2009-03-04 Thread John Baldwin
Author: jhb Date: Wed Mar 4 21:04:52 2009 New Revision: 189373 URL: http://svn.freebsd.org/changeset/base/189373 Log: The recent PCI resource allocation fixes exposed a bug where the same BAR could be allocated twice by different children of a vgapci0 device. To fix this, change the vgapci0

svn commit: r189375 - stable/7/share/mk

2009-03-04 Thread John Baldwin
Author: jhb Date: Wed Mar 4 21:38:16 2009 New Revision: 189375 URL: http://svn.freebsd.org/changeset/base/189375 Log: MFC: Handle an additional layer of nesting for kernel modules to make it easier to compile 8.x kernels with modules on 7. Modified: stable/7/share/mk/ (props changed) s

svn commit: r189377 - head/sys/net80211

2009-03-04 Thread Sam Leffler
Author: sam Date: Wed Mar 4 22:05:25 2009 New Revision: 189377 URL: http://svn.freebsd.org/changeset/base/189377 Log: add the desired channel to the scan list if not already present and compatible with other scan controls Modified: head/sys/net80211/ieee80211_scan_sta.c Modified: head/sys

svn commit: r189379 - head/sys/dev/ale

2009-03-04 Thread Pyun YongHyeon
Author: yongari Date: Thu Mar 5 00:04:32 2009 New Revision: 189379 URL: http://svn.freebsd.org/changeset/base/189379 Log: Now pci(4) handles PCIM_CMD_INTxDIS so there is no need to poke this bit in driver. Modified: head/sys/dev/ale/if_ale.c Modified: head/sys/dev/ale/if_ale.c ===

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

2009-03-04 Thread Sam Leffler
Author: sam Date: Thu Mar 5 00:15:43 2009 New Revision: 189380 URL: http://svn.freebsd.org/changeset/base/189380 Log: add a sysctl to ena/dis frobbing cca Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath/if_ath.c =

svn commit: r189381 - head/lib/libarchive/test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:31:48 2009 New Revision: 189381 URL: http://svn.freebsd.org/changeset/base/189381 Log: Merge r341,r345,r346,347 from libarchive.googlecode.com: Style fixes to test harness and a few extra guards to detect tests that can't succeed on certain platforms. Mo

svn commit: r189382 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:35:21 2009 New Revision: 189382 URL: http://svn.freebsd.org/changeset/base/189382 Log: Merge r344 from libarchive.googlecode.com: __LA_INT64_T and __LA_SSIZE_T are part of the public API and therefore need to be exposed. This is ugly; I'd like to find a

svn commit: r189383 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:36:13 2009 New Revision: 189383 URL: http://svn.freebsd.org/changeset/base/189383 Log: Merge r342 from libarchive.googlecode.com: Remove some Windows special casing. Modified: head/lib/libarchive/archive_write_disk.c Modified: head/lib/libarchive/archiv

svn commit: r189384 - head/lib/libarchive/test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:41:02 2009 New Revision: 189384 URL: http://svn.freebsd.org/changeset/base/189384 Log: Merge r362 from libarchive.googlecode.com: Minor fix to custom argument parser. Modified: head/lib/libarchive/test/main.c Modified: head/lib/libarchive/test/main.c ==

svn commit: r189385 - head/lib/libarchive/test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:42:50 2009 New Revision: 189385 URL: http://svn.freebsd.org/changeset/base/189385 Log: Merge r357 from libarchive.googlecode.com: bzip2 compression support can always be enabled even if bzlib doesn't exist on this platform; don't give up until we fail to

svn commit: r189386 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:44:12 2009 New Revision: 189386 URL: http://svn.freebsd.org/changeset/base/189386 Log: Merge r356 and r358 from libarchive.googlecode.com: Remove a Windows special case from archive_entry.c, add one to archive_check_magic.c. Modified: head/lib/libarchive

svn commit: r189387 - in head/lib/libc/db: btree recno

2009-03-04 Thread Xin LI
Author: delphij Date: Thu Mar 5 00:57:01 2009 New Revision: 189387 URL: http://svn.freebsd.org/changeset/base/189387 Log: Our realloc(3) and reallocf(3) can handle NULL, which turns it into a malloc(3) call, so don't test if a pointer is NULL. Obtained from:OpenBSD (in spirit) M

svn commit: r189388 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 01:59:49 2009 New Revision: 189388 URL: http://svn.freebsd.org/changeset/base/189388 Log: Correct r189383, which mis-merged a change from libarchive.googlecode.com. Modified: head/lib/libarchive/archive_write_disk.c Modified: head/lib/libarchive/archive_writ

Re: svn commit: r189367 - head/sys/dev/pci

2009-03-04 Thread Robert Noland
On Wed, 2009-03-04 at 13:56 -0700, M. Warner Losh wrote: > In message: <200903041823.n24inmcc049...@svn.freebsd.org> > Robert Noland writes: > : Author: rnoland > : Date: Wed Mar 4 18:23:48 2009 > : New Revision: 189367 > : URL: http://svn.freebsd.org/changeset/base/189367 > : > : Lo

svn commit: r189389 - in head/lib/libarchive: . test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 02:19:42 2009 New Revision: 189389 URL: http://svn.freebsd.org/changeset/base/189389 Log: Merge r364, r378, r379, r393, and r539 from libarchive.googlecode.com: This is the last phase of the "big decompression refactor" that puts a lazy reblocking layer betw

svn commit: r189390 - in head/lib/libarchive: . test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 02:37:05 2009 New Revision: 189390 URL: http://svn.freebsd.org/changeset/base/189390 Log: Merge r551,r561 from libarchive.googlecode.com: Update gzip read filter to fully take advantage of the new peek/consume I/O support. In particular, this now properly ha

Re: svn commit: r189367 - head/sys/dev/pci

2009-03-04 Thread M. Warner Losh
In message: <1236218572.1384.19.ca...@widget.2hip.net> Robert Noland writes: : On Wed, 2009-03-04 at 13:56 -0700, M. Warner Losh wrote: : > In message: <200903041823.n24inmcc049...@svn.freebsd.org> : > Robert Noland writes: : > : Author: rnoland : > : Date: Wed Mar 4 18:2

Re: svn commit: r189367 - head/sys/dev/pci

2009-03-04 Thread Robert Noland
On Wed, 2009-03-04 at 19:41 -0700, M. Warner Losh wrote: > In message: <1236218572.1384.19.ca...@widget.2hip.net> > Robert Noland writes: > : On Wed, 2009-03-04 at 13:56 -0700, M. Warner Losh wrote: > : > In message: <200903041823.n24inmcc049...@svn.freebsd.org> > : > Rober

Re: svn commit: r189367 - head/sys/dev/pci

2009-03-04 Thread M. Warner Losh
In message: <1236224629.1384.22.ca...@widget.2hip.net> Robert Noland writes: : On Wed, 2009-03-04 at 19:41 -0700, M. Warner Losh wrote: : > In message: <1236218572.1384.19.ca...@widget.2hip.net> : > Robert Noland writes: : > : On Wed, 2009-03-04 at 13:56 -0700, M. Warner L

Re: svn commit: r189367 - head/sys/dev/pci

2009-03-04 Thread Scott Long
M. Warner Losh wrote: In message: <1236224629.1384.22.ca...@widget.2hip.net> Robert Noland writes: : On Wed, 2009-03-04 at 19:41 -0700, M. Warner Losh wrote: : > In message: <1236218572.1384.19.ca...@widget.2hip.net> : > Robert Noland writes: : > : On Wed, 2009-03-04 at

svn commit: r189392 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 06:26:08 2009 New Revision: 189392 URL: http://svn.freebsd.org/changeset/base/189392 Log: Argh. r189389 was supposed to include r539 from libarchive.googlecode.com but those compile fixes somehow got lost. This should fix the build. Modified: head/lib/lib

Re: svn commit: r189367 - head/sys/dev/pci

2009-03-04 Thread Robert Noland
On Wed, 2009-03-04 at 22:30 -0700, Scott Long wrote: > M. Warner Losh wrote: > > In message: <1236224629.1384.22.ca...@widget.2hip.net> > > Robert Noland writes: > > : On Wed, 2009-03-04 at 19:41 -0700, M. Warner Losh wrote: > > : > In message: <1236218572.1384.19.ca...@widget.2hip.net

svn commit: r189393 - stable/7/sys/netinet

2009-03-04 Thread Luigi Rizzo
Author: luigi Date: Thu Mar 5 07:42:47 2009 New Revision: 189393 URL: http://svn.freebsd.org/changeset/base/189393 Log: Merge a couple of changes from HEAD, plus fix a potential warning. In detail: + we used SYSCTL_LONG to show a 64-bit variable. For the time being just remove the varia