svn commit: r261742 - head/gnu/usr.bin/groff/tmac

2014-02-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Feb 11 09:17:17 2014 New Revision: 261742 URL: http://svnweb.freebsd.org/changeset/base/261742 Log: Add missing libraries here as well, so a warning is not printed when one tries to view their manual pages. Reported by: rwatson Explained by: pluknet Modified: h

svn commit: r261747 - head/usr.sbin/iscsid

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 10:45:20 2014 New Revision: 261747 URL: http://svnweb.freebsd.org/changeset/base/261747 Log: Empty data segment during Login Phase is rather unlikely, but it's not a protocol error. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/iscsid/disco

svn commit: r261748 - head/usr.sbin/iscsid

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 10:47:28 2014 New Revision: 261748 URL: http://svnweb.freebsd.org/changeset/base/261748 Log: So, it turns out SIGCHLD is discarded by default, so we have to set up a dummy handler to make it interrupt an ioctl(2) or select(2). This makes those short-lived is

svn commit: r261749 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 10:53:08 2014 New Revision: 261749 URL: http://svnweb.freebsd.org/changeset/base/261749 Log: Refactor. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctld.c Modified: head/usr.sbin/ctld/ctld.c

svn commit: r261750 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 10:55:32 2014 New Revision: 261750 URL: http://svnweb.freebsd.org/changeset/base/261750 Log: Improve check for duplicated paths. It shows the warning twice for every path (once for each duplicate found), but it should do for now. Sponsored by: The FreeBSD F

svn commit: r261751 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 10:56:43 2014 New Revision: 261751 URL: http://svnweb.freebsd.org/changeset/base/261751 Log: The log_whatever() routines don't accept NULL for format strings, so mark them as __printflike instead of__printf0like. Sponsored by: The FreeBSD Foundation Modifie

svn commit: r261752 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 10:58:32 2014 New Revision: 261752 URL: http://svnweb.freebsd.org/changeset/base/261752 Log: Empty data segment during Login Phase is rather unlikely, but it's not, by itself, a protocol error. This fixes interoperability with OpenBSD initiator. Sponsored

svn commit: r261753 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 10:59:57 2014 New Revision: 261753 URL: http://svnweb.freebsd.org/changeset/base/261753 Log: Daemonize after applying configuration, not before, so that any problems - including "daemon already running" - are visible on the terminal and not just in logs. S

svn commit: r261754 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:08:04 2014 New Revision: 261754 URL: http://svnweb.freebsd.org/changeset/base/261754 Log: Implement initiator-name and initiator-portal restrictions. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctl.conf.5 head/usr.sbin/ctld/ctld.c

svn commit: r261755 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:10:01 2014 New Revision: 261755 URL: http://svnweb.freebsd.org/changeset/base/261755 Log: Make function ordering slightly more logical; no functional changes. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctld.c Modified: head/usr.sb

svn commit: r261756 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:11:37 2014 New Revision: 261756 URL: http://svnweb.freebsd.org/changeset/base/261756 Log: Yacc cleanup; no functional changes. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/parse.y Modified: head/usr.sbin/ctld/parse.y ===

svn commit: r261757 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:14:50 2014 New Revision: 261757 URL: http://svnweb.freebsd.org/changeset/base/261757 Log: Rename a variable, no functional changes. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctld.c head/usr.sbin/ctld/ctld.h head/usr.sbin/ctld/

svn commit: r261758 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:26:05 2014 New Revision: 261758 URL: http://svnweb.freebsd.org/changeset/base/261758 Log: Add auth-type. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctl.conf.5 head/usr.sbin/ctld/ctld.c head/usr.sbin/ctld/ctld.h head/usr.sbin/

svn commit: r261759 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:27:25 2014 New Revision: 261759 URL: http://svnweb.freebsd.org/changeset/base/261759 Log: Make it possible to redefine portal-group "default". Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctld.h head/usr.sbin/ctld/parse.y Modified

svn commit: r261760 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:29:05 2014 New Revision: 261760 URL: http://svnweb.freebsd.org/changeset/base/261760 Log: Add a new auth-group "default", defaulting to deny, and make it possible to redefine it. From now on, assigning auth-group to a target is no longer mandatory. Spo

svn commit: r261761 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:29:58 2014 New Revision: 261761 URL: http://svnweb.freebsd.org/changeset/base/261761 Log: Update manual page to match recent auth-group "default" changes. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctl.conf.5 Modified: head/usr.sb

