svn commit: r189440 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 06:14:44 2009 New Revision: 189440 URL: http://svn.freebsd.org/changeset/base/189440 Log: Merge r668 from libarchive.googlecode.com: Style correction to the 'ar' reader: Don't redefine 'isdigit' and don't create a macro that's only used once. Modified:

svn commit: r189439 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 06:13:25 2009 New Revision: 189439 URL: http://svn.freebsd.org/changeset/base/189439 Log: Merge r541,r542 from libarchive.googlecode.com: Two sign mismatches in the Zip reader. Modified: head/lib/libarchive/archive_read_support_format_zip.c Modified: head

svn commit: r189438 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:58:56 2009 New Revision: 189438 URL: http://svn.freebsd.org/changeset/base/189438 Log: Merge r491,493,500,507,510,530,543 from libarchive.googlecode.com: This implements the new generic options framework that provides a way to override format- and compres

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

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:40:09 2009 New Revision: 189437 URL: http://svn.freebsd.org/changeset/base/189437 Log: Merge r448 from libarchive.googlecode.com: Suppress testing write_disk failures on Windows for now. Someday this will be revisited. Modified: head/lib/libarchive/tes

svn commit: r189436 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:38:53 2009 New Revision: 189436 URL: http://svn.freebsd.org/changeset/base/189436 Log: Merge r403,702,721 from libarchive.googlecode.com: Handle odd pathnames on Windows by mapping '\\' to '/' and converting illegal characters to '_'. Modified: head/l

svn commit: r189435 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:14:55 2009 New Revision: 189435 URL: http://svn.freebsd.org/changeset/base/189435 Log: Merge r505 from libarchive.googlecode.com: Fix %ju support. Simplify the code here a bit by making the int formatting functions static to archive_string_sprintf.c, whi

svn commit: r189434 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:13:12 2009 New Revision: 189434 URL: http://svn.freebsd.org/changeset/base/189434 Log: Merge r457 from libarchive.googlecode.com: Stop appending strerror() information to error strings. This caused a lot of unnecessary duplication in error messages; in

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

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:07:03 2009 New Revision: 189433 URL: http://svn.freebsd.org/changeset/base/189433 Log: Merge r420,r494 from libarchive.googlecode.com: Prettify the test harness a bit: remove a dead comment, tweak the wording of the summary report. Modified: head/lib/

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

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:04:15 2009 New Revision: 189432 URL: http://svn.freebsd.org/changeset/base/189432 Log: Merge r435,r443 from libarchive.googlecode.com: Read config files from include path; this makes it easier to support multiple build frameworks. Modified: head/lib/lib

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

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 04:55:51 2009 New Revision: 189431 URL: http://svn.freebsd.org/changeset/base/189431 Log: Merge r416 from libarchive.googlecode.com: Restoring POSIX.1e Extended Attributes on FreeBSD, part 1 This implements the basic ability to restore extended attribu

svn commit: r189430 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 04:50:39 2009 New Revision: 189430 URL: http://svn.freebsd.org/changeset/base/189430 Log: Merge r407,r508 from libarchive.googlecode.com: Correctly handle Zip entries that are zero length but stored with deflate. This is arguably a silly thing to do (defla

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

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 04:35:31 2009 New Revision: 189429 URL: http://svn.freebsd.org/changeset/base/189429 Log: Merge r399,401,402,405,415,430,440,452,453,458,506,533,536,538,544,590 from libarchive.googlecode.com: Add a new "archive_read_disk" API that provides the important se

svn commit: r189428 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 04:22:34 2009 New Revision: 189428 URL: http://svn.freebsd.org/changeset/base/189428 Log: Merge r398 from libarchive.googlecode.com: Check that bidder object was allocated before we try to use it. Modified: head/lib/libarchive/archive_read_support_compressi

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

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 04:21:23 2009 New Revision: 189427 URL: http://svn.freebsd.org/changeset/base/189427 Log: Merge r394,r396 from libarchive.googlecode.com: Plug some memory leaks in the ACL test, correctly mark that FreeBSD has acl_get_perm_np(). Modified: head/lib/libarchiv

