svn commit: r264868 - stable/10/sys/geom/raid

2014-04-24 Thread Alexander Motin
Author: mav Date: Thu Apr 24 10:22:00 2014 New Revision: 264868 URL: http://svnweb.freebsd.org/changeset/base/264868 Log: MFC r264318: Fix wrong sizes used to access PD_Type and PD_State DDF metadata fields. This caused incorrect behavior of arrays with big-endian DDF metadata.

svn commit: r264869 - stable/9/sys/geom/raid

2014-04-24 Thread Alexander Motin
Author: mav Date: Thu Apr 24 10:23:11 2014 New Revision: 264869 URL: http://svnweb.freebsd.org/changeset/base/264869 Log: MFC r264318: Fix wrong sizes used to access PD_Type and PD_State DDF metadata fields. This caused incorrect behavior of arrays with big-endian DDF metadata.

svn commit: r264870 - stable/10/lib/libipsec

2014-04-24 Thread Christian Brueffer
Author: brueffer Date: Thu Apr 24 10:23:35 2014 New Revision: 264870 URL: http://svnweb.freebsd.org/changeset/base/264870 Log: MFC: r264585 Add a missing break in the TCP case. Reviewed by: bms Modified: stable/10/lib/libipsec/ipsec_dump_policy.c Directory Properties: stable/10/

svn commit: r264871 - stable/9/lib/libipsec

2014-04-24 Thread Christian Brueffer
Author: brueffer Date: Thu Apr 24 10:25:32 2014 New Revision: 264871 URL: http://svnweb.freebsd.org/changeset/base/264871 Log: MFC: r264585 Add a missing break in the TCP case. Reviewed by: bms Modified: stable/9/lib/libipsec/ipsec_dump_policy.c Directory Properties:

svn commit: r264872 - stable/8/lib/libipsec

2014-04-24 Thread Christian Brueffer
Author: brueffer Date: Thu Apr 24 10:27:21 2014 New Revision: 264872 URL: http://svnweb.freebsd.org/changeset/base/264872 Log: MFC: r264585 Add a missing break in the TCP case. Reviewed by: bms Modified: stable/8/lib/libipsec/ipsec_dump_policy.c Directory Properties:

svn commit: r264873 - stable/10/sys/netinet6

2014-04-24 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 24 11:12:53 2014 New Revision: 264873 URL: http://svnweb.freebsd.org/changeset/base/264873 Log: MFC r264582: Remove unused variable. PR: 173521 Modified: stable/10/sys/netinet6/ip6_input.c Directory Properties: stable/10/ (props changed)

svn commit: r264874 - stable/9/sys/netinet6

2014-04-24 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 24 11:13:38 2014 New Revision: 264874 URL: http://svnweb.freebsd.org/changeset/base/264874 Log: MFC r264582: Remove unused variable. PR: 173521 Modified: stable/9/sys/netinet6/ip6_input.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r264875 - stable/8/sys/netinet6

2014-04-24 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 24 11:14:17 2014 New Revision: 264875 URL: http://svnweb.freebsd.org/changeset/base/264875 Log: MFC r264582: Remove unused variable. PR: 173521 Modified: stable/8/sys/netinet6/ip6_input.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r264876 - head/usr.bin/iscsictl

2014-04-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Apr 24 11:27:03 2014 New Revision: 264876 URL: http://svnweb.freebsd.org/changeset/base/264876 Log: Grammar fix. Modified: head/usr.bin/iscsictl/iscsictl.8 Modified: head/usr.bin/iscsictl/iscsictl.8

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

2014-04-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Apr 24 11:28:23 2014 New Revision: 264877 URL: http://svnweb.freebsd.org/changeset/base/264877 Log: Style fixes. Modified: head/usr.sbin/ctld/ctl.conf.5 Modified: head/usr.sbin/ctld/ctl.conf.5

svn commit: r264878 - head/sys/dev/acpica

