]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
8 years agoMFC r276669,r276723:
ngie [Tue, 15 Dec 2015 18:09:03 +0000 (18:09 +0000)]
MFC r276669,r276723:

r276669:

Integrate bin/cat/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division

r276723:

Install d_align.{in,out} for the :align test

Pointyhat to: me

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

8 years agoMFC r271401:
ngie [Tue, 15 Dec 2015 18:01:05 +0000 (18:01 +0000)]
MFC r271401:
r271401 (by asomers):

Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls
merge(1), which is part of the RCS package, it must not be installed if
WITHOUT_RCS update is set. Otherwise, it will produce confusing errors.

CR: https://reviews.freebsd.org/D691
Sponsored by: Spectra Logic

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

8 years agoMFC r284408,r289151,r289158:
ngie [Tue, 15 Dec 2015 17:58:10 +0000 (17:58 +0000)]
MFC r284408,r289151,r289158:

r284408:

Ensure TESTSDIR is defined before bsd.test.mk is .include'd

r289151:

Simplify netbsd-tests.test.mk

- projects/bmake and subsequent commits provide SRCTOP; there's no need to
  manually specify it now.
- Compute a sane default for OBJTOP based on .OBJDIR and RELDIR. Manually
  specifying this is probably no longer needed, but it persists just in case
  (supporting commits will need to be made to move it out of some of the meta
  .mk files).
- Compute a sane default for TESTSRC. Error out if the path cannot be found.

Sponsored by: EMC / Isilon Storage Division

r289158:

Default TESTSDIR to /usr/tests/${RELDIR:H}

When run from bin/ls/tests, for example, the value of TESTSDIR would be
${TESTSBASE}/${RELDIR:H} -> /usr/tests/bin/ls/tests/.. ->
/usr/tests/bin/ls

Document the new behavior in bsd.README.

While here, also document TESTSBASE

Relnotes: yes
Differential Revision: D1022
Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291576:
kib [Tue, 15 Dec 2015 12:58:33 +0000 (12:58 +0000)]
MFC r291576:
Handle invalid pages found during the sleepable collapse scan,  do not free
the shadow page swap space.  Combine the sleep code.

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

8 years agoMFC r291982:
ngie [Tue, 15 Dec 2015 05:47:05 +0000 (05:47 +0000)]
MFC r291982:

Skip the MAC portacl tests if MAC_PORTACL support is missing instead of
marking them failed

Sponsored by: EMC / Isilon Storage Division

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

8 years agoPartial MFC r291349:
bdrewery [Tue, 15 Dec 2015 01:37:46 +0000 (01:37 +0000)]
Partial MFC r291349:

  Standardize on OBJTOP in and outside of META MODE.

  For stable/10 this means bringing OBJTOP support in which simplifies
  MFCs.

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

8 years agoAdd SRCTOP and RELDIR support.
bdrewery [Tue, 15 Dec 2015 01:19:19 +0000 (01:19 +0000)]
Add SRCTOP and RELDIR support.

This is a direct commit to stable/10.  It allows simpler MFCing from head where
these are being used more frequently.

Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC: r291536
rmacklem [Mon, 14 Dec 2015 23:09:02 +0000 (23:09 +0000)]
MFC: r291536
Add support for the new "-manage-gids" option for the nfsuserd daemon
to the rc scripts. With these changes, setting nfs_server_managegids="YES"
in /etc/rc.conf will enable this capability.

Relnotes: yes

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

8 years agoMFC: r291535
rmacklem [Mon, 14 Dec 2015 22:54:02 +0000 (22:54 +0000)]
MFC: r291535
Document the new "-manage-gids" option for the nfsuserd daemon.
This is a content change.

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

8 years agoMFC: r291534
rmacklem [Mon, 14 Dec 2015 22:43:43 +0000 (22:43 +0000)]
MFC: r291534
Add support for the "-manage-gids" option to the nfsuserd daemon.
When this option is set, the NFS server uses the list of groups
acquired via getgrouplist(3) for the uid instead of the list of
groups in the RPC request. This can be used to avoid the 16 gid
limit for the group list in the RPC request.

Relnotes: yes

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

8 years agoMFC r266566:
bdrewery [Mon, 14 Dec 2015 21:33:31 +0000 (21:33 +0000)]
MFC r266566:

  Add .../share/mk to the default system make path. This will fix the problem
  with broken in-tree builds (which are used far more pervasively than I'd
  known outside the tree). However, weird results may now happen if at any
  point in the tree above you there happens to be a directory that has
  subdirectory of share/mk, as unpredictable results will follow. This was
  considered the lessor of the two evils, at least for now. In the future this
  will be removed again when the underlying issues are resolved.

  For MFCing, this is to ensure that when upgrading to head the share/mk
  in-tree is always used.  Otherwise several build features will not work.
  This passes a build using head's bmake which has this as the default
  already.

