200314 Commits

Author SHA1 Message Date
dim
d98dd6b5d1 MFC r288953:
Stop linking libc++.so verbosely, there is no need to.
2015-10-09 19:38:53 +00:00
dim
c26acd2a5d MFC r288099:
In binutils' arm-dis.c, avoid left-shifting a negative number.

Submitted by:	dan.mcgregor_usask.ca (Dan McGregor)
Differential Revision: https://reviews.freebsd.org/D3376
2015-10-09 19:36:06 +00:00
bdrewery
a5a007aeef The fmake fix in r289049 was wrong. Need to use a real variable for
.if checks rather than the iteration variable.  Tested this pattern
more (rather than just looking for error) and found the right behavior.
2015-10-09 19:18:02 +00:00
bdrewery
35506ac39e Revert r289043.
r284408 was marked for MFC but is not safe for stable/10 yet due to failing
in bin/sh/tests.
2015-10-08 20:32:44 +00:00
bdrewery
ed87dfa8ad MFC r288201:
Don't recurse with cleanobj.
2015-10-08 19:21:14 +00:00
bdrewery
d419d312bf MFC r288160:
Document bsd.progs.mk and add more variables overrides.
2015-10-08 19:19:56 +00:00
bdrewery
cc2accc436 MFC r288158:
Fix most cases of bsd.progs.mk running duplicate or missing commands.
2015-10-08 19:13:36 +00:00
bdrewery
324678801a Direct commit to fix usage with fmake.
fmake does not have :tW, so use some clever :Q tricks to achieve the
same result.  This won't work if PATH actually contains spaces, but
it's better than not working at all.
2015-10-08 19:10:51 +00:00
bdrewery
fd64b90b59 Direct commit to fix warnings with fmake when building from top-level.
The top-level Makefile.inc1 uses 'make -C release -V' to lookup revision
information, which causes Makefile.vm and Makefile.vagrant to be included.

fmake has 2 issues here:

  1. It doesn't like the empty result of .if ${VAR:Mfoo}
  2. It doesn't like .if ${loop_item} ==
2015-10-08 18:33:47 +00:00
bdrewery
4bffffcaeb MFC r288238:
MFV c3ccd112: Correct off-by-ones in free_exception of emergency buffer
2015-10-08 18:02:43 +00:00
bdrewery
b7538bbddc MFC r288271:
Document bus_get_resource(9).
2015-10-08 18:01:14 +00:00
bdrewery
6548967e9e MFC r284408:
Ensure TESTSDIR is defined before bsd.test.mk is .include'd
2015-10-08 17:55:53 +00:00
bdrewery
425a931cc6 MFC r288198,r288200:
r288198:
    Remove unneeded dependency line.
  r288200:
    Remove unneeded dependency of '.o: .h' that bsd.prog.mk already handles.
2015-10-08 17:49:14 +00:00
bdrewery
e87917047a MFC r288179:
Fix running make in src directories without a Makefile giving confusing
  errors.
2015-10-08 17:45:03 +00:00
cperciva
7b86f845fe MFC r288446: Disable suspend during shutdown. 2015-10-08 15:48:44 +00:00
hselasky
7ff6dd508c MFC r287775:
Update TSO limits to include all headers.

To make driver programming easier the TSO limits are changed to
reflect the values used in the BUSDMA tag a network adapter driver is
using. The TCP/IP network stack will subtract space for all linklevel
and protocol level headers and ensure that the full mbuf chain passed
to the network adapter fits within the given limits. See r287775
for a more detailed description.

Differential Revision:	https://reviews.freebsd.org/D3477
Reviewed by:		rmacklem
2015-10-08 08:30:40 +00:00
hselasky
7ba3672103 MFC r284915:
Make the system queue header file fully usable within C++ programs by
adding macros to define class lists.

This change is backwards compatible for all use within C and C++
programs. Only C++ programs will have added support to use the queue
macros within classes. Previously the queue macros could only be used
within structures.

The queue.3 manual page has been updated to describe the new
functionality and some alphabetic sorting has been done while
at it.

Differential Revision:	https://reviews.freebsd.org/D2745
PR:			200827 (exp-run)
2015-10-08 07:50:50 +00:00
hselasky
71d65f8f78 MFC r287321:
Add new USB quirk.

PR:		202783
2015-10-08 07:31:05 +00:00
hselasky
fd30abe24e MFC r287355, r287772 and r287825:
Add new USB PCI IDs.

PR:		202807
Submitted by:	Dmitry Luhtionov <dmitryluhtionov@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D3665
2015-10-08 07:24:54 +00:00
hselasky
60e5f4dda1 MFC r288180:
Implement support for reading USB quirks from the kernel environment.
Refer to the usb_quirk(4) manual page for more details on how to use
this new feature.

Submitted by:	Maxime Soule <btik-fbsd@scoubidou.com>
PR:		203249
2015-10-08 07:17:35 +00:00
delphij
221f5f4a8e Belately bump __FreeBSD_version after r288572 which makes a change to
zfeature_info.