2014-04-24 Thread Steven Hartland
Author: smh Date: Thu Apr 24 12:38:07 2014 New Revision: 264878 URL: http://svnweb.freebsd.org/changeset/base/264878 Log: Increase ACPI_MAX_TASKS to be 4 x the number of CPU's as 2 x was still insufficient on some machines MFC after:2 weeks Modified: head/sys/dev/acpica/acpivar.h

svn commit: r264879 - head/sys/netinet

2014-04-24 Thread Steven Hartland
Author: smh Date: Thu Apr 24 12:52:31 2014 New Revision: 264879 URL: http://svnweb.freebsd.org/changeset/base/264879 Log: Fix jailed raw sockets not setting the correct source address by calling in_pcbladdr instead of prison_get_ip4 MFC after:1 month Modified:

svn commit: r264880 - head/sys/cam/ctl

2014-04-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Apr 24 12:54:35 2014 New Revision: 264880 URL: http://svnweb.freebsd.org/changeset/base/264880 Log: Modify CTL iSCSI frontend to properly handle situations where datamove routine is called multiple times per SCSI task. Sponsored by: The FreeBSD Foundation

svn commit: r264881 - head/usr.bin/truss

2014-04-24 Thread Steven Hartland
Author: smh Date: Thu Apr 24 14:12:35 2014 New Revision: 264881 URL: http://svnweb.freebsd.org/changeset/base/264881 Log: Add Linux socket call decoding to truss MFC after:1 month Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c Modified:

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

2014-04-24 Thread Roger Pau Monné
Author: royger Date: Thu Apr 24 14:44:42 2014 New Revision: 264882 URL: http://svnweb.freebsd.org/changeset/base/264882 Log: xen: fix copyright header Some of the code in xen-locore.S was picked from Cherry G. Mathew amd64 Xen PV branch, but I've failed to set the proper copyright, so

svn commit: r264883 - head/sys/dev/acpica/Osd

2014-04-24 Thread Steven Hartland
Author: smh Date: Thu Apr 24 14:58:12 2014 New Revision: 264883 URL: http://svnweb.freebsd.org/changeset/base/264883 Log: Remove duplicate SYSCTL_DECL(_debug_acpi) which was breaking tinderbox MFC after:2 weeks X-MFC-With: r264849 Modified: head/sys/dev/acpica/Osd/OsdSchedule.c

svn commit: r264884 - head/sys/cam/ctl

2014-04-24 Thread Alexander Motin
Author: mav Date: Thu Apr 24 15:16:26 2014 New Revision: 264884 URL: http://svnweb.freebsd.org/changeset/base/264884 Log: Make CAM target CTL frontend respect SIM I/O size limitations. If datamove size is bigger then SIM can handle, or it has more segments then this code can handle --

svn commit: r264885 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-04-24 Thread Steven Hartland
Author: smh Date: Thu Apr 24 15:36:00 2014 New Revision: 264885 URL: http://svnweb.freebsd.org/changeset/base/264885 Log: Eliminate duplicate checks in vdev_geom_io_intr error handling MFC after:1 month Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c

svn commit: r264886 - head/sys/cam/ctl