Relnotes: yes

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

8 years agoBump __FreeBSD_version since r292223 changed the internal interface
rmacklem [Mon, 14 Dec 2015 21:30:28 +0000 (21:30 +0000)]
Bump __FreeBSD_version since r292223 changed the internal interface
between the nfsd.ko and nfscommon.ko modules such that they need
to be upgraded to-gether.

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

8 years agoMFC: r291527
rmacklem [Mon, 14 Dec 2015 21:21:43 +0000 (21:21 +0000)]
MFC: r291527
Add kernel support to the NFS server for the "-manage-gids"
option that will be added to the nfsuserd daemon in a future
commit. It modifies the cache used by NFSv4 for name<-->id
translation (both username/uid and group/gid) to support this.
When "-manage-gids" is set, the server looks up each uid
for the RPC and uses the list of groups cached in the server
instead of the list of groups provided in the RPC request.
The cached group list is acquired for the cache by the nfsuserd
daemon via getgrouplist(3).
This avoids the 16 groups limit for the list in the RPC request.
Since the cache is now used for every RPC when "-manage-gids"
is enabled, the code also modifies the cache to use a separate
mutex for each hash list instead of a single global mutex.

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

8 years agoMFC r291942:
bdrewery [Mon, 14 Dec 2015 20:29:31 +0000 (20:29 +0000)]
MFC r291942:

  Add missing CLEANFILES.

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

8 years agoFix the XEN build by disabling the mlx5 and mlx5en modules
hselasky [Mon, 14 Dec 2015 15:45:11 +0000 (15:45 +0000)]
Fix the XEN build by disabling the mlx5 and mlx5en modules
when XEN is enabled.

This is a direct commit to stable/10.

Sponsored by: Mellanox Technologies

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

8 years agoUnbreak the powerpc/powerpc64 tinderbox
ngie [Mon, 14 Dec 2015 14:44:23 +0000 (14:44 +0000)]
Unbreak the powerpc/powerpc64 tinderbox

PR: 198805
Submitted by: sbruno

MFC r280430:

r280430 (by bz):

Make ix_crcstrip a public symbol for the moment;  it probably is not
the right solution but I will leave it to experts to untangle this
problem to properly stop the build failures.

At the moment only if_ix.c includes dev/netmap/ixgbe_netmap.h which is
good as ixgbe_netmap.h defines a couple of (file) static variables--thus
local to if_ix.c.
static int ix_crcstrip however now also got checked from ix_txrx.c
(as an extern) and should not be visible there.  In fact we do see
powerpc and powerpc64 build failures because of this.  It is unclear
to me why on other (clang built?) architectures this does not lead
to a reference of an undefined symbol and similar build breakage.

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

8 years agoMFH: r291957
brueffer [Mon, 14 Dec 2015 11:38:43 +0000 (11:38 +0000)]
MFH: r291957

Fix a comment typo in the code example.

PR: 203497
Submitted by: chadf@triularity.org

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

8 years agoMFH: r291954
brueffer [Mon, 14 Dec 2015 11:34:00 +0000 (11:34 +0000)]
MFH: r291954

Add an MLINK for m_collapse.

PR: 204205
Submitted by: avos

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

8 years agoMFH: r291950
brueffer [Mon, 14 Dec 2015 11:28:16 +0000 (11:28 +0000)]
MFH: r291950

Fix a typo in the CPUTYPE list.

PR: 205099
Submitted by: xxjack12xx@gmail.com

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

8 years agoMFC r291939:
hselasky [Mon, 14 Dec 2015 10:31:03 +0000 (10:31 +0000)]
MFC r291939:
Update the mlx5 shared driver code to the latest version, which
include the following list of changes:

- Added eswitch ACL table management
  Introduce API for managing ACL table.
  This API include the following features:
  1) vlan filter - for VST/VGT+ support.
  2) spoofcheck.
  3) robust functionality to allow/drop general untagged/tagged traffic.
  4) support for both ingress and egress ACL types.

- Added loopback filter to the vacl table.

- Added multicast list set in the vPort context

- Added promiscuous mode set in the vPort context

- Set the vlan list in vPort context
  1) Check caps if VLAN list is not longer than FW supports
  2) Set MODIFY_NIC_VPORT_CONTEXT command

- Changed MLX5_EEPROM_MAX_BYTES from 48 to 32 so that a single EEPROM
  reading cannot cross the 128-byte boundary. Previously reading the
  MCIA register was done in batches of 48 bytes. The third reading
  would then by-pass the 127th byte, which means that part of the low
  page and part of the high page would be read at the same time, which
  created a bug:
    1st: 0-47 bytes
    2nd: 48-95 bytes
    3rd: 96-143 bytes

Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4411

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