svn commit: r261762 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:31:08 2014 New Revision: 261762 URL: http://svnweb.freebsd.org/changeset/base/261762 Log: Use "default" as default discovery-auth-group, instead of "no-access". It doesn't change visible behaviour, as previously auth-group "default" wasn't redefinable, so by

svn commit: r261763 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:32:36 2014 New Revision: 261763 URL: http://svnweb.freebsd.org/changeset/base/261763 Log: Use new auth-type "deny" instead of using "chap" with no chap entries; it's cleaner this way, and gives better feedback to the user. Sponsored by: The FreeBSD Founda

svn commit: r261764 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:33:44 2014 New Revision: 261764 URL: http://svnweb.freebsd.org/changeset/base/261764 Log: So, it turns out SIGCHLD is discarded by default, so we have to set up a dummy handler to make it interrupt an ioctl(2) or select(2). This makes those short-lived ct

svn commit: r261765 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:35:26 2014 New Revision: 261765 URL: http://svnweb.freebsd.org/changeset/base/261765 Log: Improve error reporting. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/kernel.c Modified: head/usr.sbin/ctld/kernel.c =

svn commit: r261766 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:36:15 2014 New Revision: 261766 URL: http://svnweb.freebsd.org/changeset/base/261766 Log: Make ctld error out on invalid characters in ctl.conf. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/token.l Modified: head/usr.sbin/ctld/token

svn commit: r261767 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:37:49 2014 New Revision: 261767 URL: http://svnweb.freebsd.org/changeset/base/261767 Log: Show proper configuration file line numbers in error messages. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/parse.y Modified: head/usr.sbin/ct

svn commit: r261768 - head/usr.sbin/ctld

2014-02-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 11 11:38:44 2014 New Revision: 261768 URL: http://svnweb.freebsd.org/changeset/base/261768 Log: Make the debug messages during ctld(8) shutdown less confusing. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctld.c Modified: head/usr.sbin/ct

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-02-11 Thread Alexander Leidinger
Quoting Adrian Chadd (from Mon, 10 Feb 2014 17:24:09 -0800): On 10 February 2014 17:07, James Gritton wrote: So is it worthwhile to add a new jail parameter called "insecure" (or somesuch)? That way you could easily add the encapsulation without any of the security. The other vibe I'm g

svn commit: r261773 - head/usr.sbin/powerd

2014-02-11 Thread Christian Brueffer
Author: brueffer Date: Tue Feb 11 15:16:49 2014 New Revision: 261773 URL: http://svnweb.freebsd.org/changeset/base/261773 Log: In acline_init(), initialize ac_line to SRC_UNKNOWN. Previously this could lead to the -n option effectively being ignored (in case ac_line happened to be 0 aka SRC

svn commit: r261774 - head/cddl/contrib/opensolaris/cmd/zpool

2014-02-11 Thread Mark Felder
Author: feld (ports committer) Date: Tue Feb 11 15:38:29 2014 New Revision: 261774 URL: http://svnweb.freebsd.org/changeset/base/261774 Log: Add caveat to zpool manpage indicating that we do not automatically activate hot spares. This should be MFC'd to all STABLE branches. Upon the avail

svn commit: r261778 - head/sys/arm/conf

2014-02-11 Thread Ruslan Bukin
Author: br Date: Tue Feb 11 20:14:54 2014 New Revision: 261778 URL: http://svnweb.freebsd.org/changeset/base/261778 Log: Disable debugging by default. Modified: head/sys/arm/conf/VYBRID.common Modified: head/sys/arm/conf/VYBRID.common =

svn commit: r261779 - head/sys/arm/at91

2014-02-11 Thread Ian Lepore
Author: ian Date: Tue Feb 11 21:13:37 2014 New Revision: 261779 URL: http://svnweb.freebsd.org/changeset/base/261779 Log: Check in the "real" board_tsc4370 file in place of the stubbed out one. Real means the one TSC / Symmetricom / Microsemi actually uses on their 4370 and other rm9200 b

svn commit: r261780 - in head: sys/kern sys/sys usr.bin/procstat

2014-02-11 Thread John Baldwin
Author: jhb Date: Tue Feb 11 21:57:37 2014 New Revision: 261780 URL: http://svnweb.freebsd.org/changeset/base/261780 Log: Expose OBJT_MGTDEVICE VM objects used for GEM/TTM with drm2 as an explicit object type. Reviewed by: kib MFC after:1 week Modified: head/sys/kern/kern_proc.c

