svn commit: r277919 - stable/10/sys/cam/ctl

2015-01-30 Thread Alexander Motin
Author: mav Date: Fri Jan 30 09:05:43 2015 New Revision: 277919 URL: https://svnweb.freebsd.org/changeset/base/277919 Log: MFC r277247: Don't count status as sent until CTIO completes successfully. If we aggregated status sending with data move and got error, allow status to be updated an

svn commit: r277918 - stable/10/sys/cam/ctl

2015-01-30 Thread Alexander Motin
Author: mav Date: Fri Jan 30 09:04:20 2015 New Revision: 277918 URL: https://svnweb.freebsd.org/changeset/base/277918 Log: MFC r277529: Don't count requests with status sent as overlapping. While those requests are still in target OOA queue, for initiator they are already completed, so ta

svn commit: r277920 - head/lib/libnv

2015-01-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 30 09:44:29 2015 New Revision: 277920 URL: https://svnweb.freebsd.org/changeset/base/277920 Log: If moving descriptor or binary data to an nvlist fails, we need to close the descriptor or free the memory before returning. Submitted by: Mariusz Zaborski Whil

svn commit: r277921 - head/lib/libnv

2015-01-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 30 10:08:38 2015 New Revision: 277921 URL: https://svnweb.freebsd.org/changeset/base/277921 Log: Modify nvlist_get_parent() API to take additional cookie argument. This allow for non-recursive iteration over nested nvlists, as in documented example. Submitted b

svn commit: r277922 - head/sys/ufs/ffs

2015-01-30 Thread Konstantin Belousov
Author: kib Date: Fri Jan 30 11:41:46 2015 New Revision: 277922 URL: https://svnweb.freebsd.org/changeset/base/277922 Log: When mounting SU-enabled mount point, wait until the softdep_flush() thread started and incremented the stat_flush_threads [1]. Unconditionally wakeup softdep_flush t

svn commit: r277925 - head/lib/libnv

2015-01-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 30 12:31:29 2015 New Revision: 277925 URL: https://svnweb.freebsd.org/changeset/base/277925 Log: Handle empty nvlists correctly. Submitted by: Mariusz Zaborski Modified: head/lib/libnv/nvlist.c Modified: head/lib/libnv/nvlist.c

svn commit: r277926 - head/lib/libnv

2015-01-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 30 12:57:35 2015 New Revision: 277926 URL: https://svnweb.freebsd.org/changeset/base/277926 Log: Add missing nvlist_get_parent(3) link. Submitted by: Mariusz Zaborski Modified: head/lib/libnv/Makefile Modified: head/lib/libnv/Makefile =

svn commit: r277927 - head/lib/libnv

2015-01-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 30 13:03:36 2015 New Revision: 277927 URL: https://svnweb.freebsd.org/changeset/base/277927 Log: Make gcc happy. Reported by: bz Modified: head/lib/libnv/nvlist.c Modified: head/lib/libnv/nvlist.c ===

svn commit: r277928 - head/sys/dev/ofw

2015-01-30 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jan 30 14:09:07 2015 New Revision: 277928 URL: https://svnweb.freebsd.org/changeset/base/277928 Log: Do not leak the OFW memory when the result does not satisfy our alignment requirement. While here, fix style(9) issues. Modified: head/sys/dev/ofw/openfirm.c Mod

svn commit: r277931 - stable/10/lib/libedit

2015-01-30 Thread Ed Maste
Author: emaste Date: Fri Jan 30 14:22:15 2015 New Revision: 277931 URL: https://svnweb.freebsd.org/changeset/base/277931 Log: Merge libedit fixes from NetBSD Add trailing NULL's to the varargs functions as required. (John Spencer) readline.c r1.106 Bounds search for realloca

svn commit: r277932 - head/sys/arm/broadcom/bcm2835

2015-01-30 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jan 30 14:35:04 2015 New Revision: 277932 URL: https://svnweb.freebsd.org/changeset/base/277932 Log: Allow the retrieving of the reserved pins state. With this change, it is now possible to verify the pin function and level of reserved pins (but not set them).