8 years agoMFC r291938:
hselasky [Mon, 14 Dec 2015 10:18:04 +0000 (10:18 +0000)]
MFC r291938:
Add full support for Receive Side Scaling, RSS, to the mlx5en
driver. This includes binding all interrupt and worker threads
according to the RSS configuration, setting up correct Toeplitz
hashing keys as given by RSS and setting the correct mbuf
hashtype for all received traffic.

Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4410

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

8 years agoMFC r290003:
hselasky [Mon, 14 Dec 2015 10:03:04 +0000 (10:03 +0000)]
MFC r290003:
Add support for binding IRQs to CPUs in the LinuxKPI. The new function
added is for BSD only and does not exist in Linux.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r291932:
hselasky [Mon, 14 Dec 2015 09:59:21 +0000 (09:59 +0000)]
MFC r291932:
Add support for setting the TX moderation mode via a sysctl entry. TX
completion events can be moderated in the same way like RX completion
events. Expose this functionality by a sysctl variable.

Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4409

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

8 years agoMFC r291931:
hselasky [Mon, 14 Dec 2015 09:57:42 +0000 (09:57 +0000)]
MFC r291931:
The firmware no longer supports setting a port MTU of zero bytes.
Set the port MTU and then query it and report if any problems instead.

Submitted by: Shahar Klein <shahark@mellanox.com>
Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4408

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

8 years agoMFC r291684:
hselasky [Mon, 14 Dec 2015 09:55:14 +0000 (09:55 +0000)]
MFC r291684:
Update the mlx5en(4) manual page.

Submitted by: Mark Bloch <markb@mellanox.com>
Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4348

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

8 years agoMFC r291703:
hselasky [Mon, 14 Dec 2015 09:52:15 +0000 (09:52 +0000)]
MFC r291703:
Regenerate usb.conf .

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

8 years agoMFC r291953:
hselasky [Mon, 14 Dec 2015 09:46:46 +0000 (09:46 +0000)]
MFC r291953:
When setting up VLANs on a Raspberry Pi ethernet port, the MTU drops
from 1500 to 1496 bytes. The MTU should remain at 1500, extending the
frame size as per IEEE 802.3. Adding IFCAP_VLAN_MTU to the
if_capabilities field in the smsc driver solves the problem.  The
datasheet for the LAN9512 chip, section 3.2.3 states that the chip
supports the extended frame.

Submitted by: rpp@ci.com.au
PR: 205050

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

8 years agoMFC r263985, r275646 and r289028:
hselasky [Mon, 14 Dec 2015 09:24:40 +0000 (09:24 +0000)]
MFC r263985, r275646 and r289028:
Add more USB IDs.

PR: usb/188046

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

8 years agoMFC r291948:
kib [Mon, 14 Dec 2015 07:54:45 +0000 (07:54 +0000)]
MFC r291948:
Use ANSI C definition.

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

8 years agoMFC r291837:
ngie [Sun, 13 Dec 2015 21:15:03 +0000 (21:15 +0000)]
MFC r291837:

split.ih:
- Create automatically generated include header for split.c

main.c:
- Use function definitions from debug.ih and split.ih instead of externs

Sponsored by: EMC / Isilon Storage Division

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

8 years agoRevert r292168 -- I used the wrong commit message by accident
ngie [Sun, 13 Dec 2015 21:14:04 +0000 (21:14 +0000)]
Revert r292168 -- I used the wrong commit message by accident

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

8 years agoMFC r276737,r289369,r289376,r289424,r291219,r291382,r291385,r291908:
ngie [Sun, 13 Dec 2015 21:09:46 +0000 (21:09 +0000)]
MFC r276737,r289369,r289376,r289424,r291219,r291382,r291385,r291908:

r276737 (by imp):

Remove old ioctl use and support, once and for all.

r289369 (by emaste):

newfs_msdos: rework option parsing to match NetBSD

NetBSD split newfs_msdos in two so that they can reuse the file system
creation part in makefs. This change is a step on the path of bringing
that support to FreeBSD.

Reviewed by: kib, pfg
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3905

r289376 (by emaste):

newfs_msdos: move mkfs_msdos to separate file for later use in makefs

Sponsored by: The FreeBSD Foundation

r289424 (by emaste):

newfs_msdos: prefer snprintf to sprintf

Obtained from: NetBSD
Sponsored by: The FreeBSD Foundation

r291219 (by emaste):

newfs_msdos: rework error handling for eventual use in makefs

Return -1 on errors from mkfs_msdos() instead of err()/errx(), to
allow different consumers to handle errors as appropriate.

Obtained from: NetBSD
Sponsored by: The FreeBSD Foundation

r291382 (by emaste):

mkfs_msdos: sync with NetBSD

Add a sanity test and clean up whitespace.

Obtained from: NetBSD

r291385 (by emaste):

Use netbsd usage() implementation in newfs_msdos

In r289629 newfs_msdos option descriptions are available in
mkfs_msdos.h.

