]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFC r273515, r274055, r274063, r274215, r274065, r274502:
bryanv [Sat, 29 Nov 2014 22:48:40 +0000 (22:48 +0000)]
MFC r273515, r274055, r274063, r274215, r274065, r274502:

Add VirtIO console driver.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275273 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r271366 (by mav@):
trasz [Sat, 29 Nov 2014 16:07:15 +0000 (16:07 +0000)]
MFC r271366 (by mav@):

Fix memory leak, reported by Coverity.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275259 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274278:
trasz [Sat, 29 Nov 2014 16:01:44 +0000 (16:01 +0000)]
MFC r274278:

Improve wording in ctl.conf(5).

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275258 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273896:
trasz [Sat, 29 Nov 2014 15:57:31 +0000 (15:57 +0000)]
MFC r273896:

Build mount_nfs(8) with WARNS=6.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275257 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273848:
trasz [Sat, 29 Nov 2014 15:55:35 +0000 (15:55 +0000)]
MFC r273848:

Get rid of obsolete code in mount_nfs(8).

MFC r273861:

Remove two functions unused after r273848.  Would be nice if clang
or at least scan-build yelled about it.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275255 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273854:
trasz [Sat, 29 Nov 2014 15:51:48 +0000 (15:51 +0000)]
MFC r273854:

Update acl(3) to expand on NFSv4 ACL support.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275254 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273853:
trasz [Sat, 29 Nov 2014 15:50:13 +0000 (15:50 +0000)]
MFC r273853:

Make it clear that ACL flags are NFSv4-only.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275253 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273852:
trasz [Sat, 29 Nov 2014 15:48:47 +0000 (15:48 +0000)]
MFC r273852:

Fix handling of "conn" mount_nfs(8) option.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275252 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273851:
trasz [Sat, 29 Nov 2014 15:43:32 +0000 (15:43 +0000)]
MFC r273851:

Note that the "timeout" nfs option is in tenths of a second.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275250 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273849:
trasz [Sat, 29 Nov 2014 15:41:55 +0000 (15:41 +0000)]
MFC r273849:

Add support for "timeo", "actimeo", "noac", and "proto" options
to mount_nfs(8).  They are implemented on Linux, OS X, and Solaris,
and thus can be expected to appear in automounter maps.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275249 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273822:
trasz [Sat, 29 Nov 2014 15:39:31 +0000 (15:39 +0000)]
MFC r273822:

Fix iscsictl(8) and ctld(8) to correctly handle Windows newlines
(CRLF) in iscsi.conf and ctl.conf.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275248 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273821:
trasz [Sat, 29 Nov 2014 15:37:51 +0000 (15:37 +0000)]
MFC r273821:

Keep the token list sorted.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275247 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273820:
trasz [Sat, 29 Nov 2014 15:36:10 +0000 (15:36 +0000)]
MFC r273820:

Make it possible to optionally use semicolon to separate statements.
This makes it possible to format stuff like this:

target xxx {
lun 0 { path /foo/bar; size 4G; }
}

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275246 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273816:
trasz [Sat, 29 Nov 2014 15:34:17 +0000 (15:34 +0000)]
MFC r273816:

Simplify code; no functional changes.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275245 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273813:
trasz [Sat, 29 Nov 2014 15:32:15 +0000 (15:32 +0000)]
MFC r273813:

Add discovery-filter.  This makes it possible to restrict which targets
are returned during discovery based on initiator portal, name, and CHAP
credentials.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275244 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r272484:
rodrigc [Sat, 29 Nov 2014 08:33:54 +0000 (08:33 +0000)]
MFC r272484:

Add dependencies to various libraries to libzfs and libzpool.

Submitted by: sef

git-svn-id: svn://svn.freebsd.org/base/stable/10@275236 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274020:
hselasky [Sat, 29 Nov 2014 05:07:24 +0000 (05:07 +0000)]
MFC r274020:
Reduce boot verbosity.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275230 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r275109:
hselasky [Sat, 29 Nov 2014 04:18:56 +0000 (04:18 +0000)]
MFC r275109:
Add support for 64-byte CQE size.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@275228 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274744.
cy [Fri, 28 Nov 2014 20:39:35 +0000 (20:39 +0000)]
MFC r274744.

Set the current vnet inside the ioctl handler for ipfilter.

Without this fix, the vnet was NULL and would crash.
This fix is similar to what was done inside the ioctl handler for PF.

Tested by:
   (1) Boot a kernel with "options VIMAGE" enabled
   (2) Type:

   echo "map lo0 from 10.0.0.0/24 to ! 10.0.0.0/24 -> 127.0.0.1/32" > /etc/ipnat.rules ; service ipnat onerestart

PR: 176992
Differential Revision: https://reviews.freebsd.org/D1191