2014-04-24 Thread Alexander Motin
Author: mav Date: Thu Apr 24 16:19:49 2014 New Revision: 264886 URL: http://svnweb.freebsd.org/changeset/base/264886 Log: Remove limits on size of READ/WRITE operations. Instead of allocating up to 16MB or RAM at once to handle whole I/O, allocate up to 1MB at a time, but do multiple

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-04-24 Thread Justin T. Gibbs
Why wouldn’t we fix these with explicit subdir dependencies (e.g: subdira: subdirb)? I’m pretty sure I had this working with a hacked up bsd.subdir.mk at a previous job, but my memory is hazy. — Justin On Apr 21, 2014, at 7:35 AM, Warner Losh i...@bsdimp.com wrote: (sorry for the top

svn commit: r264887 - in head: sys/net sys/netinet tests/sys/netinet

2014-04-24 Thread Alan Somers
Author: asomers Date: Thu Apr 24 17:23:16 2014 New Revision: 264887 URL: http://svnweb.freebsd.org/changeset/base/264887 Log: Fix host and network routes for new interfaces when net.add_addr_allfibs=0 sys/net/route.c In rtinit1, use the interface fib instead of the process fib.

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-04-24 Thread Ian Lepore
I couldn't think of a way to do that, because the directory itself isn't the dependency. That is, whether one directory has a newer/older timestamp than the other isn't a function of the build process. The fact that someone else mentioned inserting .WAIT into the list is something I took as a

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-04-24 Thread Jilles Tjoelker
On Thu, Apr 24, 2014 at 12:14:06PM -0600, Ian Lepore wrote: On Thu, 2014-04-24 at 11:17 -0600, Justin T. Gibbs wrote: Why wouldn’t we fix these with explicit subdir dependencies (e.g: subdira: subdirb)? I’m pretty sure I had this working with a hacked up bsd.subdir.mk at a previous job,

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-04-24 Thread Warner Losh
The dependency would have to be on the artificial targets that are created, and could easily be done. .WAIT is good for things like libc where everything is dependent on it, but poor for other dependencies which would be expressed as individual dependencies. Warner On Apr 24, 2014, at 12:14 PM,

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-04-24 Thread Ian Lepore
On Thu, 2014-04-24 at 20:19 +0200, Jilles Tjoelker wrote: On Thu, Apr 24, 2014 at 12:14:06PM -0600, Ian Lepore wrote: On Thu, 2014-04-24 at 11:17 -0600, Justin T. Gibbs wrote: Why wouldn’t we fix these with explicit subdir dependencies (e.g: subdira: subdirb)? I’m pretty sure I had this

svn commit: r264888 - in head/sys: fs/nfsserver nfsserver

2014-04-24 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 24 20:47:58 2014 New Revision: 264888 URL: http://svnweb.freebsd.org/changeset/base/264888 Log: The PR reported that the old NFS server did not set uio_td == NULL for the VOP_READ() call. This patch fixes both the old and new server for this case. PR:

svn commit: r264889 - head/sbin/newfs_msdos

2014-04-24 Thread Ed Maste
Author: emaste Date: Thu Apr 24 20:53:09 2014 New Revision: 264889 URL: http://svnweb.freebsd.org/changeset/base/264889 Log: Correct min/max cluster counts for FAT12/16/32 FAT12 1..4084 FAT16 4085..65524 FAT32 65525.. This is required for interoperability with other FAT

svn commit: r264890 - head/sys/mips/mips

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 21:17:48 2014 New Revision: 264890 URL: http://svnweb.freebsd.org/changeset/base/264890 Log: More like gone in 11... Modified: head/sys/mips/mips/pm_machdep.c Modified: head/sys/mips/mips/pm_machdep.c

svn commit: r264892 - head/tools/tools/nanobsd

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 21:18:01 2014 New Revision: 264892 URL: http://svnweb.freebsd.org/changeset/base/264892 Log: Turns out that bash whines line a spoiled three year old when it encounters empty function. Put the 'true' passifier back. This effectively backs out r264857.

svn commit: r264891 - head/tools/tools/nanobsd

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 21:17:53 2014 New Revision: 264891 URL: http://svnweb.freebsd.org/changeset/base/264891 Log: Channel my inner hobgoblin and make all functions enclosed in () instead of some in () and some in {} Modified: head/tools/tools/nanobsd/nanobsd.sh Modified:

svn commit: r264893 - head/share/mk

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 21:18:06 2014 New Revision: 264893 URL: http://svnweb.freebsd.org/changeset/base/264893 Log: Always define LIBLDNS. We don't need to only define it when it is enabled. Modified: head/share/mk/bsd.libnames.mk Modified: head/share/mk/bsd.libnames.mk

svn commit: r264894 - head/share/mk

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 21:18:14 2014 New Revision: 264894 URL: http://svnweb.freebsd.org/changeset/base/264894 Log: LIBMILTER can be defined always. No need to restrict to only when we're building sendmail. Modified: head/share/mk/bsd.libnames.mk Modified:

svn commit: r264896 - head/share/mk

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 21:18:29 2014 New Revision: 264896 URL: http://svnweb.freebsd.org/changeset/base/264896 Log: LIBUNBOUND can be unconditionally set. Modified: head/share/mk/bsd.libnames.mk Modified: head/share/mk/bsd.libnames.mk

svn commit: r264895 - head/share/mk

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 21:18:22 2014 New Revision: 264895 URL: http://svnweb.freebsd.org/changeset/base/264895 Log: Don't need to make these conditional on MK_LIBCPLUSPLUS. They can be defined all the time without ill effect. Modified: head/share/mk/bsd.libnames.mk Modified:

svn commit: r264897 - head/sys/mips/beri

2014-04-24 Thread Brooks Davis
Author: brooks Date: Thu Apr 24 22:28:53 2014 New Revision: 264897 URL: http://svnweb.freebsd.org/changeset/base/264897 Log: Merge from CheriBSD: commit 003649d9622ce252a2794ae5891ee7e7c209caca Author: Robert N. M. Watson robert.wat...@cl.cam.ac.uk Date: Wed Feb 5 18:32:09 2014 +

svn commit: r264898 - head/sys/dev/ath/ath_hal/ar5210

2014-04-24 Thread Adrian Chadd
Author: adrian Date: Thu Apr 24 23:10:24 2014 New Revision: 264898 URL: http://svnweb.freebsd.org/changeset/base/264898 Log: Fix ah_powerMode to be set at the correct place for the AR5210. Tested: * AR5210, STA mode Modified: head/sys/dev/ath/ath_hal/ar5210/ar5210_power.c

svn commit: r264900 - head/sys/dev/ath/ath_hal/ar5211

2014-04-24 Thread Adrian Chadd
Author: adrian Date: Thu Apr 24 23:11:36 2014 New Revision: 264900 URL: http://svnweb.freebsd.org/changeset/base/264900 Log: Fix the AR5211 power mode tracking stuff. Tested: * AR5211, STA mode Modified: head/sys/dev/ath/ath_hal/ar5211/ar5211_power.c Modified:

svn commit: r264899 - head/sys/dev/ath/ath_hal/ar5210

2014-04-24 Thread Adrian Chadd
Author: adrian Date: Thu Apr 24 23:11:18 2014 New Revision: 264899 URL: http://svnweb.freebsd.org/changeset/base/264899 Log: Fix the AR5210 HAL code to store the association ID and restore it upon reset. Tested: * AR5210, STA mode Modified:

svn commit: r264901 - head/sys/net80211

2014-04-24 Thread Adrian Chadd
Author: adrian Date: Thu Apr 24 23:12:40 2014 New Revision: 264901 URL: http://svnweb.freebsd.org/changeset/base/264901 Log: Modify the ioctl path to support querying things if the vap state is SLEEP rather than RUN. Without this things like 'ifconfig wlan0 list sta' don't work when the

svn commit: r264903 - in head: share/mk tools/build/options usr.bin

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 23:17:40 2014 New Revision: 264903 URL: http://svnweb.freebsd.org/changeset/base/264903 Log: Add option WITHOUT_VI to not build/install vi. vi was the largest binary without a knob to turn it off. Added: head/tools/build/options/WITHOUT_VI (contents, props

svn commit: r264902 - in head: kerberos5 share/mk tools/build/options

2014-04-24 Thread Warner Losh
Author: imp Date: Thu Apr 24 23:17:31 2014 New Revision: 264902 URL: http://svnweb.freebsd.org/changeset/base/264902 Log: Use MK_OPENLDAP in preference to WITH_OPENLDAP and make it a default NO option to match the opt-in nature of the historical nature of this option. Added:

svn commit: r264904 - head/sys/mips/beri

2014-04-24 Thread Brooks Davis
Author: brooks Date: Thu Apr 24 23:28:09 2014 New Revision: 264904 URL: http://svnweb.freebsd.org/changeset/base/264904 Log: Fix beri_simplebus probing. It's not allowed to have two modules on the same bus with the same name. Tweak the description so it's clear the BERI version

svn commit: r264905 - in head: sys/net sys/netinet sys/netinet6 tests/sys/netinet

2014-04-24 Thread Alan Somers
Author: asomers Date: Thu Apr 24 23:56:56 2014 New Revision: 264905 URL: http://svnweb.freebsd.org/changeset/base/264905 Log: Fix subnet and default routes on different FIBs on the same subnet. These two bugs are closely related. The root cause is that ifa_ifwithnet does not consider

svn commit: r264906 - head/sys/net80211

2014-04-24 Thread Adrian Chadd
Author: adrian Date: Fri Apr 25 01:20:10 2014 New Revision: 264906 URL: http://svnweb.freebsd.org/changeset/base/264906 Log: Add a SLEEP-SCAN transition. Without this a disassociate or scan request during SLEEP results in a hang. Whilst I'm here, add in some disabled code that will

svn commit: r264907 - in head/release: amd64 i386

2014-04-24 Thread Glen Barber
Author: gjb Date: Fri Apr 25 01:38:57 2014 New Revision: 264907 URL: http://svnweb.freebsd.org/changeset/base/264907 Log: Refactor make-memstick.sh to avoid creating the 'dangerously dedicated' partition scheme, reported to cause the memstick.img to fail to boot. Similar to how

Re: svn commit: r264907 - in head/release: amd64 i386

2014-04-24 Thread Glen Barber
On Thu, Apr 24, 2014 at 07:12:10PM -0700, Nathan Whitehorn wrote: On 04/24/14 18:38, Glen Barber wrote: Author: gjb Date: Fri Apr 25 01:38:57 2014 New Revision: 264907 URL: http://svnweb.freebsd.org/changeset/base/264907 Log: Refactor make-memstick.sh to avoid creating the 'dangerously

svn commit: r264909 - head/tools/tools/nanobsd

2014-04-24 Thread Warner Losh
Author: imp Date: Fri Apr 25 02:29:29 2014 New Revision: 264909 URL: http://svnweb.freebsd.org/changeset/base/264909 Log: Put my inner hobgoblin on a leash: These routines, at least, needed to be {} so they don't run in a subshell. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified:

svn commit: r264910 - head/usr.bin/hexdump

2014-04-24 Thread Xin LI
Author: delphij Date: Fri Apr 25 04:01:25 2014 New Revision: 264910 URL: http://svnweb.freebsd.org/changeset/base/264910 Log: Constify. Modified: head/usr.bin/hexdump/hexdump.h head/usr.bin/hexdump/parse.c Modified: head/usr.bin/hexdump/hexdump.h

svn commit: r264911 - stable/10/contrib/netcat

2014-04-24 Thread Xin LI
Author: delphij Date: Fri Apr 25 04:49:27 2014 New Revision: 264911 URL: http://svnweb.freebsd.org/changeset/base/264911 Log: MFC r258195+r264361: nc from OpenBSD 5.5. Modified: stable/10/contrib/netcat/nc.1 stable/10/contrib/netcat/netcat.c Directory Properties: stable/10/ (props

Re: svn commit: r264907 - in head/release: amd64 i386

2014-04-24 Thread Don Lewis
On 24 Apr, Glen Barber wrote: On Thu, Apr 24, 2014 at 07:12:10PM -0700, Nathan Whitehorn wrote: On 04/24/14 18:38, Glen Barber wrote: Author: gjb Date: Fri Apr 25 01:38:57 2014 New Revision: 264907 URL: http://svnweb.freebsd.org/changeset/base/264907 Log: Refactor make-memstick.sh to