svn commit: r189426 - in stable/7: usr.bin/bluetooth/rfcomm_sppd usr.sbin/bluetooth/hcsecd usr.sbin/bluetooth/hcseriald usr.sbin/bluetooth/rfcomm_pppd

2009-03-05 Thread Maksim Yevmenkin
Author: emax Date: Fri Mar 6 01:34:30 2009 New Revision: 189426 URL: http://svn.freebsd.org/changeset/base/189426 Log: MFC r188130 Clenup code a bit and do not call fork(2) before dameon(3) where not needed. Modified: stable/7/usr.bin/bluetooth/rfcomm_sppd/ (props changed) stable/7/

svn commit: r189425 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netgraph/bluetooth/socket

2009-03-05 Thread Maksim Yevmenkin
Author: emax Date: Fri Mar 6 01:27:51 2009 New Revision: 189425 URL: http://svn.freebsd.org/changeset/base/189425 Log: MFC r188132 Allow unprivileged users to run l2ping(8). Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath

svn commit: r189424 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 21:18:10 2009 New Revision: 189424 URL: http://svn.freebsd.org/changeset/base/189424 Log: Merge r390,r391,r392,r397 from libarchive.googlecode.com: Virtualize "close" and "finish" across both read and write interfaces. (Someday, "finish" should be renamed t

Re: svn commit: r189405 - head/sys/dev/usb/serial

2009-03-05 Thread Alexey Dokuchaev
On Thu, Mar 05, 2009 at 04:15:07PM +, Andrew Thompson wrote: > Author: thompsa > Date: Thu Mar 5 16:15:07 2009 > New Revision: 189405 > URL: http://svn.freebsd.org/changeset/base/189405 > > Log: > Add support for the UNION interface descriptor, used by Nokia phones. > > PR: usb

svn commit: r189423 - in head/sys: amd64/amd64 amd64/ia32 amd64/include amd64/linux32 compat/linux i386/i386 i386/include i386/isa i386/linux

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 19:42:11 2009 New Revision: 189423 URL: http://svn.freebsd.org/changeset/base/189423 Log: A better fix for handling different FPU initial control words for different ABIs: - Store the FPU initial control word in the pcb for each thread. - When first using the F

svn commit: r189422 - head/sys/dev/usb

2009-03-05 Thread Andrew Thompson
Author: thompsa Date: Thu Mar 5 19:20:17 2009 New Revision: 189422 URL: http://svn.freebsd.org/changeset/base/189422 Log: Fix usb2_poll not to return an error number as the function return value is a bitmask of events. Pointed out by: HPS Modified: head/sys/dev/usb/usb_dev.c Mo

svn commit: r189421 - head/sys/isa

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 19:10:17 2009 New Revision: 189421 URL: http://svn.freebsd.org/changeset/base/189421 Log: Allow syscons to work on amd64 and i386 without any hints: - Enable keyboard autodetection by default for ISA syscons attachments. - If there are no syscons hints at all, as

svn commit: r189420 - head/sys/i386/xen

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 18:43:54 2009 New Revision: 189420 URL: http://svn.freebsd.org/changeset/base/189420 Log: Remove unused arg from npxinit(). Forgot to commit this file in the last i386 FPU change. Modified: head/sys/i386/xen/mp_machdep.c Modified: head/sys/i386/xen/mp_machdep.

svn commit: r189419 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 18:38:36 2009 New Revision: 189419 URL: http://svn.freebsd.org/changeset/base/189419 Log: Merge r389 from libarchive.googlecode.com: Fix a memory leak in ISO9660 handler structure whenever a file entry has a nonsensical CE offset. Modified: head/lib/libar

svn commit: r189418 - in head/sys/i386: i386 include isa

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 18:32:43 2009 New Revision: 189418 URL: http://svn.freebsd.org/changeset/base/189418 Log: Some cleanups to the i386 FPU support: - Remove the control word parameter to npxinit(). It was always set to __INITIAL_NPXCW__. - Remove npx_cleanstate_ready as the cl

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

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 18:30:50 2009 New Revision: 189417 URL: http://svn.freebsd.org/changeset/base/189417 Log: Merge r386,r395,r451 from libarchive.googlecode.com: On Windows, break into the debugger on test setup failures (otherwise, the console window just goes away and you ca