git-svn-id: svn://svn.freebsd.org/base/stable/10@275213 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274017, r274088 and r275205:
hselasky [Fri, 28 Nov 2014 19:21:46 +0000 (19:21 +0000)]
MFC r274017, r274088 and r275205:

Provide an on-stack temporary buffer for small IOCTL requests.
Avoiding a memory allocation per IOCTL request can give a significant
speedup for applications which heavily rely on IOCTLs.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275212 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274756:
mav [Fri, 28 Nov 2014 09:23:15 +0000 (09:23 +0000)]
MFC r274756:
Remove residual xpt_release_device() call left after r272406 cleanup.

Excessive release here could trigger use-after-free condition and kernel
panic on LUN 0 disconnect.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275204 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274840, r274940:
mav [Fri, 28 Nov 2014 08:56:37 +0000 (08:56 +0000)]
MFC r274840, r274940:
Make iSCSI frontend less chatty while waiting for tasks termination.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275203 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274790: Remove bunch of unused lun variables.
mav [Fri, 28 Nov 2014 08:54:43 +0000 (08:54 +0000)]
MFC r274790: Remove bunch of unused lun variables.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275202 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274789: Reduce race between LUN destruction and request arrival.
mav [Fri, 28 Nov 2014 08:53:44 +0000 (08:53 +0000)]
MFC r274789: Reduce race between LUN destruction and request arrival.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275201 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274786: Log errors for absent LUNs too.
mav [Fri, 28 Nov 2014 08:52:38 +0000 (08:52 +0000)]
MFC r274786: Log errors for absent LUNs too.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275200 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoI've merged r273770 in a right directory, but committed in a wrong one.
trasz [Thu, 27 Nov 2014 10:51:10 +0000 (10:51 +0000)]
I've merged r273770 in a right directory, but committed in a wrong one.
Fix it (hopefully).

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275188 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273770:
trasz [Thu, 27 Nov 2014 10:48:06 +0000 (10:48 +0000)]
MFC r273770:

Fix build after previous commit.  While here, improve error messages.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275187 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273768:
trasz [Thu, 27 Nov 2014 10:45:55 +0000 (10:45 +0000)]
MFC r273768:

Remove the distinction between strings and numbers from ctld(8) yacc parser.
This fixes problems with passing strings that look like numbers to clauses
that expect strings; previously it caused syntax errors and had to be worked
by user, using quotes.  The workaround introduced in r267833 is no longer
neccessary.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275186 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273690:
trasz [Thu, 27 Nov 2014 10:31:11 +0000 (10:31 +0000)]
MFC r273690:

Mention VAAI and ODX in ctl(4).

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@275185 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274750:
ae [Thu, 27 Nov 2014 08:41:31 +0000 (08:41 +0000)]
MFC r274750:
  Use geom attribute "PART::type" to determine partition type and choose
  relevant fsck_xxx utility.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275179 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273774:
hselasky [Wed, 26 Nov 2014 09:37:35 +0000 (09:37 +0000)]
MFC r273774:
Make some infiniband example utilities easily buildable:
- Add new Makefiles.
- Add more include directories when building.
- Fixed a printf() formatting string.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@275107 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274724:
np [Wed, 26 Nov 2014 00:44:48 +0000 (00:44 +0000)]
MFC r274724:
cxgbe(4): figure out the max payload size and save it for later.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275092 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274116:
dteske [Tue, 25 Nov 2014 13:47:53 +0000 (13:47 +0000)]
MFC r274116:

Add new libraries/utilities for data throughput visualization.
dpv(3): dialog progress view library
dpv(1): stream data from stdin or multiple paths with dialog progress view
figpar(3): configuration file parsing library

MFC r274120, r274121, r274123, r274124, r274144, r274146, r274159, r274192,
r274203, r274209, r274226, r274270, and r274851: Fixes following r274116

Reviews:        D714
Relnotes:       New libdpv/libfigpar and dpv(1) utility
Reviewed by:    jelischer, shurd
Discussed at:   MeetBSD California 2014 Vendor/Dev Summit
Discussed on:   -current
Thanks to:      ngie, ian, jelischer, shurd, bapt

git-svn-id: svn://svn.freebsd.org/base/stable/10@275040 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274900:
dim [Tue, 25 Nov 2014 13:29:13 +0000 (13:29 +0000)]
MFC r274900:

Fix the following -Werror warnings from clang 3.5.0, while building
bsnmpd's snmp_hostres module:

usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: error: absolute value function 'abs' given an argument of type 'const long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value]
        str[9] = (u_char)(abs(tm->tm_gmtoff) / 3600);
                          ^
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: note: use function 'labs' instead
        str[9] = (u_char)(abs(tm->tm_gmtoff) / 3600);
                          ^~~
                          labs
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:205:22: error: absolute value function 'abs' given an argument of type 'const long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value]
        str[10] = (u_char)((abs(tm->tm_gmtoff) % 3600) / 60);
                            ^
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:205:22: note: use function 'labs' instead
        str[10] = (u_char)((abs(tm->tm_gmtoff) % 3600) / 60);
                            ^~~
                            labs

Since tm::tm_gmtoff is a long, use labs(3) instead.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275039 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274898:
dim [Tue, 25 Nov 2014 13:12:45 +0000 (13:12 +0000)]
MFC r274898:

Fix the following -Werror warnings from clang 3.5.0, while building
usr.sbin/rtadvd:

usr.sbin/rtadvd/rtadvd.c:1291:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                    abs(preferred_time - pfx->pfx_pltimeexpire) > rai->rai_clockskew) {
                    ^
usr.sbin/rtadvd/rtadvd.c:1291:7: note: remove the call to 'abs' since unsigned values cannot be negative
                    abs(preferred_time - pfx->pfx_pltimeexpire) > rai->rai_clockskew) {
                    ^~~
usr.sbin/rtadvd/rtadvd.c:1324:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                    abs(valid_time - pfx->pfx_vltimeexpire) > rai->rai_clockskew) {
                    ^
usr.sbin/rtadvd/rtadvd.c:1324:7: note: remove the call to 'abs' since unsigned values cannot be negative
                    abs(valid_time - pfx->pfx_vltimeexpire) > rai->rai_clockskew) {
                    ^~~
2 errors generated.

These warnings occur because both preferred_time and pfx_pltimeexpire
are uint32_t's, so the subtraction expression is also unsigned, and
calling abs() is a no-op.

However, the intention was to look at the absolute difference between
the two unsigned quantities.  Introduce a small static function to
clarify what we're doing, and call that instead.

Reviewed by: hrs
Differential Revision: https://reviews.freebsd.org/D1197

git-svn-id: svn://svn.freebsd.org/base/stable/10@275038 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274856:
dim [Tue, 25 Nov 2014 12:58:21 +0000 (12:58 +0000)]
MFC r274856:

Avoid undefined behaviour in gas's rotate_left() macro for n == 0.
Otherwise, clang can effectively remove the first iteration of the for
loops where this macro is invoked, and as a result, "cmp r0, #99" fails
to assemble.

Obtained from: joerg at netbsd

git-svn-id: svn://svn.freebsd.org/base/stable/10@275036 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274847:
dim [Tue, 25 Nov 2014 12:45:31 +0000 (12:45 +0000)]
MFC r274847:

Fix the following -Werror warnings from clang 3.5.0, while building
usr.bin/locate:

usr.bin/locate/locate/util.c:249:29: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                            MAXPATHLEN, abs(i) < abs(htonl(i)) ? i : htonl(i));
                                                 ^
usr.bin/locate/locate/util.c:249:29: note: remove the call to 'abs' since unsigned values cannot be negative
                            MAXPATHLEN, abs(i) < abs(htonl(i)) ? i : htonl(i));
                                                 ^~~
usr.bin/locate/locate/util.c:274:32: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                            MAXPATHLEN, abs(word) < abs(htonl(word)) ? word :
                                                    ^
usr.bin/locate/locate/util.c:274:32: note: remove the call to 'abs' since unsigned values cannot be negative
                            MAXPATHLEN, abs(word) < abs(htonl(word)) ? word :
                                                    ^~~

The problem is that ntohl() always returns an unsigned quantity.  In
this case, it's expected to be cast back to a signed integer, but to
stop complaints about abs() we just store it into an integer, and don't
call ntohl() again.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D1196

git-svn-id: svn://svn.freebsd.org/base/stable/10@275034 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274846:
dim [Tue, 25 Nov 2014 12:19:05 +0000 (12:19 +0000)]
MFC r274846:

Fix the following -Werror warning from clang 3.5.0, while building
usr.bin/cpio on amd64 (or any arch with 64-bit time_t):

contrib/libarchive/cpio/cpio.c:1143:6: error: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value]
if (abs(mtime - now) > (365/2)*86400)
    ^
contrib/libarchive/cpio/cpio.c:1143:6: note: use function 'labs' instead
if (abs(mtime - now) > (365/2)*86400)
    ^~~
    labs
1 error generated.

This is because time_t is a long on amd64. To avoid the warning, just
copy the equivalent test from a few lines before, which is used in the
Windows case, and which is type safe.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D1198

git-svn-id: svn://svn.freebsd.org/base/stable/10@275031 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273585:
trasz [Mon, 24 Nov 2014 08:09:50 +0000 (08:09 +0000)]
MFC r273585:

Improve ctld.conf example.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274952 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273470:
trasz [Mon, 24 Nov 2014 08:06:29 +0000 (08:06 +0000)]
MFC r273470:

Fix ctl.conf example to use proper paths to ZVOLs.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274951 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273467:
trasz [Mon, 24 Nov 2014 08:04:40 +0000 (08:04 +0000)]
MFC r273467:

Comment out parts about iSER; it's not implemented.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274950 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273584:
trasz [Mon, 24 Nov 2014 07:59:44 +0000 (07:59 +0000)]
MFC r273584:

Make the initiator-name and initiator-portal checks a little nicer.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274949 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 273583:
trasz [Mon, 24 Nov 2014 07:57:18 +0000 (07:57 +0000)]
MFC 273583:

Tidy up the login code; no functional changes.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274947 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273760:
kevlo [Mon, 24 Nov 2014 01:56:33 +0000 (01:56 +0000)]
MFC r273760:
Fix prototypes.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274943 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274407
grehan [Mon, 24 Nov 2014 01:25:19 +0000 (01:25 +0000)]
MFC r274407

  Fix incorrect reading of 32-bit modinfo by 64-bit loaders.

  The various structures in the mod_metadata set of a FreeBSD kernel and
  modules contain pointers. The FreeBSD loader correctly deals with a
  mismatch in loader and kernel pointer size (e.g. 32-bit i386/ppc
  loader, loading 64-bit amd64/ppc64 kernels), but wasn't dealing with
  the inverse case where a 64-bit loader was loading a 32-bit kernel.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274942 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273635, r273793, r274797: Add basic iSNS client to the iSCSI target.
mav [Mon, 24 Nov 2014 00:47:04 +0000 (00:47 +0000)]
MFC r273635, r273793, r274797: Add basic iSNS client to the iSCSI target.

This makes ctld(8) register its iSCSI targets and portals on configured
iSNS servers to allow initiators find them without active discovery.

Fetching of allowed initiators from iSNS is not implemented now, so target
ACLs still should be configured manually.

Relnotes: Yes
Sponsored by: iXsystems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274939 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274328:
mav [Sun, 23 Nov 2014 04:17:39 +0000 (04:17 +0000)]
MFC r274328:
Make both iSCSI initiator and target support base64 encoded CHAP data.

While all tested initiators and targets use hex-encoded CHAP data, RFC also
allows base64 encoding there, and Microsoft certificaition tool uses it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274909 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC:
n_hibma [Sat, 22 Nov 2014 20:55:21 +0000 (20:55 +0000)]
MFC:
------------------------------------------------------------------------
r274792 | n_hibma | 2014-11-21 15:53:42 +0100 (Fri, 21 Nov 2014) | 5
lines

Simply remove the tmp dir before creating the symlink. We are doing
chroots all over the place, so there is bound to be a stale file lying
around in there (in my case samba lock files from creating accounts). If
we don't do that, the symlink later will fail.

------------------------------------------------------------------------

git-svn-id: svn://svn.freebsd.org/base/stable/10@274892 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273543:
trasz [Sat, 22 Nov 2014 17:58:39 +0000 (17:58 +0000)]
MFC r273543:

Clean up (refactor) discovery a little; no functional changes.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274875 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273468:
trasz [Sat, 22 Nov 2014 17:56:03 +0000 (17:56 +0000)]
MFC r273468:

Remove misleading statement.  Bump date.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274873 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273466:
trasz [Sat, 22 Nov 2014 17:54:11 +0000 (17:54 +0000)]
MFC r273466:

Remove spurious empty line.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274872 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273465:
trasz [Sat, 22 Nov 2014 17:52:33 +0000 (17:52 +0000)]
MFC r273465:

Fix ctld(8) to not show the "auth-group <name> not assigned to any target"
warning for auth-groups assigned to a portal-group.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274871 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273464:
trasz [Sat, 22 Nov 2014 17:50:14 +0000 (17:50 +0000)]
MFC r273464:

Whitespace fixes.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274870 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r271320:
trasz [Sat, 22 Nov 2014 17:48:09 +0000 (17:48 +0000)]
MFC r271320:

Use keys_add_int() where appropriate.  No functional changes.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274869 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agovt(4): Support syscons' SC_HISTORY_SIZE to configure history size
dumbbell [Sat, 22 Nov 2014 17:47:03 +0000 (17:47 +0000)]
vt(4): Support syscons' SC_HISTORY_SIZE to configure history size

Therefore, to set histry size to 2000 lines, add the following line to
your kernel configuration file:
    options SC_HISTORY_SIZE=2000

The default history remains at 500 lines.

MFC of: r274117

git-svn-id: svn://svn.freebsd.org/base/stable/10@274868 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273459:
trasz [Sat, 22 Nov 2014 17:39:39 +0000 (17:39 +0000)]
MFC r273459:

Untangle iSCSI authentication code by splitting off the CHAP
implementation.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274866 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agodrm: Take vt(4) default mode from loader tunables
dumbbell [Sat, 22 Nov 2014 17:37:51 +0000 (17:37 +0000)]
drm: Take vt(4) default mode from loader tunables

By default, vt(4) gets the "preferred mode" from DRM, when using a DRM
video driver as its backend. The preferred mode is usually the native
screen resolution.

Now, if this mode isn't appropriate, a user can use loader tunables to
select a mode. The tunables are read in the following order:
    1. kern.vt.fb.modes.$connector_name
    2. kern.vt.fb.default_mode

For example, to set a 1024x768 mode, no matter the connector:
    kern.vt.fb.default_mode="1024x768"

To set a 800x600 mode only on the laptop builtin screen:
    kern.vt.fb.modes.LVDS-1="800x600"

Beside r274031, this MFC includes:

r274049:
  drm: When reading connector mode tunables, list connectors

  ... and their associated tunables. This gives a way to know the list of
  available connectors, no matter the driver.

  The problem is that xrandr(1) can list connectors but it uses a
  different naming.

r274050:
  vt(4): Document kern.vt.fb.default_mode and kern.vt.fb.modes.*

  Those tunables are used to set a specific mode in vt(4) instead of using
  the default mode.

  Differential Revision: https://reviews.freebsd.org/D1098
  Reviewed by: ak@, emaste@, kwm@

r274051:
  vt(4): Improve the description of kern.vt.fb.modes.$connector

  Differential Revision: https://reviews.freebsd.org/D1098
  Submitted by: emaste@

r274053:
  vt(4): Start new sentences on their own lines

  Submitted by: brueffer@

MFC of: r274031, r274049, r274050, r274051, r274053

git-svn-id: svn://svn.freebsd.org/base/stable/10@274865 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agodrm: Lower priority of three messages related to invalid EDID
dumbbell [Sat, 22 Nov 2014 17:19:39 +0000 (17:19 +0000)]
drm: Lower priority of three messages related to invalid EDID

Like in r259717, the prority goes from "error" to "debug" to avoid
spamming logs when the connectors are polled.

PR: 194770
Submitted by: Larry Rosenman <ler@lerctr.org>
MFC of: r273962, r274587

git-svn-id: svn://svn.freebsd.org/base/stable/10@274862 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agovt(4): Fix keyboard allocation when kbdmux(4) isn't used
dumbbell [Sat, 22 Nov 2014 17:10:57 +0000 (17:10 +0000)]
vt(4): Fix keyboard allocation when kbdmux(4) isn't used

The problem was that only the kbdmux keyboard index was saved in
vd->vd_keyboard. This index is -1 when kbdmux isn't used. In this
case, the keyboard was correctly allocated, but the returned index was
discarded.

PR: 194718
MFC of: r273973

git-svn-id: svn://svn.freebsd.org/base/stable/10@274861 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agovt(4): Adjust the cursor position after changing the window size
dumbbell [Sat, 22 Nov 2014 16:55:55 +0000 (16:55 +0000)]
vt(4): Adjust the cursor position after changing the window size

A new terminal_set_cursor() is added: it wraps the existing
teken_set_cursor() function.

In vtbuf_grow(), the cursor position is adjusted at the end of the
function. In vt_change_font(), we call terminal_set_cursor() just after
terminal_set_winsize_blank(), while the terminal is mute.

This fixes a bug where, after loading a kernel video driver which
increases the terminal window size, the cursor remains at its old
position, in other words, in the middle of the display content.

PR: 194421
MFC of: r273932

git-svn-id: svn://svn.freebsd.org/base/stable/10@274860 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274555:
kib [Sat, 22 Nov 2014 09:38:18 +0000 (09:38 +0000)]
MFC r274555:
Fix END()s for fueword and fueword64, match the name in END() with
entry.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274844 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274489:
scottl [Sat, 22 Nov 2014 00:01:14 +0000 (00:01 +0000)]
MFC r274489:

Add frame pointers to ASM functions in support.S

Obtained from: Netflix

git-svn-id: svn://svn.freebsd.org/base/stable/10@274833 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274619:
smh [Fri, 21 Nov 2014 17:08:28 +0000 (17:08 +0000)]
MFC r274619:
Disable TRIM on file backed ZFS vdevs and fix TRIM on init

Sponsored by: Multiplay

git-svn-id: svn://svn.freebsd.org/base/stable/10@274800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274230:
ae [Fri, 21 Nov 2014 15:21:39 +0000 (15:21 +0000)]
MFC r274230:
  Pass mbuf to pfil processing before stripping outer IP header as it
  is described in if_enc(4).