Obtained from: NetBSD

r291908:

Fix leak in mkfs_msdos(..) by initializing img to NULL and free'ing at the end
of the function

Differential Revision: https://reviews.freebsd.org/D4405
PR: 204943
Reviewed by: emaste, jilles
Reported by: David Binderman <dcb314@hotmail.com>
Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291980,r291981:
ngie [Sun, 13 Dec 2015 04:29:09 +0000 (04:29 +0000)]
MFC r291980,r291981:

r291980:

Add missing va_ends for corresponding va_starts to clean up variable arguments
initialized in _test_fmt(..)

Reported by: cppcheck
Sponsored by: EMC / Isilon Storage Division

r291981:

Delete bogus freeing of uninitialized data

Reported by: cppcheck
Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r292013:
ngie [Sun, 13 Dec 2015 04:24:15 +0000 (04:24 +0000)]
MFC r292013:

Use stdint.h instead of inttypes.h as the latter pollutes namespace more

Submitted by: bde
Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291891:
ngie [Sun, 13 Dec 2015 04:22:50 +0000 (04:22 +0000)]
MFC r291891:

Use .Fx instead of explicitly spelling out FreeBSD

Fix several warnings reported by igor

Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291896:
ngie [Sun, 13 Dec 2015 04:20:47 +0000 (04:20 +0000)]
MFC r291896:

Remove unused atf.test.mk variables

- ATF_BUILD_CC
- ATF_BUILD_CPP
- ATF_BUILD_CXX
- ATF_SHELL
- ATF_PREFIX

Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291832,r291833,r291834,r291835,r291836,r291838:
ngie [Sun, 13 Dec 2015 03:51:49 +0000 (03:51 +0000)]
MFC r291832,r291833,r291834,r291835,r291836,r291838:

r291832:

Fix -Wformat warnings by using the correct format qualifiers

Sponsored by: EMC / Isilon Storage Division

r291833:

- Use ANSI C function prototypes/definitions instead of K&R style ones
- Add a missing return type for main(..)

Sponsored by: EMC / Isilon Storage Division

r291834:

Add missing headers and sort #includes per style(9)

Sponsored by: EMC / Isilon Storage Division

r291835:

Use ANSI C function prototypes/definitions instead of K&R style ones

Sponsored by: EMC / Isilon Storage Division

r291836:

Use `==` instead of `=` in the function comment above split(..) so mkh -p
exposes split(..).

Sponsored by: EMC / Isilon Storage Division

r291838:

Fix -Wformat issues and minor whitespace issues in surrounding areas

Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291983,r291984:
ngie [Sun, 13 Dec 2015 03:45:57 +0000 (03:45 +0000)]
MFC r291983,r291984:

r291983:

Fix compilation warnings by adding unistd.h #include and missing return
statements

Sponsored by: EMC / Isilon Storage Division

r291984:

Add missing stdlib.h header

Apply some minor style(9) fixes

Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r292004:
ngie [Sun, 13 Dec 2015 03:40:43 +0000 (03:40 +0000)]
MFC r292004:

Fix compilation when -DDEBUG is defined by adding inttypes.h #include
for intmax_t

Differential Revision: https://reviews.freebsd.org/D4434
Reported by: cppcheck
Reviewed by: jhb
Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291979:
ngie [Sun, 13 Dec 2015 03:37:29 +0000 (03:37 +0000)]
MFC r291979:

Unbreak compiling getnetgrent.c with -DDEBUG after r236402 by adding a
missing "}"

Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291753:
ngie [Sun, 13 Dec 2015 03:32:41 +0000 (03:32 +0000)]
MFC r291753:

Fix scope of bridge_header and bridge_pcix_cap in mthca_reset(..)

They're only used in the __linux__ case

Differential Revision: https://reviews.freebsd.org/D4332
Reported by: cppcheck
Reviewed by: hselasky
Sponsored by: EMC / Isilon Storage Division

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

8 years agoEnable the mlx4en TSO limits.
hselasky [Fri, 11 Dec 2015 15:35:47 +0000 (15:35 +0000)]
Enable the mlx4en TSO limits.

This is a direct commit to stable/10.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r290710, r291694, r291699 and r291793:
hselasky [Fri, 11 Dec 2015 14:21:58 +0000 (14:21 +0000)]
MFC r290710, r291694, r291699 and r291793:
- Fix print formatting compile warnings for Sparc64 and PowerPC platforms.
- Updated the mlx4 and mlxen drivers to the latest version, v2.1.6:
  - Added support for dumping the SFP EEPROM content to dmesg.
  - Fixed handling of network interface capability IOCTLs.
  - Fixed race when loading and unloading the mlxen driver by applying
    appropriate locking.
  - Removed two unused C-files.
- Convert the mlxen driver to use the BUSDMA(9) APIs instead of
  vtophys() when loading mbufs for transmission and reception. While at
  it all pointer arithmetic and cast qualifier issues were fixed, mostly
  related to transmission and reception.
