svn commit: r223584 - head/sbin/hastd

2011-06-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 27 09:10:48 2011 New Revision: 223584 URL: http://svn.freebsd.org/changeset/base/223584 Log: Log a warning if we cannot sandbox using capsicum, but only under debug level 1. It would be too noisy to log it as a proper warning as CAPABILITIES are not compiled into

svn commit: r223585 - head/sbin/hastd

2011-06-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 27 09:14:25 2011 New Revision: 223585 URL: http://svn.freebsd.org/changeset/base/223585 Log: Compile capsicum support only if HAVE_CAPSICUM is defined. MFC after:3 days Modified: head/sbin/hastd/subr.c Modified: head/sbin/hastd/subr.c

svn commit: r223586 - in head/sbin: hastctl hastd

2011-06-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 27 09:15:41 2011 New Revision: 223586 URL: http://svn.freebsd.org/changeset/base/223586 Log: Compile hastd and hastctl with capsicum support. X-MFC after: capsicum merge Modified: head/sbin/hastctl/Makefile head/sbin/hastd/Makefile Modified:

svn commit: r223587 - in head/sys: geom/part sys

2011-06-27 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 27 10:42:06 2011 New Revision: 223587 URL: http://svn.freebsd.org/changeset/base/223587 Log: MS Windows NT+ uses 4 bytes at offset 0x1b8 in the MBR to identify disk drive. The boot0cfg(8) utility preserves these 4 bytes when is writing bootcode to keep a multiboot

svn commit: r223588 - stable/8/sys/net

2011-06-27 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 27 11:10:15 2011 New Revision: 223588 URL: http://svn.freebsd.org/changeset/base/223588 Log: MFC r223223: gre(4) was using a field in the softc to detect possible recursion. On MP systems this is not a usable solution anymore and could easily lead to false

svn commit: r223589 - stable/7/sys/net

2011-06-27 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 27 11:11:19 2011 New Revision: 223589 URL: http://svn.freebsd.org/changeset/base/223589 Log: MFC r223223: gre(4) was using a field in the softc to detect possible recursion. On MP systems this is not a usable solution anymore and could easily lead to false

svn commit: r223590 - stable/8/usr.sbin/mfiutil

2011-06-27 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 27 11:13:26 2011 New Revision: 223590 URL: http://svn.freebsd.org/changeset/base/223590 Log: MFC r223267: Add 'show logstate' to usage(). MFC r223345: Add global -d and -e options to either print device numbers (usually default) or enclosure:slot

svn commit: r223591 - stable/7/usr.sbin/mfiutil

2011-06-27 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 27 11:13:58 2011 New Revision: 223591 URL: http://svn.freebsd.org/changeset/base/223591 Log: MFC r223267: Add 'show logstate' to usage(). MFC r223345: Add global -d and -e options to either print device numbers (usually default) or enclosure:slot

svn commit: r223592 - stable/8/usr.bin/kdump

2011-06-27 Thread Alexander Leidinger
Author: netchild Date: Mon Jun 27 11:49:58 2011 New Revision: 223592 URL: http://svn.freebsd.org/changeset/base/223592 Log: MFC r223173: Add 2-clause BSD license. Approved by:David Kirchner d...@dpk.net (initial author) Requested by: Otto Moerbeek o...@drijf.net

svn commit: r223593 - in head/sys: modules/ipdivert netinet netinet/ipfw

2011-06-27 Thread Gleb Smirnoff
Author: glebius Date: Mon Jun 27 12:21:11 2011 New Revision: 223593 URL: http://svn.freebsd.org/changeset/base/223593 Log: Add possibility to pass IPv6 packets to a divert(4) socket. Submitted by: sem Modified: head/sys/modules/ipdivert/Makefile head/sys/netinet/ip_divert.c

svn commit: r223594 - head/sys/geom/part

2011-06-27 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 27 12:42:48 2011 New Revision: 223594 URL: http://svn.freebsd.org/changeset/base/223594 Log: EBR could contain an early stage of boot code. But we do not support it. Remove message about non empty bootcode, we can not break something while GEOM_PART_EBR_COMPAT is