svn commit: r189416 - in head/lib/libthread_db: . arch/amd64 arch/i386 arch/ia64 arch/powerpc arch/sparc64

2009-03-05 Thread Attilio Rao
Author: attilio Date: Thu Mar 5 18:27:16 2009 New Revision: 189416 URL: http://svn.freebsd.org/changeset/base/189416 Log: libc_r_* library is no more required, so just axe it. Approved by: marcel, emaste Sponsored by: Sandvine Incorporated Deleted: head/lib/libthread_db/arch/amd64/li

svn commit: r189415 - head/sys/amd64/amd64

2009-03-05 Thread Alan Cox
Author: alc Date: Thu Mar 5 18:11:26 2009 New Revision: 189415 URL: http://svn.freebsd.org/changeset/base/189415 Log: Make pmap_copy() more TLB friendly. Specifically, make it use the kernel's direct map instead of the pmap's recursive mapping to access the lowest level in the page table.

svn commit: r189414 - in stable/7/usr.sbin/bluetooth: . btpand sdpd

2009-03-05 Thread Maksim Yevmenkin
Author: emax Date: Thu Mar 5 18:03:46 2009 New Revision: 189414 URL: http://svn.freebsd.org/changeset/base/189414 Log: MFC r187938 Add btpand(8) daemon from NetBSD. This daemon provides support for Bluetooth Network Access Point (NAP), Group Ad-hoc Network (GN) and Personal Area Network U

svn commit: r189413 - stable/7/include

2009-03-05 Thread Maksim Yevmenkin
Author: emax Date: Thu Mar 5 17:54:28 2009 New Revision: 189413 URL: http://svn.freebsd.org/changeset/base/189413 Log: MFC r183057 Add missing prototypes for uuid_enc,dec_le,be() functions. Pointy hat goes to me. Modified: stable/7/include/ (props changed) stable/7/include/uuid.h

svn commit: r189412 - in head/sys/amd64: amd64 include

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 16:56:16 2009 New Revision: 189412 URL: http://svn.freebsd.org/changeset/base/189412 Log: A few cleanups to the FPU code on amd64: - fpudna() always returned 1 since amd64 CPUs always have FPUs. Change the function to return void and adjust the calling code in

svn commit: r189411 - head/sys/amd64/include

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 16:52:50 2009 New Revision: 189411 URL: http://svn.freebsd.org/changeset/base/189411 Log: Move the PCB flag macros up next to the 'pcb_flags' member in the struct. Modified: head/sys/amd64/include/pcb.h Modified: head/sys/amd64/include/pcb.h =

svn commit: r189407 - in head/sys/dev: puc uart

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 16:43:33 2009 New Revision: 189407 URL: http://svn.freebsd.org/changeset/base/189407 Log: Add support for the single-port NetMos NM9835 serial adapter. The puc(4) entry is a specific entry to override the generic NetMos entry so that puc(4) will leave this devic

svn commit: r189406 - head/sys/netipsec

2009-03-05 Thread VANHULLEBUS Yvan
Author: vanhu Date: Thu Mar 5 16:22:32 2009 New Revision: 189406 URL: http://svn.freebsd.org/changeset/base/189406 Log: SAs are valid (but dying) when they reached soft lifetime, even if they have never been used. Approved by: gnn(mentor) MFC after:2 weeks Modified: head/sys/ne

svn commit: r189405 - head/sys/dev/usb/serial

2009-03-05 Thread Andrew Thompson
Author: thompsa Date: Thu Mar 5 16:15:07 2009 New Revision: 189405 URL: http://svn.freebsd.org/changeset/base/189405 Log: Add support for the UNION interface descriptor, used by Nokia phones. PR: usb/117185 Modified: head/sys/dev/usb/serial/umodem.c Modified: head/sys/dev/usb