svn commit: r277933 - stable/10/usr.bin/sed

2015-01-30 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 30 14:36:02 2015 New Revision: 277933 URL: https://svnweb.freebsd.org/changeset/base/277933 Log: MFC r277802, r277811: sed: Fix resource leak and dereference after NULL. process.c: Protect access against NULL. main.c: Prevent outfile overwrite resou

svn commit: r277934 - stable/9/usr.bin/sed

2015-01-30 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 30 14:37:59 2015 New Revision: 277934 URL: https://svnweb.freebsd.org/changeset/base/277934 Log: MFC r277802, r277811: sed: Fix resource leak and dereference after NULL. process.c: Protect access against NULL. main.c: Prevent outfile overwrite resou

Re: svn commit: r277900 - head/sys/x86/x86

2015-01-30 Thread John Baldwin
On 1/29/15 10:51 PM, Ryan Stone wrote: > On Thu, Jan 29, 2015 at 3:45 PM, John Baldwin wrote: >> Also, note that we always use the TSC as the cpu ticker, even if it is not >> the >> timecounter. Thus, if C2+ is enabled on the systems, the kernel idle threads >> will have an artificially low runt

svn commit: r277936 - head/libexec/rtld-elf

2015-01-30 Thread Konstantin Belousov
Author: kib Date: Fri Jan 30 15:32:35 2015 New Revision: 277936 URL: https://svnweb.freebsd.org/changeset/base/277936 Log: Use powerof2(). Remove single-use variable. Submitted by: Conrad Meyer Differential Revision:https://reviews.freebsd.org/D1724 MFC after:1 week Modifi

svn commit: r277937 - head/tools/tools/nanobsd/rescue

2015-01-30 Thread Michael Reifenberger
Author: mr Date: Fri Jan 30 15:42:52 2015 New Revision: 277937 URL: https://svnweb.freebsd.org/changeset/base/277937 Log: Keep original images, dont compile tests, makefs for iso images translates labes to uppercase, so adopt fstab for this case. Modified: head/tools/tools/nanobsd/rescue/b

svn commit: r277938 - head/sys/netinet

2015-01-30 Thread Hiren Panchasara
Author: hiren Date: Fri Jan 30 17:29:07 2015 New Revision: 277938 URL: https://svnweb.freebsd.org/changeset/base/277938 Log: Make syncookie_mac() use 'tcp_seq irs' in computing hash. This fixes what seems like a simple oversight when the function was added in r253210. Reported by:

svn commit: r277939 - head/usr.bin/grep

2015-01-30 Thread Garrett Cooper
Author: ngie Date: Fri Jan 30 18:07:46 2015 New Revision: 277939 URL: https://svnweb.freebsd.org/changeset/base/277939 Log: Create MANLINKS for lzgrep, etc when MK_LZMA_SUPPORT != no MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Modified: head/usr.bin/grep/Makefile Mod

svn commit: r277940 - in head/sys: conf modules/aesni

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 18:17:17 2015 New Revision: 277940 URL: https://svnweb.freebsd.org/changeset/base/277940 Log: For clang, disable -Wcast-qual warnings for specific aesni files, since clang 3.6.0 will emit a number of such warnings for those files, and they are partially contribut

svn commit: r277941 - head/sys/arm/broadcom/bcm2835

2015-01-30 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jan 30 18:18:09 2015 New Revision: 277941 URL: https://svnweb.freebsd.org/changeset/base/277941 Log: The BCM2835 GPIO controller uses has interrupt lines and not only one. Allocate all four, we will use them soon. Simplificate the allocation of memory and interrupt

svn commit: r277942 - head/share/misc

2015-01-30 Thread Eric Joyner
Author: erj Date: Fri Jan 30 18:19:22 2015 New Revision: 277942 URL: https://svnweb.freebsd.org/changeset/base/277942 Log: Add myself (erj) to committers-src.dot. Approved by: gnn (mentor), jfv (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-s

Re: svn commit: r277908 - head/share/man/man9