git-svn-id: svn://svn.freebsd.org/base/stable/10@274794 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274501:
kib [Fri, 21 Nov 2014 10:22:54 +0000 (10:22 +0000)]
MFC r274501:
In vfs_write_suspend_umnt(), if suspension cannot be established, do
not forget to restore write ops count when returning the error.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274787 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274532: Remove mostly obsolete hint to disable LAPIC timers.
mav [Fri, 21 Nov 2014 00:58:58 +0000 (00:58 +0000)]
MFC r274532: Remove mostly obsolete hint to disable LAPIC timers.

It is partially covered by new code and partially by new CPUs.

PR: 195016
Submitted by: tobias.rehbein@web.de

git-svn-id: svn://svn.freebsd.org/base/stable/10@274767 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agobsdgrep: Work-around for segmentation fault.
emaste [Thu, 20 Nov 2014 19:35:29 +0000 (19:35 +0000)]
bsdgrep: Work-around for segmentation fault.

Fix by David Carlier.

MFC of r272127
Obtained from: HardenedBSD
PR: 167921

git-svn-id: svn://svn.freebsd.org/base/stable/10@274757 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274434:
ae [Thu, 20 Nov 2014 18:49:11 +0000 (18:49 +0000)]
MFC r274434:
  Fix ips_out_nosa errors accounting.

MFC r274454:
  ipsec6_process_packet is called before ip6_output fixes ip6_plen.
  Update ip6_plen before bpf processing to be able see correct value.

MFC r274455:
  We don't return sp pointer, thus NULL assignment isn't needed.
  And reference to sp will be freed at the end.

MFC r274465:
  Remove redundant ip6_plen initialization.

MFC r274466:
  Strip IP header only when we act in tunnel mode.

MFC r274467:
  Count statistics for the specific address family.

Sponsored by: Yandex LLC

git-svn-id: svn://svn.freebsd.org/base/stable/10@274755 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274478:
kib [Thu, 20 Nov 2014 11:33:38 +0000 (11:33 +0000)]
MFC r274478:
Fix assertion, &uc->uc_busy is never zero, the intent is to test the
uc_busy value, and not its address.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274748 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274474:
kib [Thu, 20 Nov 2014 11:29:43 +0000 (11:29 +0000)]
MFC r274474:
Do not try to dereference thread pointer when the value is not a pointer.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274747 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274473:
kib [Thu, 20 Nov 2014 11:26:06 +0000 (11:26 +0000)]
MFC r274473:
Remove fossil.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274746 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274154, r274163:
mav [Thu, 20 Nov 2014 01:55:12 +0000 (01:55 +0000)]
MFC r274154, r274163:
Add to CTL support for logical block provisioning threshold notifications.

For ZVOL-backed LUNs this allows to inform initiators if storage's used or
available spaces get above/below the configured thresholds.

Sponsored by: iXsystems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274477: Fix check for vendor-specific peripheral qualifier.
mav [Thu, 20 Nov 2014 01:50:46 +0000 (01:50 +0000)]
MFC r274477: Fix check for vendor-specific peripheral qualifier.

Submitted by: anton.rang@isilon.com

git-svn-id: svn://svn.freebsd.org/base/stable/10@274730 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274438:
kib [Wed, 19 Nov 2014 10:25:08 +0000 (10:25 +0000)]
MFC r274438:
For posix_fallocate(2) and posix_fadvise(2), return ESPIPE
when underlying file does not have DFLAG_SEEKABLE set. For
posix_fallocate(2), simplify error handling logic.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274706 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274376:
hselasky [Wed, 19 Nov 2014 09:03:12 +0000 (09:03 +0000)]
MFC r274376:
Fix some minor TSO issues:
- Improve description of TSO limits.
- Remove a not needed KASSERT()
- Remove some not needed variable casts.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@274704 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274435:
hselasky [Wed, 19 Nov 2014 08:56:38 +0000 (08:56 +0000)]
MFC r274435:
Decode more fields when dumping USB descriptors.
- Some minor style changes while at it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274702 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274227:
hselasky [Wed, 19 Nov 2014 08:48:59 +0000 (08:48 +0000)]
MFC r274227:
Add new USB IDs.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274699 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274442:
dim [Wed, 19 Nov 2014 07:24:43 +0000 (07:24 +0000)]
MFC r274442:

Pull in r221709 from upstream llvm trunk (by Frédéric Riss):

  Totally forget deallocated SDNodes in SDDbgInfo.

  What would happen before that commit is that the SDDbgValues associated with
  a deallocated SDNode would be marked Invalidated, but SDDbgInfo would keep
  a map entry keyed by the SDNode pointer pointing to this list of invalidated
  SDDbgNodes. As the memory gets reused, the list might get wrongly associated
  with another new SDNode. As the SDDbgValues are cloned when they are transfered,
  this can lead to an exponential number of SDDbgValues being produced during
  DAGCombine like in http://llvm.org/bugs/show_bug.cgi?id=20893

  Note that the previous behavior wasn't really buggy as the invalidation made
  sure that the SDDbgValues won't be used. This commit can be considered a
  memory optimization and as such is really hard to validate in a unit-test.