svn commit: r189404 - in head/sys: amd64/acpica i386/acpica

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 16:03:44 2009 New Revision: 189404 URL: http://svn.freebsd.org/changeset/base/189404 Log: At least one BIOS bogusly includes duplicate entries for I/O APICs. The bogus entries have a starting IRQ that is invalid (> 255, so won't fit into a PCI intline config reg

svn commit: r189403 - in stable/6/sys: . contrib/pf dev/cxgb dev/pci

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 15:50:39 2009 New Revision: 189403 URL: http://svn.freebsd.org/changeset/base/189403 Log: MFC: Don't throw away the upper 32-bits of the HT MSI address window. Modified: stable/6/sys/ (props changed) stable/6/sys/contrib/pf/ (props changed) stable/6/sys/de

svn commit: r189402 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/pci

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 15:46:41 2009 New Revision: 189402 URL: http://svn.freebsd.org/changeset/base/189402 Log: MFC: Don't throw away the upper 32-bits of the HT MSI address window. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/de

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

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 15:33:04 2009 New Revision: 189401 URL: http://svn.freebsd.org/changeset/base/189401 Log: Always read/write the full 64-bit value of 64-bit BARs. Specifically, when determining the size of a BAR by writing all 1's to the BAR and reading back the result, always o

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

2009-03-05 Thread John Baldwin
Author: jhb Date: Thu Mar 5 15:28:46 2009 New Revision: 189400 URL: http://svn.freebsd.org/changeset/base/189400 Log: Honor the prefetchable flag in memory BARs by setting the RF_PREFETCHABLE flag when calling bus_alloc_resource() to allocate resources from a parent PCI bridge. For PCI-PCI

svn commit: r189399 - in head: . lib/libc/sys

2009-03-05 Thread Konstantin Belousov
Author: kib Date: Thu Mar 5 12:04:42 2009 New Revision: 189399 URL: http://svn.freebsd.org/changeset/base/189399 Log: Hopefully, improve the grammar and wording in the changes to shmctl(2) manpage and UPDATING entry 20090302. UPDATING changes suggested by bf2006a yahoo com. man page co

svn commit: r189398 - head/sys/kern

2009-03-05 Thread Konstantin Belousov
Author: kib Date: Thu Mar 5 11:45:42 2009 New Revision: 189398 URL: http://svn.freebsd.org/changeset/base/189398 Log: Systematically use vm_size_t to specify the size of the segment for VM KPI. Do not overload the local variable size in kern_shmat() due to vm_size_t change. Fix style bug

svn commit: r189397 - head/sbin/mount

2009-03-05 Thread Craig Rodrigues
Author: rodrigc Date: Thu Mar 5 08:57:35 2009 New Revision: 189397 URL: http://svn.freebsd.org/changeset/base/189397 Log: Add a -o mountprog parameter to mount which explicitly allows an alternative program to be used for mounting a file system. Ideally, all file systems should be convert

svn commit: r189396 - head/sbin/ipfw

2009-03-05 Thread Luigi Rizzo
Author: luigi Date: Thu Mar 5 08:08:09 2009 New Revision: 189396 URL: http://svn.freebsd.org/changeset/base/189396 Log: move a variable declaration to the beginning of the block (unfortunately, it is far away; we need to pack this code in a better way). Modified: head/sbin/ipfw/main.c M

svn commit: r189395 - head/sbin/ipfw

2009-03-05 Thread Luigi Rizzo
Author: luigi Date: Thu Mar 5 08:01:58 2009 New Revision: 189395 URL: http://svn.freebsd.org/changeset/base/189395 Log: remove some signed/unsigned and one const/!const warning Modified: head/sbin/ipfw/nat.c Modified: head/sbin/ipfw/nat.c

svn commit: r189394 - head/sbin/ipfw

2009-03-05 Thread Luigi Rizzo
Author: luigi Date: Thu Mar 5 08:01:19 2009 New Revision: 189394 URL: http://svn.freebsd.org/changeset/base/189394 Log: mark a function static, as it is Modified: head/sbin/ipfw/altq.c Modified: head/sbin/ipfw/altq.c ==