This is a direct commit to stable/10.
2015-10-08 06:34:12 +00:00
avatar
36b47c3278 MFC r287698: Fixing a memory leak on module unloading. 2015-10-07 09:29:42 +00:00
gjb
61fe868d05 Refine the r287037 entry based on feedback from jilles@.
Sponsored by:	The FreeBSD Foundation
2015-10-07 02:13:02 +00:00
jhb
a68192dcd9 MFC 287870:
Always clear TDB_USERWR before fetching system call arguments.  The
TDB_USERWR flag may still be set after a debugger detaches from a
process via PT_DETACH.  Previously the flag would never be cleared
forcing a double fetch of the system call arguments for each system
call.  Note that the flag cannot be cleared at PT_DETACH time in case
one of the threads in the process is currently stopped in
syscallenter() and the debugger has modified the arguments for that
pending system call before detaching.
2015-10-07 00:50:26 +00:00
jhb
bda8562bdb MFC 287864:
When a process group leader exits, all of the processes in the group are
sent SIGHUP and SIGCONT if any of the processes are stopped.  Currently this
behavior is triggered for any type of process stop including ptrace() stops
and transient stops for single threading during exit() and execve().
Thus, if a debugger is attached to a process in a group when the leader
exits, the entire group can be HUPed.  Instead, only send the signals if a
process in the group is stopped due to SIGSTOP.
2015-10-07 00:33:44 +00:00
jhb
08449d14c7 MFC 287833:
Threads holding a read lock of a sleepable rm lock are not permitted
to sleep.  The rmlock implementation enforces this by disabling
sleeping when a read lock is acquired. To simplify the implementation,
sleeping is disabled for most of the duration of rm_rlock.  However,
it doesn't need to be disabled until the lock is acquired.  If a
sleepable rm lock is contested, then rm_rlock may need to acquire the
backing sx lock.  This tripped the overly-broad assertion.  Fix by
relaxing the assertion around the call to sx_xlock().
2015-10-06 22:28:28 +00:00
gjb
fd0437ce23 Document r286751, tzdata 2015f.
Sponsored by:	The FreeBSD Foundation
2015-10-06 18:51:41 +00:00
gjb
6db33ebb1c Document r288710, sesutil(8) addition.
Add Gandi.net to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2015-10-06 17:42:37 +00:00
amdmi3
0a831af75f MFC r288120: Fix crash on parsing some inf files 2015-10-06 15:30:41 +00:00
mav
9ce81fb544 MFC r287821: Document NGM_PPPOE_SETMAXP.
Submitted by:   Dmitry Luhtionov <dmitryluhtionov gmail.com>
2015-10-06 13:49:28 +00:00
mav
342fcd5139 MFC r287654: Add support for PPP-Max-Payload PPPoE tag (RFC4638).
Submitted by:   Dmitry Luhtionov <dmitryluhtionov@gmail.com>
2015-10-06 13:10:21 +00:00
gjb
81d5da8e19 Document r288810, ctl(4) updated to support CD-ROMs and other
removable devices.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:15:18 +00:00
gjb
7a5afd76cc Document r288167, fix kqueue write events for files > 2GB
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:15:16 +00:00
gjb
655f62d3d1 Document r288732, CTL HA reimplementation.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:15:13 +00:00
gjb
ba36131499 Document r287746, pciconf(8) prefer pciids from ports database,
if present.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:15:11 +00:00
gjb
d90583a181 Document r287665, account for ashift when gathering buffers to
be written to l2arc device.
Add ClusterHQ to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:15:08 +00:00
gjb
16e2d8b938 Document r287037, uart(4) PPS runtime-tunable.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:15:06 +00:00
gjb
df7da43e6f Document r287802, xen(4) blkif indirect segment I/O support.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:15:04 +00:00
gjb
d9905af883 Document r288202, ar(1) '-D' option enabled by default.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:15:01 +00:00
gjb
e848553e9b Document r286082, libarchive(3) bugfix for sparse files in tar(1)
archives.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:14:59 +00:00
gjb
0a246d3df0 Document r286064, jail(8) -l flag and default shell execution when
no commands are specified.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:14:57 +00:00
gjb
8dfa6a7f91 Document r287122, NTFS support in mkimg(1).
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:14:55 +00:00
jpaetzel
de0af95244 MFC 288272
Increase group limit for kerberized NFSv4

PR:	202659
Submitted by:	matthew.l.dailey@dartmouth.edu
Reviewed by:	rmacklem dfr
Sponsored by:	iXsystems
2015-10-05 17:15:04 +00:00
mav
25cdfab843 MFC r288579: Restore original array_rd_sz semantics.
Before r278702 prefetch was blocked for I/Os > 1MB, after -- >= 1MB.
1MB I/Os are used for bulk operations in CTL (XCOPY, VERIFY), and disabling
prefetch for them reduced the performance.
2015-10-05 13:33:02 +00:00
mav
5a4270f056 MFC r288486, r288488: Set default block size for CD to expected 2048 bytes. 2015-10-05 11:51:13 +00:00
mav
2e00d51f56 MFC r288458: More aggressively fill WUT read pipeline.
On some tests I've measured 5% copy speedup from this.
2015-10-05 11:49:56 +00:00
mav
d0ad6bdc5e MFC r288450: Make zero WUT use WRITE SAME with recently allowed NDOB flag. 2015-10-05 11:49:02 +00:00
mav
d7b02ef70d MFC r288449:
Implement SPC-3 exceptions to SPC-2 RESERVE and RELEASE behavior.
2015-10-05 11:48:14 +00:00
mav
84dffeecf5 MFC r288448: Unify PR variable names to reduce confusion. 2015-10-05 11:47:16 +00:00
mav
b4068647d6 MFC r288427: Use proper STAILQ_* macros where possible. 2015-10-05 11:46:23 +00:00