2015-01-30 Thread Ed Maste
On 29 January 2015 at 22:34, Benjamin Kaduk wrote: > > Wouldn't it be like a two-line patch to change contigfree(9) to permit NULL > as an argument? It would. > Would it be better to do that? Perhaps, although contigmalloc / contigfree have a smallish set of distinct use cases and existing code

svn commit: r277943 - head/sys/boot/efi/libefi

2015-01-30 Thread Doug Ambrisko
Author: ambrisko Date: Fri Jan 30 18:25:53 2015 New Revision: 277943 URL: https://svnweb.freebsd.org/changeset/base/277943 Log: Fix UEFI PXE boot on a NIC that isn't the first NIC. In UEFI it appears all available NICS are present to pass network traffic. This gives the capability to load

svn commit: r277944 - head/contrib/libcxxrt

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 18:26:38 2015 New Revision: 277944 URL: https://svnweb.freebsd.org/changeset/base/277944 Log: Partially revert r273382, to reduce diffs against upstream. This was a temporary fix to solve a conflict with an older version of libc++, and it is no longer relevant.

svn commit: r277946 - in stable/10/sys/boot: i386/loader pc98/loader

2015-01-30 Thread John Baldwin
Author: jhb Date: Fri Jan 30 18:55:05 2015 New Revision: 277946 URL: https://svnweb.freebsd.org/changeset/base/277946 Log: MFC 274398,274537: Move NFS and TFTP filesystems before the synthetic filesystems (bzip, gzip, and split). Modified: stable/10/sys/boot/i386/loader/conf.c stable/10

svn commit: r277947 - in stable/9/sys/boot: i386/loader pc98/loader

2015-01-30 Thread John Baldwin
Author: jhb Date: Fri Jan 30 18:55:16 2015 New Revision: 277947 URL: https://svnweb.freebsd.org/changeset/base/277947 Log: MFC 274398,274537: Move NFS and TFTP filesystems before the synthetic filesystems (bzip, gzip, and split). Modified: stable/9/sys/boot/i386/loader/conf.c stable/9/s

svn commit: r277948 - head/lib/msun/src

2015-01-30 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 30 19:19:03 2015 New Revision: 277948 URL: https://svnweb.freebsd.org/changeset/base/277948 Log: msun: use previously ignored value. This fixes evaluation of exceptional values in scalblnl(). While here, simplify the code as suggested by Bruce Evans. Reporte

Re: svn commit: r277203 - in head/sys: kern sys

2015-01-30 Thread Robert N. M. Watson
> On 15 Jan 2015, at 12:35, Joerg Sonnenberger wrote: > > On Wed, Jan 14, 2015 at 11:44:00PM +, Robert Watson wrote: >> - As we anticipate embedding mbufs headers within variable-size regions of >>memory in the future, change the definitions of byte arrays embedded in >>mbufs to be

svn commit: r277949 - head/sys/boot/i386/libi386

2015-01-30 Thread Michael Gmelin
Author: grembo (ports committer) Date: Fri Jan 30 19:47:25 2015 New Revision: 277949 URL: https://svnweb.freebsd.org/changeset/base/277949 Log: New function smbios_match to detect BIOS versions during boot Motivation is to introduce BIOS specific quirks early in the boot process. smbios_m

svn commit: r277950 - head/usr.sbin/bsdinstall/partedit

2015-01-30 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jan 30 21:22:18 2015 New Revision: 277950 URL: https://svnweb.freebsd.org/changeset/base/277950 Log: Use MBR by default on BIOS systems. An increasing number of motherboards assume that GPT means UEFI boot, resulting in the installation of uninstallable systems.

svn commit: r277951 - head/sys/netgraph

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 21:59:53 2015 New Revision: 277951 URL: https://svnweb.freebsd.org/changeset/base/277951 Log: Fix a bunch of -Wcast-qual warnings in netgraph's ng_parse.c, by using __DECONST. No functional change. MFC after:3 days Modified: head/sys/netgraph/ng_parse.

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

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 22:01:45 2015 New Revision: 277952 URL: https://svnweb.freebsd.org/changeset/base/277952 Log: Fix a -Wcast-qual warning in udf_vnops.c, by using __DECONST. No functional change. MFC after:3 days Modified: head/sys/fs/udf/udf_vnops.c Modified: head/sys