svn commit: r223596 - head/share/mk

2011-06-27 Thread Stefan Esser
Author: se Date: Mon Jun 27 13:23:51 2011 New Revision: 223596 URL: http://svn.freebsd.org/changeset/base/223596 Log: Add macros to specify owner, group and mode of config files for installation. Submitted by: Chris Rees (crees) Modified: head/share/mk/bsd.own.mk Modified:

svn commit: r223597 - head/sys/boot/i386/zfsboot

2011-06-27 Thread John Baldwin
Author: jhb Date: Mon Jun 27 13:58:24 2011 New Revision: 223597 URL: http://svn.freebsd.org/changeset/base/223597 Log: - Remove the fake BPB from zfsldr. zfsldr doesn't support booting from floppies, so it will not be used as the start of an emulated floppy image on a bootable CD which

svn commit: r223599 - head/lib/csu/powerpc64

2011-06-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jun 27 16:24:36 2011 New Revision: 223599 URL: http://svn.freebsd.org/changeset/base/223599 Log: Build Scrt.o on powerpc64. Its introduction on other platforms got lost during the period of time the powerpc64 port was on a project branch. Modified:

svn commit: r223601 - stable/8/sys/conf

2011-06-27 Thread Alexander Kabaev
Author: kan Date: Mon Jun 27 18:19:54 2011 New Revision: 223601 URL: http://svn.freebsd.org/changeset/base/223601 Log: Add missing support to generate well-formed CTF data in dynamic modules. Modified: stable/8/sys/conf/kmod.mk Modified: stable/8/sys/conf/kmod.mk

svn commit: r223602 - stable/8/sys/geom/gate

2011-06-27 Thread Mikolaj Golub
Author: trociny Date: Mon Jun 27 18:56:43 2011 New Revision: 223602 URL: http://svn.freebsd.org/changeset/base/223602 Log: MFC r25 (pjd): Recognize BIO_FLUSH requests and pass them to userland. Approved by: pjd (mentor) Modified: stable/8/sys/geom/gate/g_gate.c Directory

svn commit: r223603 - stable/8/sbin/hastd

2011-06-27 Thread Mikolaj Golub
Author: trociny Date: Mon Jun 27 20:04:13 2011 New Revision: 223603 URL: http://svn.freebsd.org/changeset/base/223603 Log: MFC r222087, r222108, r222115, r222116, r222117, r222118, r222119, r222120, r222121: r222087 (pjd): - Add support for AF_INET6 sockets for %S format

svn commit: r223604 - head/etc/devd

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 20:32:19 2011 New Revision: 223604 URL: http://svn.freebsd.org/changeset/base/223604 Log: Regenerate usb.conf after r223566. Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf

svn commit: r223605 - in stable/8: etc/devd sys/dev/sound/usb sys/dev/usb sys/dev/usb/input sys/dev/usb/misc sys/dev/usb/net sys/dev/usb/serial sys/dev/usb/storage sys/dev/usb/wlan sys/netgraph/blu...

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 20:59:43 2011 New Revision: 223605 URL: http://svn.freebsd.org/changeset/base/223605 Log: MFC r223486, r223489, r223490, r223511, r223512, r223513, r223515, r223518, r223519, r223521, r223534, r223535, r223536, r223537, r223538, r223543, r223288,

svn commit: r223606 - in stable/8/sys: conf dev/usb dev/usb/template modules/usb/template

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 21:04:35 2011 New Revision: 223606 URL: http://svn.freebsd.org/changeset/base/223606 Log: MFC r223467 and r223472: - Add more USB templates for various USB device classes - Add basic template support for USB 3.0 - Export definition of template sysctl

svn commit: r223607 - stable/8/sys/dev/usb/serial

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 21:14:25 2011 New Revision: 223607 URL: http://svn.freebsd.org/changeset/base/223607 Log: Add missing chunk in MFC of r215095. Modified: stable/8/sys/dev/usb/serial/u3g.c Modified: stable/8/sys/dev/usb/serial/u3g.c