This should fix abnormally large memory usage and resulting OOM crashes
when compiling certain ports with debug information.

Reported by: Dmitry Marakasov <amdmi3@amdmi3.ru>
Upstream PRs: http://llvm.org/PR19031 http://llvm.org/PR20893

MFC r274483:

The fix imported into llvm in r274442 contains some C++11 constructs,
which gcc in base cannot handle.  Replace these with C++98 equivalents.

While here, add the patch for the adapted fix.

Reported by: bz, kib
Pointy hat to: dim

git-svn-id: svn://svn.freebsd.org/base/stable/10@274696 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274379:
kib [Tue, 18 Nov 2014 13:05:24 +0000 (13:05 +0000)]
MFC r274379:
Initial attachment of the agp(4) to Haswell IGP.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274651 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274378:
kib [Tue, 18 Nov 2014 13:03:18 +0000 (13:03 +0000)]
MFC r274378:
Attach agp_i810 to non-VGA display class.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274650 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274377:
kib [Tue, 18 Nov 2014 13:01:41 +0000 (13:01 +0000)]
MFC r274377:
On 965 and higher, map GTT as write-combining.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274649 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge the fueword(9) and casueword(9). In particular,
kib [Tue, 18 Nov 2014 12:53:32 +0000 (12:53 +0000)]
Merge the fueword(9) and casueword(9).  In particular,

MFC r273783:
Add fueword(9) and casueword(9) functions.
MFC note: ia64 is handled like arm, with NO_FUEWORD define.

MFC r273784:
Replace some calls to fuword() by fueword() with proper error checking.

MFC r273785:
Convert kern_umtx.c to use fueword() and casueword().
MFC note: the sys__umtx_lock and sys__umtx_unlock syscalls are not
converted, they are removed from HEAD, and not used.  The do_sem2*()
family is not yet merged to stable/10, corresponding chunk will be
merged after do_sem2* are committed.

MFC r273788 (by jkim):
Actually install casuword(9) to fix build.

MFC r273911:
Add type qualifier volatile to the base (userspace) address argument
of fuword(9) and suword(9).

git-svn-id: svn://svn.freebsd.org/base/stable/10@274648 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 273866
jpaetzel [Tue, 18 Nov 2014 07:16:03 +0000 (07:16 +0000)]
MFC 273866

Plug memory ordering holes in buf_ring_enqueue. For at least some
users this patch eliminates the races previously discussed on the
mailing list.

Submitted by:   oleg
Reviewed by:    kmacy
MFC after:      2 weeks
Tested by:      kmacy,rpaulo

git-svn-id: svn://svn.freebsd.org/base/stable/10@274646 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274410: Fix for behaviour of SEEK_DATA on ZFS.
marcel [Mon, 17 Nov 2014 17:17:10 +0000 (17:17 +0000)]
MFC r274410: Fix for behaviour of SEEK_DATA on ZFS.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274634 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r272708: l2arc_write_buffers: reduce headroom value
avg [Mon, 17 Nov 2014 13:30:18 +0000 (13:30 +0000)]
MFC r272708: l2arc_write_buffers: reduce headroom value

git-svn-id: svn://svn.freebsd.org/base/stable/10@274625 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r272701: make userland __assfail from opensolaris compat honor 'aok' variable
avg [Mon, 17 Nov 2014 13:26:50 +0000 (13:26 +0000)]
MFC r272701: make userland __assfail from opensolaris compat honor 'aok' variable

git-svn-id: svn://svn.freebsd.org/base/stable/10@274623 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273360:
np [Mon, 17 Nov 2014 07:37:41 +0000 (07:37 +0000)]
MFC r273360:

One of MAP_ANON, MAP_PRIVATE, MAP_SHARED, or MAP_STACK must be specified.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274615 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274351:
np [Mon, 17 Nov 2014 07:20:03 +0000 (07:20 +0000)]
MFC r274351:

cxgbe(4): adjust PMRX and PMTX parameters.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274612 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274343:
kib [Mon, 17 Nov 2014 01:01:45 +0000 (01:01 +0000)]
MFC r274343:
When sleeping waiting for the profiling stop, always set P_STOPPROF
before dropping process lock.  Clear P_STOPPROF when doing wakeup.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274610 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274023:
kib [Mon, 17 Nov 2014 00:59:45 +0000 (00:59 +0000)]
MFC r274023:
When other end of the pipe closed during the write, but some bytes
were written, return short write instead of EPIPE.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274609 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274040 and r274084. The result is removal of agp_intel.c from
kib [Mon, 17 Nov 2014 00:57:33 +0000 (00:57 +0000)]
MFC r274040 and r274084.  The result is removal of agp_intel.c from
the static amd64 kernel when agp is configured.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273966:
kib [Sun, 16 Nov 2014 23:02:32 +0000 (23:02 +0000)]
MFC r273966:
Fix two issues with lockmgr(9) LK_CAN_SHARE() test, related
to the exclusive locker starvation.