- Fix i386 build WITH_OFED=YES. Remove some redundant KASSERTs.

Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4283
Differential Revision: https://reviews.freebsd.org/D4284

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

8 years agoMFC r291693:
hselasky [Fri, 11 Dec 2015 13:30:49 +0000 (13:30 +0000)]
MFC r291693:
Add some structures and defines which will be used when decoding small
form factor, SFF, standards compliant ethernet EEPROMs.

Obtained from: Linux
Sponsored by: Mellanox Technologies

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

8 years agoMFC r291408:
kib [Fri, 11 Dec 2015 13:20:51 +0000 (13:20 +0000)]
MFC r291408:
In vm_pageout_grow_cache(), do not re-try the inactive queue when
active queue scan initiated write, to avoid infinite loop.

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

8 years agoMFC r291690:
hselasky [Fri, 11 Dec 2015 13:19:33 +0000 (13:19 +0000)]
MFC r291690:
Remove incorrect defines. The proper version of these macros is
defined in linux/etherdevice.h.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r289231: Fix used function warnings in ixl(4)
smh [Fri, 11 Dec 2015 13:15:22 +0000 (13:15 +0000)]
MFC r289231: Fix used function warnings in ixl(4)

Sponsored by: Multiplay

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

8 years agoMFC r285768: LAA MAC/VLAN filter + success check
smh [Fri, 11 Dec 2015 13:12:52 +0000 (13:12 +0000)]
MFC r285768: LAA MAC/VLAN filter + success check

Sponsored by: Multiplay

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

8 years agoMFC r284049: Update SW4 to the Intel ixl/ixlv
smh [Fri, 11 Dec 2015 13:08:38 +0000 (13:08 +0000)]
MFC r284049: Update SW4 to the Intel ixl/ixlv

Sponsored by: Multiplay

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

8 years agoMFC r283119: Remove executable property from ixl
smh [Fri, 11 Dec 2015 13:05:18 +0000 (13:05 +0000)]
MFC r283119: Remove executable property from ixl

Sponsored by: Multiplay

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

8 years agoMFC r280043: Remove redundant sysctl_handle_string
smh [Fri, 11 Dec 2015 12:58:19 +0000 (12:58 +0000)]
MFC r280043: Remove redundant sysctl_handle_string

Sponsored by: Multiplay

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

8 years agoMFC r279858 & r279860: SRIOV & 20G support
smh [Fri, 11 Dec 2015 12:47:49 +0000 (12:47 +0000)]
MFC r279858 & r279860: SRIOV & 20G support

Sponsored by: Multiplay

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

8 years agoMFC r279232: Add native netmap support to ixl
smh [Fri, 11 Dec 2015 12:24:11 +0000 (12:24 +0000)]
MFC r279232: Add native netmap support to ixl

Sponsored by: Multiplay

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

8 years agoMFC r279033: Bring the XL710 drivers up to the SW3
smh [Fri, 11 Dec 2015 12:20:58 +0000 (12:20 +0000)]
MFC r279033: Bring the XL710 drivers up to the SW3

Sponsored by: Multiplay

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

8 years agoMFC r277084,r277088,r277130,r277143,r277151,r277262
smh [Fri, 11 Dec 2015 12:16:05 +0000 (12:16 +0000)]
MFC r277084,r277088,r277130,r277143,r277151,r277262

r277084: Intel I40E updates ixl v1.3.0 and ixlv 1.2.0 featuring RSS
r277088, r277130, r277143, r277151 & r277262: Misc RSS fixes

The main change is the addition of RSS, which is not supported in stable/10,
however these commits also include other bug fixes. In order to bring those
fixes in and facilitate easier merge of future updates the RSS changes are
maintained but left disabled by the removal of the opt_rss.h include.

Sponsored by: Multiplay

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

8 years agosfxge: implement interface statistics shown by netstat
arybchik [Fri, 11 Dec 2015 06:41:01 +0000 (06:41 +0000)]
sfxge: implement interface statistics shown by netstat

PR:             202907
Submitted by:   Boris Misenov <Boris.Misenov at oktetlabs.ru>
Reviewed by:    gnn, philip
Sponsored by:   Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D4317

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

8 years agoMerge bmake-20151201
sjg [Thu, 10 Dec 2015 23:44:34 +0000 (23:44 +0000)]
Merge bmake-20151201

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

8 years agoMFC r291919:
ngie [Thu, 10 Dec 2015 07:11:46 +0000 (07:11 +0000)]
MFC r291919:

Enable bin/ls testcases disabled previously because of issues with how
kyua 0.11's version of report-junit was rendering non-printable characters

Upgrade to kyua 0.12 to obtain a fixed version of the command