svn commit: r261781 - in head/sys: amd64/amd64 i386/i386 i386/include i386/xen pc98/pc98

2014-02-11 Thread John Baldwin
Author: jhb Date: Tue Feb 11 22:02:40 2014 New Revision: 261781 URL: http://svnweb.freebsd.org/changeset/base/261781 Log: Don't waste a page of KVA for the boot-time memory test on x86. For amd64, reuse the first page of the crashdumpmap as CMAP1/CADDR1. For i386, remove CMAP1/CADDR1 entir

svn commit: r261782 - head/sys/vm

2014-02-11 Thread John Baldwin
Author: jhb Date: Tue Feb 11 22:05:21 2014 New Revision: 261782 URL: http://svnweb.freebsd.org/changeset/base/261782 Log: Correct assertion to assert that the existing device VM object uses the same type rather than asserting in the case where we just created a new VM object. Reviewed b

svn commit: r261783 - head/sys/arm/arm

2014-02-11 Thread Warner Losh
Author: imp Date: Tue Feb 11 22:09:03 2014 New Revision: 261783 URL: http://svnweb.freebsd.org/changeset/base/261783 Log: Swap PA and VA so they are in the right registers... Modified: head/sys/arm/arm/locore.S Modified: head/sys/arm/arm/locore.S =

svn commit: r261785 - head/usr.sbin/bhyve

2014-02-11 Thread Tycho Nightingale
Author: tychon Date: Wed Feb 12 00:32:14 2014 New Revision: 261785 URL: http://svnweb.freebsd.org/changeset/base/261785 Log: Provide an indication a "PIO Setup Device to Host FIS" occurred while executing the IDENTIFY DEVICE and IDENTIFY PACKET DEVICE commands. Also, provide an indicatio

svn commit: r261786 - in head/sys: arm/at91 kern sys

2014-02-11 Thread Ian Lepore
Author: ian Date: Wed Feb 12 00:53:38 2014 New Revision: 261786 URL: http://svnweb.freebsd.org/changeset/base/261786 Log: Rework the EARLY_PRINTF mechanism. Instead of defining a special eprintf() routine, now a platform can provide a pointer to an early_putc() routine which is used instead

svn commit: r261789 - head/sys/arm/arm

2014-02-11 Thread Warner Losh
Author: imp Date: Wed Feb 12 03:19:35 2014 New Revision: 261789 URL: http://svnweb.freebsd.org/changeset/base/261789 Log: Convert two while(1); statements into proper panics. Soon, kernels with early printf support will print this info... For kernels without, the observed behavior will be th

svn commit: r261788 - in head: gnu/usr.bin/gdb/kgdb lib/libkvm

2014-02-11 Thread John-Mark Gurney
Author: jmg Date: Wed Feb 12 02:08:42 2014 New Revision: 261788 URL: http://svnweb.freebsd.org/changeset/base/261788 Log: add support for building a cross-gdb for ARM... This isn't hooked up to xdev yet as I don't know how to make it work properly... It also isn't heavily tested... Re

svn commit: r261787 - head/contrib/gdb/gdb

2014-02-11 Thread John-Mark Gurney
Author: jmg Date: Wed Feb 12 02:03:37 2014 New Revision: 261787 URL: http://svnweb.freebsd.org/changeset/base/261787 Log: recognize the FreeBSD ARCH tag that is put on binaries like on armeb EABI binaries... MFC after:1 week Modified: head/contrib/gdb/gdb/osabi.c Modified: head/co

svn commit: r261790 - in head/sys: amd64/include dev/acpica dev/cardbus dev/pccbb dev/pci i386/include sparc64/pci x86/include x86/pci x86/x86

2014-02-11 Thread John Baldwin
Author: jhb Date: Wed Feb 12 04:30:37 2014 New Revision: 261790 URL: http://svnweb.freebsd.org/changeset/base/261790 Log: Add support for managing PCI bus numbers. As with BARs and PCI-PCI bridge I/O windows, the default is to preserve the firmware-assigned resources. PCI bus numbers are on

svn commit: r261791 - head/sys/dev/fdt

2014-02-11 Thread Warner Losh
Author: imp Date: Wed Feb 12 04:56:34 2014 New Revision: 261791 URL: http://svnweb.freebsd.org/changeset/base/261791 Log: Better nomatch messages: include compat string. Also, flag devices as disabled in the successful probe message, but leave what that means to the actual driver (no semant