MFC r273986:
Fix the build with ADAPTIVE_LOCKMGRS kernel option.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274606 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC of 274559,tzdata2014j
edwin [Sun, 16 Nov 2014 04:02:50 +0000 (04:02 +0000)]
MFC of 274559,tzdata2014j

Release 2014j - 2014-11-10 17:37:11 -0800

  Changes affecting current and future time stamps

    Turks & Caicos' switch from US eastern time to UTC-4 year-round
    did not occur on 2014-11-02 at 02:00.  It's currently scheduled
    for 2015-11-01 at 02:00.  (Thanks to Chris Walton.)

  Changes affecting past time stamps

    Many pre-1989 time stamps have been corrected for Asia/Seoul and
    Asia/Pyongyang, based on sources for the Korean-language Wikipedia
    entry for time in Korea.  (Thanks to Sanghyuk Jung.)  Also, no
    longer guess that Pyongyang mimicked Seoul time after World War II,
    as this is politically implausible.

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Africa/Addis_Ababa, Africa/Asmara,
    Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
    Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
    Indian/Mayotte.

  Changes affecting commentary

    The commentary is less enthusiastic about Shanks as a source,
    and is more careful to distinguish UT from UTC.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274563 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274333: Handle PREEMPT AND ABORT service action equal to PREEMPT.
mav [Sun, 16 Nov 2014 01:47:43 +0000 (01:47 +0000)]
MFC r274333: Handle PREEMPT AND ABORT service action equal to PREEMPT.

With command serialization used in CTL, there are no other commands to abort
when PREEMPT AND ABORT gets to run, so it is practically equal to PREEMPT.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274562 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC from the last few months:
imp [Sun, 16 Nov 2014 01:29:18 +0000 (01:29 +0000)]
MFC from the last few months:
Note: didn't merge r274331 removing gif/faith on purpose.

r268246 | mr | use mkimg and build into separate directories
r269355 | imp | Fix typo in example script
r269362 | imp | use rm -x on 10 and newer
r269363 | imp | NANO_OBJ shouldn't end with '/'
r269423 | imp | -K to suppress installkernel
r269424 | imp | sort usage
r269425 | imp | sort switch
r269983 | imp | only install bootloader if it exists
r269984 | imp | create_diskimage since it never was $ARCH dependent
r270162 | imp | Add support for -X which instales cross native tools

git-svn-id: svn://svn.freebsd.org/base/stable/10@274561 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273160:
trasz [Sat, 15 Nov 2014 05:53:45 +0000 (05:53 +0000)]
MFC r273160:

Fix automountd(8) not to leave zombies.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274548 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273164:
trasz [Sat, 15 Nov 2014 05:50:14 +0000 (05:50 +0000)]
MFC r273164:

When removing an iSCSI session, check whether all conditions match,
not if any of them matches.  This fixes "iscsictl -Rn" removing
unrelated sessions.

PR: 194034
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@274546 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r273627,r273628:
ngie [Sat, 15 Nov 2014 05:16:16 +0000 (05:16 +0000)]
MFC r273627,r273628:

r273627:

  - Print out "Bail out!" in die(..) so prove terminates immediately
  - Handle the output from newer versions of openssl md5, similar to what
    pjd@ did in r248304

  Sponsored by: EMC / Isilon Storage Division

r273628:

  Move the redirection to stderr out of the cmd variable assignment

  Putting 2>/dev/null in cmd= escapes the redirection operation, which causes
  mdconfig to think it's a filename

  Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@274543 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274021:
ngie [Sat, 15 Nov 2014 05:05:32 +0000 (05:05 +0000)]
MFC r274021:

  Remove explicit KYUAFILE=yes from tests/sys/Makefile

  This causes the directory traversing Kyuafile to be installed, which in turn
  causes tests/sys/pjdfstest to always be run from /usr/tests/sys

  Let KYUAFILE default to auto, so the file generated by suite.test.mk gets
  installed instead

git-svn-id: svn://svn.freebsd.org/base/stable/10@274541 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274052:
ngie [Sat, 15 Nov 2014 05:03:44 +0000 (05:03 +0000)]
MFC r274052:

  Remove unused tests/lib directory

git-svn-id: svn://svn.freebsd.org/base/stable/10@274540 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f