svn commit: r277953 - head/sys/fs/smbfs

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 22:02:32 2015 New Revision: 277953 URL: https://svnweb.freebsd.org/changeset/base/277953 Log: Fix a -Wcast-qual warning in smbfs_subr.c, by using __DECONST. No functional change. MFC after:3 days Modified: head/sys/fs/smbfs/smbfs_subr.c Modified: head

svn commit: r277954 - head/games/fortune/fortune

2015-01-30 Thread Colin Percival
Author: cperciva Date: Fri Jan 30 23:26:03 2015 New Revision: 277954 URL: https://svnweb.freebsd.org/changeset/base/277954 Log: Fix 7-year-old typo: The default directory searched for fortunes is /usr/share/games/fortune, not /usr/games/fortune (which is the path to the fortune binary itself

svn commit: r277957 - head/sys/boot/i386/libi386

2015-01-30 Thread Michael Gmelin
Author: grembo (ports committer) Date: Sat Jan 31 00:06:05 2015 New Revision: 277957 URL: https://svnweb.freebsd.org/changeset/base/277957 Log: Fix order of functions in smbios.c (corrects r277949), since this corrects a build error I committed this directly, sorry. Modified: head/sys/boot/

svn commit: r277958 - head/sys/arm/ti

2015-01-30 Thread Rui Paulo
Author: rpaulo Date: Sat Jan 31 02:12:57 2015 New Revision: 277958 URL: https://svnweb.freebsd.org/changeset/base/277958 Log: ti_pruss: make sure the mmap'ed memory region is uncacheable. MFC after:1 week Modified: head/sys/arm/ti/ti_pruss.c Modified: head/sys/arm/ti/ti_pruss.c

svn commit: r277959 - head/sys/dev/drm2/i915

2015-01-30 Thread Adrian Chadd
Author: adrian Date: Sat Jan 31 02:13:25 2015 New Revision: 277959 URL: https://svnweb.freebsd.org/changeset/base/277959 Log: Fix backlight for ivybridge based laptops (and whatever else comes through this codepath.) (1<<30) is documented as BLM_PCH_OVERRIDE_ENABLE, which the current i9

svn commit: r277960 - head/sys/sys

2015-01-30 Thread John Baldwin
Author: jhb Date: Sat Jan 31 02:15:16 2015 New Revision: 277960 URL: https://svnweb.freebsd.org/changeset/base/277960 Log: Add a WITNESS_WARN check to STOPEVENT() to match the one in _STOPEVENT(). Modified: head/sys/sys/proc.h Modified: head/sys/sys/proc.h ===

svn commit: r277961 - head/lib/libproc

2015-01-30 Thread Mark Johnston
Author: markj Date: Sat Jan 31 03:22:00 2015 New Revision: 277961 URL: https://svnweb.freebsd.org/changeset/base/277961 Log: Stop iterating and return if the caller-supplied callback function returns a non-zero value. MFC after:1 week Modified: head/lib/libproc/proc_sym.c Modified

svn commit: r277962 - head/sys/boot/common

2015-01-30 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 31 07:22:29 2015 New Revision: 277962 URL: https://svnweb.freebsd.org/changeset/base/277962 Log: Add support for booting relocatable kernels on PowerPC. Modified: head/sys/boot/common/load_elf.c Modified: head/sys/boot/common/load_elf.c ==

svn commit: r277963 - in head/sys: cam/ctl conf dev/iscsi modules/ctl modules/iscsi

2015-01-30 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jan 31 07:49:50 2015 New Revision: 277963 URL: https://svnweb.freebsd.org/changeset/base/277963 Log: Add kobj interface between ICL and the rest of the iSCSI stack. Review note - icl.c was moved to icl_soft.c. MFC after:1 month Sponsored by: The FreeBSD Found