Output verified with python 2.7.10's xml.dom.minidom module

Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC: r291658
bapt [Wed, 9 Dec 2015 21:38:26 +0000 (21:38 +0000)]
MFC: r291658

pw_checkname since the beginning is too strict on GECOS field,
relax it a bit so gecos can be used to store multibytes data.

This was unseen before FreeBSD 10.2 as this validation function was motly unused
since FreeBSD 10.2 the usage of this function has been generalized to improve

Reported by: des

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

8 years agoMFC: r291657
bapt [Wed, 9 Dec 2015 21:34:03 +0000 (21:34 +0000)]
MFC: r291657

Fix handling of numeric-only names with pw lock
Add a regression test about it

PR: 204968

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

8 years agoMFC r291579:
ae [Tue, 8 Dec 2015 07:43:12 +0000 (07:43 +0000)]
MFC r291579:
  In the same way fix the problem described in r291578 for IGMPv3.

  In case when router has a lot of multicast groups, the reply can take
  several packets due to MTU limitation.
  Also we have a limit IGMP_MAX_RESPONSE_BURST == 4, that limits the number
  of packets we send in one shot. Then we recalculate the timer value and
  schedule the remaining packets for sending.
  The problem is that when we call igmp_v3_dispatch_general_query() to send
  remaining packets, we queue new reply in the same mbuf queue. And when
  number of packets is bigger than IGMP_MAX_RESPONSE_BURST, we get endless
  reply of IGMPv3 reports.
  To fix this, add the check for remaining packets in the queue.

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

8 years agoFix typo in r291986.
ae [Tue, 8 Dec 2015 07:31:26 +0000 (07:31 +0000)]
Fix typo in r291986.

(this is derect commit to stable/10)

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

8 years agoMFC r291578:
ae [Tue, 8 Dec 2015 07:26:16 +0000 (07:26 +0000)]
MFC r291578:
  mld_v2_dispatch_general_query() is used by mld_fasttimo_vnet() to send
  a reply to the MLDv2 General Query. In case when router has a lot of
  multicast groups, the reply can take several packets due to MTU limitation.
  Also we have a limit MLD_MAX_RESPONSE_BURST == 4, that limits the number
  of packets we send in one shot. Then we recalculate the timer value and
  schedule the remaining packets for sending.
  The problem is that when we call mld_v2_dispatch_general_query() to send
  remaining packets, we queue new reply in the same mbuf queue. And when
  number of packets is bigger than MLD_MAX_RESPONSE_BURST, we get endless
  reply of MLDv2 reports.
  To fix this, add the check for remaining packets in the queue.

  PR: 204831

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

8 years agoMFC r291605:
bdrewery [Tue, 8 Dec 2015 00:27:35 +0000 (00:27 +0000)]
MFC r291605:

  Fix errors being ignored in many phases of the build since the bmake
  integration.

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

8 years agoMFC r291226:
bdrewery [Tue, 8 Dec 2015 00:24:41 +0000 (00:24 +0000)]
MFC r291226:

  Fix ld not respecting --sysroot.

Relnotes: yes

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

8 years agoDocument SA-15:26
gjb [Mon, 7 Dec 2015 19:19:51 +0000 (19:19 +0000)]
Document SA-15:26

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r290920:
kib [Mon, 7 Dec 2015 11:21:49 +0000 (11:21 +0000)]
MFC r290920:
Raise OOM when pagedaemon is unable to produce a free page in several
back-to-back passes.

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

8 years agoMFC r290917:
kib [Mon, 7 Dec 2015 11:14:57 +0000 (11:14 +0000)]
MFC r290917:
Provide the OOM-specific vm_pageout_oom_pagecount() function which
estimates the amount of reclamaible memory which could be stolen if
the process is killed.

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

8 years agoMFC r290915:
kib [Mon, 7 Dec 2015 11:12:03 +0000 (11:12 +0000)]
MFC r290915:
Do not skip a process which has inhibited thread due to the swap-out,
in the OOM selection loop.

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

8 years agoMFC r291446:
kib [Sun, 6 Dec 2015 17:11:23 +0000 (17:11 +0000)]
MFC r291446:
Minor cleanup.

Systematically use ANSI C functions definitions.
Correct type of the flags argument to the dev_pager_putpages() function.

vm_pager_free_nonreq() does not exist in stable/10, this part is not
merged.

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

8 years agoMFC r289452,r289469:
ngie [Sat, 5 Dec 2015 22:51:20 +0000 (22:51 +0000)]
MFC r289452,r289469:

r289452 (by trasz):

Add iscsictl(8) and iscsid(8) to rescue(8).  The point is to make it
easier to build md_root images from rescue(8), to use with iSCSI boot.

The change increases the size of rescue by 62kB, from 8728kB to 8790kB.

Reviewed by: bapt@
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3865

r289469:

Make iscsictl and iscsid build if MK_ISCSI == yes

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