svn commit: r223608 - head/sys/dev/fxp

2011-06-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Jun 27 21:27:12 2011 New Revision: 223608 URL: http://svn.freebsd.org/changeset/base/223608 Log: Disable microcode loading for 82550 and 82550C controllers. Loading the microcode caused SCB timeouts. Linux driver does not allow microcode loading for these

svn commit: r223609 - in stable/8/sys/dev/usb: . wlan

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 21:30:04 2011 New Revision: 223609 URL: http://svn.freebsd.org/changeset/base/223609 Log: MFC r219257: Add new USB ID. PR: usb/155229 Modified: stable/8/sys/dev/usb/usbdevs stable/8/sys/dev/usb/wlan/if_run.c Directory Properties: stable/8/sys/

svn commit: r223610 - head/sys/dev/fxp

2011-06-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Jun 27 21:37:38 2011 New Revision: 223610 URL: http://svn.freebsd.org/changeset/base/223610 Log: Enable CPUSaver D102 E-step microcode loading for 82551 revision 0x10. Modified: head/sys/dev/fxp/if_fxp.c Modified: head/sys/dev/fxp/if_fxp.c

svn commit: r223611 - head/sys/boot/i386/zfsboot

2011-06-27 Thread John Baldwin
Author: jhb Date: Mon Jun 27 21:43:56 2011 New Revision: 223611 URL: http://svn.freebsd.org/changeset/base/223611 Log: Revert the entry point label to 'start' to unbreak the build. Pointy hat to:jhb Modified: head/sys/boot/i386/zfsboot/Makefile

svn commit: r223612 - stable/8/lib/libusb

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 21:45:35 2011 New Revision: 223612 URL: http://svn.freebsd.org/changeset/base/223612 Log: MFC r223495: - Add two new API's to libusb20 which can be used to retrive information about the parent USB device (which is usually an USB HUB): -

svn commit: r223613 - head/sys/netinet

2011-06-27 Thread Michael Tuexen
Author: tuexen Date: Mon Jun 27 22:03:33 2011 New Revision: 223613 URL: http://svn.freebsd.org/changeset/base/223613 Log: Add support for SCTP_PR_SCTP_NONE which I misded to add. This constant is defined in the socket API ID. MFC after: 2 months. Modified: head/sys/netinet/sctp_uio.h

svn commit: r223615 - in head/sys/dev/ath/ath_hal: . ar9002

2011-06-27 Thread Adrian Chadd
Author: adrian Date: Tue Jun 28 00:01:55 2011 New Revision: 223615 URL: http://svn.freebsd.org/changeset/base/223615 Log: Make sure the extended regdomain word is initialised. As with the AR9285, the AR9287 has a default word of 0x1F which means all the various bits in that field are set

svn commit: r223616 - head/contrib/libpcap/bpf/net

2011-06-27 Thread Xin LI
Author: delphij Date: Tue Jun 28 00:58:12 2011 New Revision: 223616 URL: http://svn.freebsd.org/changeset/base/223616 Log: Incorporate vendor commit ecdc5c0a7f7591a7cd4a: In userland, sign extend the offset for JA instructions. We currently use that to implement ip6 protochain, and pc

svn commit: r223618 - stable/8/sbin/geom/class/part

2011-06-27 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 28 04:57:53 2011 New Revision: 223618 URL: http://svn.freebsd.org/changeset/base/223618 Log: MFC r223364: When user specifies the bootcode with size smaller than VTOC_BOOTSIZE, gpart_write_partcode_vtoc8 does access out of range of allocated memory. Check

svn commit: r223619 - stable/7/sbin/geom/class/part

2011-06-27 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 28 05:04:31 2011 New Revision: 223619 URL: http://svn.freebsd.org/changeset/base/223619 Log: MFC r223364: When user specifies the bootcode with size smaller than VTOC_BOOTSIZE, gpart_write_partcode_vtoc8 does access out of range of allocated memory. Check