8 years agoMFC r290908,r291615:
ngie [Sat, 5 Dec 2015 22:44:07 +0000 (22:44 +0000)]
MFC r290908,r291615:

r290908:

Integrate contrib/netbsd-tests/lib/libcrypt/t_crypt.c in to the FreeBSD
test suite as lib/libcrypt/crypt_test

Sponsored by: EMC / Isilon Storage Division

r291615 (by rodrigc):

Hack test so that it works on FreeBSD.

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

8 years agoMFC r291296:
ngie [Sat, 5 Dec 2015 21:58:21 +0000 (21:58 +0000)]
MFC r291296:

Link localeconv(3) to localeconv_l(3)

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

8 years agoMFC r283801,r290846,r290851,r290856,r290860:
ngie [Sat, 5 Dec 2015 21:49:35 +0000 (21:49 +0000)]
MFC r283801,r290846,r290851,r290856,r290860:

r283801 (by araujo):

Fix warning of implicit declaration of function 'mkdir'.

Differential Revision: D2662
Reviewed by: rodrigc, ngie

r290846:

Bump WARNS to 2

Sponsored by: EMC / Isilon Storage Division

r290851:

Change WARNS to 2 across the board with all the libc testcases

This effectively "reverts" r290846

Sponsored by: EMC / Isilon Storage Division

r290856 (by bapt):

also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros

r290860 (by bapt):

Remove unused variables to fix building world

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

8 years agoMFC: r291150
rmacklem [Sat, 5 Dec 2015 21:38:53 +0000 (21:38 +0000)]
MFC: r291150
When the nfsd threads are terminated, the NFSv4 server state
(opens, locks, etc) is retained, which I believe is correct behaviour.
However, for NFSv4.1, the server also retained a reference to the xprt
(RPC transport socket structure) for the backchannel. This caused
svcpool_destroy() to not call SVC_DESTROY() for the xprt and allowed
a socket upcall to occur after the mutexes in the svcpool were destroyed,
causing a crash.
This patch fixes the code so that the backchannel xprt structure is
dereferenced just before svcpool_destroy() is called, so the code
does do an SVC_DESTROY() on the xprt, which shuts down the socket upcall.

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

8 years agoMFC: r291117
rmacklem [Sat, 5 Dec 2015 21:28:54 +0000 (21:28 +0000)]
MFC: r291117
Revert r283330 since it broke directory caching in the client.
At this time I cannot see a way to fix directory caching when it
has partial blocks in the buffer cache, due to the fact that the
syscall's uio_offset won't stay the same as the lblkno * NFS_DIRBLKSIZ
offset.

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

8 years agoAdd dependency for c++filt on libiberty.
bdrewery [Sat, 5 Dec 2015 20:25:15 +0000 (20:25 +0000)]
Add dependency for c++filt on libiberty.

This is a direct commit since c++filt does not exist in head.

This ws racing after my SUBDIR_PARALLEL changes here recently.

Reported by: peter
Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r291238:
kevlo [Sat, 5 Dec 2015 07:46:37 +0000 (07:46 +0000)]
MFC r291238:
Add dependency to uether.

Reviewed by: hselasky

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

8 years agoRemove stale tools/regression directory that should have been deleted
ngie [Sat, 5 Dec 2015 04:19:40 +0000 (04:19 +0000)]
Remove stale tools/regression directory that should have been deleted
in r291840

Sponsored by: EMC / Isilon Storage Division

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

8 years agoMFC r290537,r290540,r290560,r290856,r290871,r291839:
ngie [Sat, 5 Dec 2015 04:17:40 +0000 (04:17 +0000)]
MFC r290537,r290540,r290560,r290856,r290871,r291839:

r290537:

Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite
as lib/libc/tests/stdio

- Fix some whitespace
- Convert the testcases to ATF
- Convert "/dev/null" to _PATH_DEVNULL

Sponsored by: EMC / Isilon Storage Division

r290540:

printfloat_test and scanfloat_test need symbols from msun; these are automatically
provided on amd64, but not i386. Add libm to DPADD/LDADD to unbreak the i386
tinderbox

Pointyhat to: ngie
Sponsored by: EMC / Isilon Storage Division

r290560:

Convert print_positional_test over to ATF

Somehow missed in r290537

Sponsored by: EMC / Isilon Storage Division

r290856 (by bapt):

also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros

r290871:

Disable -Wformat with scanfloat_test when compiling with gcc to avoid a
"use of assignment suppression and length modifier together in scanf format"
warning on line 90 (it's intentional)

Sponsored by: EMC / Isilon Storage Division

r291839:

Initialize errno to 0 in the nul testcase before testing it

For some odd reason stable/10 requires this, otherwise it always fails
the errno == 0 check on line 196.

Sponsored by: EMC / Isilon Storage Division

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

8 years agoFix mis-merge in r291816, nl_defs.h not used here.
bdrewery [Fri, 4 Dec 2015 21:11:17 +0000 (21:11 +0000)]
Fix mis-merge in r291816, nl_defs.h not used here.

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

8 years agoMFC: r291091
bapt [Fri, 4 Dec 2015 20:41:44 +0000 (20:41 +0000)]
MFC: r291091

install: do not follow symlinks

In case the target of install is a dead symlink, install(1) used to not
consider it as "existing" because of the usage of stat(2) instead of
lstat(2).  meaning the old file (the symlink) is not removed before the new
file is created. The symlink is being followed and the new file becoming the
target of the symlink instead of the target of install(1)

Reviewed by: jhb, brooks
Differential Revision: https://reviews.freebsd.org/D4191

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

8 years agoMFC r291348:
bdrewery [Fri, 4 Dec 2015 19:16:56 +0000 (19:16 +0000)]
MFC r291348:

  Use LIBEXECDIR for /usr/libexec.

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

8 years agoMFC r291339:
bdrewery [Fri, 4 Dec 2015 19:15:36 +0000 (19:15 +0000)]
MFC r291339:

  Follow-up r291330: h_testbits.h is only needed by xdr_test.

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

8 years agoMFC r291331:
bdrewery [Fri, 4 Dec 2015 19:14:14 +0000 (19:14 +0000)]
MFC r291331:

  Avoid requiring 'make depend' here.

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

8 years agoMFC r291330:
bdrewery [Fri, 4 Dec 2015 19:04:04 +0000 (19:04 +0000)]
MFC r291330:

  Replace DPSRCS that work fine in SRCS.

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

8 years agoMFC r284289,r288267:
bdrewery [Fri, 4 Dec 2015 18:59:20 +0000 (18:59 +0000)]
MFC r284289,r288267:

  r284289:
    Misc fixes from projects/bmake
  r288267:
    Remove redundant .NOPATH.

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

8 years agoMFC r291329:
bdrewery [Fri, 4 Dec 2015 18:50:12 +0000 (18:50 +0000)]
MFC r291329:

  Remove redundant DPSRCS which were already in SRCS.

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

8 years agoMFC r291026:
bdrewery [Fri, 4 Dec 2015 18:48:08 +0000 (18:48 +0000)]
MFC r291026:

  Remove unneeded libmd from bootstrap-tools (reverting r246784).

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

8 years agoMFC r290665:
bdrewery [Fri, 4 Dec 2015 18:44:12 +0000 (18:44 +0000)]
MFC r290665:

  Build all of sys/modules with SUBDIR_PARALLEL.

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

8 years agoMFC r291081:
bdrewery [Fri, 4 Dec 2015 18:39:57 +0000 (18:39 +0000)]
MFC r291081:

  Rename checked-in 'includes' to 'includes.sh' to avoid colliding with
  share/mk target 'make includes'.

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

8 years agoMFC r290812:
bdrewery [Fri, 4 Dec 2015 18:33:32 +0000 (18:33 +0000)]
MFC r290812:

  Avoid setting schg in the objtree for lib32 build.

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

8 years agoMFC r290435:
bdrewery [Fri, 4 Dec 2015 18:32:39 +0000 (18:32 +0000)]
MFC r290435:

  Don't allow environment-set options to bleed into src.conf.5 generation.

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

8 years agoMFC r290431:
bdrewery [Fri, 4 Dec 2015 18:31:19 +0000 (18:31 +0000)]
MFC r290431:

  Add SUBDIR_PARALLEL.

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

8 years agoMFC r290426:
bdrewery [Fri, 4 Dec 2015 18:29:06 +0000 (18:29 +0000)]
MFC r290426:

  Correct a comment which appears to be mistakingly mechanically changed in
  r265420.

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

8 years agoMFC r290170:
bdrewery [Fri, 4 Dec 2015 18:25:55 +0000 (18:25 +0000)]
MFC r290170:

  Remove unneeded NULL as this is initialized with M_ZERO.

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

8 years agoMFC r290169:
bdrewery [Fri, 4 Dec 2015 18:24:47 +0000 (18:24 +0000)]
MFC r290169:

  Use memmove(3) to avoid overlapping copy.

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

8 years agoMFC r290374:
bdrewery [Fri, 4 Dec 2015 18:23:34 +0000 (18:23 +0000)]
MFC r290374:

  Remove unneeded mutex.h include, missed in r287155.

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

8 years agoMFC r290084:
bdrewery [Fri, 4 Dec 2015 18:22:31 +0000 (18:22 +0000)]
MFC r290084:

  Remove unneeded NAME override.

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

8 years agoMFC r290083:
bdrewery [Fri, 4 Dec 2015 18:21:05 +0000 (18:21 +0000)]
MFC r290083:

  Use more appropriate ${SHAREDIR} rather than /usr/share.

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