]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
9 years agoMFC r267441:
tijl [Mon, 14 Jul 2014 11:07:43 +0000 (11:07 +0000)]
MFC r267441:

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>

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

9 years agoMFC r268354:
hselasky [Mon, 14 Jul 2014 07:25:30 +0000 (07:25 +0000)]
MFC r268354:
Improve support for Intel Lynx Point USB 3.0 controllers by masking
the port routing bits like done in Linux.

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

9 years agoSwitch stable/9 back to STABLE now that release/9.3.0 is
gjb [Sun, 13 Jul 2014 17:04:22 +0000 (17:04 +0000)]
Switch stable/9 back to STABLE now that release/9.3.0 is
tagged.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC: r268008
rmacklem [Sat, 12 Jul 2014 23:27:38 +0000 (23:27 +0000)]
MFC: r268008
There might be a potential race condition for the NFSv4 client
when a newly created file has another open done on it that
update the open mode. This patch moves the code that updates
the open mode up into the block where the mutex is held to
ensure this cannot happen. No bug caused by this potential
race has been observed, but this fix is a safety belt to ensure
it cannot happen.

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

9 years agoMFC r267627:
pfg [Sat, 12 Jul 2014 18:44:47 +0000 (18:44 +0000)]
MFC r267627:
strptime: add support for %t and %n

Posix strptime() requires support for %t and %n, which were added
to the illumos port.  Curiously we were skipping white spaces by
default in most other cases making %t meaningless.

We now skip spaces in the case of the %e specifier as strftime(3)
explicitly adds a space for the single digit case.

Reference:
http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html

PR: 173421
Obtained from: Illumos (Rev. a11c1571b6942161b0186d0588609448066892c2)

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

9 years agoMFC r268272:
pfg [Sat, 12 Jul 2014 18:30:35 +0000 (18:30 +0000)]
MFC r268272:

minor perf enhancement for UTF-8

Reduce some duplicate code.

Reference:
https://www.illumos.org/issues/628

Obtained from: Illumos

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

9 years agoMFC r268419:
mav [Sat, 12 Jul 2014 02:05:51 +0000 (02:05 +0000)]
MFC r268419:
Fix use-after-free on XPT_RESET_BUS.

That command is not queued, so does not use later status update.

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

9 years agoMFC r267986:
mav [Sat, 12 Jul 2014 02:04:45 +0000 (02:04 +0000)]
MFC r267986:
Remove odd practice of inverting error codes.

-EPERM is equal to ERESTART, returning which from ioctl() handler causes
infinite syscall restart.

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

9 years agoAnticipate when we will announce 9.3-RELEASE.
gjb [Thu, 10 Jul 2014 22:00:22 +0000 (22:00 +0000)]
Anticipate when we will announce 9.3-RELEASE.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r256920
hiren [Thu, 10 Jul 2014 21:02:58 +0000 (21:02 +0000)]
MFC r256920

The TCP delayed ACK logic isn't aware of LRO passing up large aggregated
segments thinking it received only one segment. This causes it to enable
the delay the ACK for 100ms to wait for another segment which may never
come because all the data was received already.

Doing delayed ACK for LRO segments is bogus for two reasons: a) it pushes
us further away from acking every other packet; b) it introduces additional
delay in responding to the sender.  The latter is especially bad because it
is in the nature of LRO to aggregated all segments of a burst with no more
coming until an ACK is sent back.

Change the delayed ACK logic to detect LRO segments by being larger than
the MSS for this connection and issuing an immediate ACK for them to keep
the ACK clock ticking without interruption.

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

9 years agoMFC r268212:
kib [Thu, 10 Jul 2014 09:11:39 +0000 (09:11 +0000)]
MFC r268212:
Note that most errors are possible for all syscalls from utimes(2)
family.  Minor wording corrections.

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

9 years agoBump __FreeBSD_version after SA-14:17.kmem so we have something
peter [Wed, 9 Jul 2014 00:12:42 +0000 (00:12 +0000)]
Bump __FreeBSD_version after SA-14:17.kmem so we have something
to test against in the freebsd.org cluster.

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

9 years agoDocument FreeBSD-SA-14:17.kmem
gjb [Tue, 8 Jul 2014 23:07:09 +0000 (23:07 +0000)]
Document FreeBSD-SA-14:17.kmem

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoFix kernel memory disclosure in control message and SCTP notifications.
delphij [Tue, 8 Jul 2014 21:54:50 +0000 (21:54 +0000)]
Fix kernel memory disclosure in control message and SCTP notifications.

Security: FreeBSD-SA-14:17.kmem
Security: CVE-2014-3952, CVE-2014-3953

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

9 years agoMFC r268125:
pfg [Sun, 6 Jul 2014 17:23:25 +0000 (17:23 +0000)]
MFC r268125:

Small merges from OpenSolaris:

These have no effect on FreeBSD, in fact they are ifdef'ed,
but make easier future merges:

6699767 panic in spec_open()

6718877 crgetzoneid() use can cause problems when forking processes with
USDT providers in a non global zone

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

9 years agoUndo MFC of r267960:
hselasky [Fri, 4 Jul 2014 18:26:32 +0000 (18:26 +0000)]
Undo MFC of r267960:
This patch cannot be ported as-is to 9-stable.

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

9 years agoMFC: r268095
marius [Fri, 4 Jul 2014 13:59:48 +0000 (13:59 +0000)]
MFC: r268095

Actually pro AMD chipsets, making r244146 (MFCed to stable/9 in r245797) work.

Sponsored by: Bally Wulff Games & Entertainment GmbH

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

9 years agoMFC r267960:
hselasky [Fri, 4 Jul 2014 06:05:39 +0000 (06:05 +0000)]
MFC r267960:
Don't hide zero-length strings when doing sysctl listings.

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

9 years agoMFC r267909: Document EINVAL.
pluknet [Thu, 3 Jul 2014 17:37:51 +0000 (17:37 +0000)]
MFC r267909: Document EINVAL.

PR: 191382

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

9 years agoMFC r266490, r266738, r267955, and r268209:
hselasky [Thu, 3 Jul 2014 16:34:01 +0000 (16:34 +0000)]
MFC r266490, r266738, r267955, and r268209:
- Improve performance by fixing incorrect Rx/Tx handling
- Rename definition of AXGE_* to reflect reality
- Add new USB IDs
- Add proper rangechecks in "axge_rx_frame()" function and
fix receive loop header parsing.
- Disable hardware checksumming until it is properly tested.

PR: 191432

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

9 years agoMFC r266270:
hselasky [Thu, 3 Jul 2014 16:29:21 +0000 (16:29 +0000)]
MFC r266270:
Remove some unused variables.

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

9 years agoMFC r267912, r267915:
ume [Thu, 3 Jul 2014 16:01:30 +0000 (16:01 +0000)]
MFC r267912, r267915:
- Exclude loopback address rather than loopback interface.
- style(9)

Spotted by: melifaro

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

9 years agoMFC r266814
truckman [Thu, 3 Jul 2014 16:00:57 +0000 (16:00 +0000)]
MFC r266814

Initialize r_flags the same way in all cases using a sanitized copy of
flags that has several bits cleared. The RF_WANTED and RF_FIRSTSHARE
bits are invalid in this context, and we want to defer setting RF_ACTIVE
in r_flags until later.  This should make rman_get_flags() return
the correct answer in all cases.

Add a KASSERT() to catch callers which incorrectly pass the RF_WANTED
or RF_FIRSTSHARE flags.

Do a strict equality check on the share type bits of flags.  In
particular, do an equality check on RF_PREFETCHABLE.  The previous
code would allow one type of mismatch of RF_PREFETCHABLE but disallow
the other type of mismatch.  Also, ignore the the RF_ALIGNMENT_MASK
bits since alignment validity should be handled by the amask check.
This field contains an integer value, but previous code did a strange
bitwise comparison on it.

Leave the original value of flags unmolested as a minor debug aid.

Change the start+amask overflow check to a KASSERT() since it is just
meant to catch a highly unlikely programming error in the caller.

Reviewed by: jhb

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

9 years agoMFC r268078 and r268080:
hselasky [Thu, 3 Jul 2014 08:07:37 +0000 (08:07 +0000)]
MFC r268078 and r268080:
Fix for memory use after free() and mtx_destroy().

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

9 years agoMFC r267680:
dteske [Wed, 2 Jul 2014 19:25:49 +0000 (19:25 +0000)]
MFC r267680:
Fix a code typo that prevented mkdir from firing (unnoticed
usually because another part of the code succeeded in making
the same directory).

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

9 years agoMFC r267871: Introduce $RA_SERVER to set default whois server.
ume [Wed, 2 Jul 2014 11:51:01 +0000 (11:51 +0000)]
MFC r267871: Introduce $RA_SERVER to set default whois server.

Requested by: nork
Reviewed by: nork

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

9 years agoMVC r268014:
pfg [Wed, 2 Jul 2014 01:32:40 +0000 (01:32 +0000)]
MVC r268014:
Reduce some warnings in the Solaris unicode support.

Clean some warnings from parenthesis and minor style issues.

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

9 years agoMFC 266322,266323:
jhb [Tue, 1 Jul 2014 18:23:00 +0000 (18:23 +0000)]
MFC 266322,266323:
- Use 'RESOURCE' instead of the more generic 'TYPE' for the resource name
  column header when displaying resource usage.  This more closely matches
  other procstat displays.
- Add descriptions of the display formats for -e, -l, -r, and -x.  Fix a few
  typos in indent settings while here.

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

9 years agoMFC r267372-267374: fix various misimplementation of instructions.
delphij [Tue, 1 Jul 2014 16:00:48 +0000 (16:00 +0000)]
MFC r267372-267374: fix various misimplementation of instructions.

Submitted by: Wolf Ramovsky <wolf.ramovsky gmail.com>

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

9 years agoMFC r267493:
delphij [Tue, 1 Jul 2014 15:51:19 +0000 (15:51 +0000)]
MFC r267493:

Fix two issues:

 - Check for rc.d directory's existence before traversing
   it;
 - Don't output * when rc.d directory is empty.

PR: bin/190665
Submitted by: Oleg Ginzburg <olevole olevole ru> (with changes)

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

9 years agoMFC r267981:
dim [Mon, 30 Jun 2014 20:26:30 +0000 (20:26 +0000)]
MFC r267981:

Pull in r211627 from upstream llvm trunk (by Bill Schmidt):

  [PPC64] Fix PR20071 (fctiduz generated for targets lacking that
  instruction)

  PR20071 identifies a problem in PowerPC's fast-isel implementation
  for floating-point conversion to integer.  The fctiduz instruction
  was added in Power ISA 2.06 (i.e., Power7 and later).  However, this
  instruction is being generated regardless of which 64-bit PowerPC
  target is selected.

  The intent is for fast-isel to punt to DAG selection when this
  instruction is not available.  This patch implements that change.
  For testing purposes, the existing fast-isel-conversion.ll test adds
  a RUN line for -mcpu=970 and tests for the expected code generation.
  Additionally, the existing test fast-isel-conversion-p5.ll was found
  to be incorrectly expecting the unavailable instruction to be
  generated.  I've removed these test variants since we have adequate
  coverage in fast-isel-conversion.ll.

This is needed to compile clang with debug+asserts on older powerpc64
and ppc970 targets.

Requested by: jhibbits

MFC r267982:

Add the llvm patch for r267981.

MFC r268003:

Fix breakage after r267981.

Pointy hat to: dim

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

9 years agoMFC r267336:
trociny [Mon, 30 Jun 2014 19:47:26 +0000 (19:47 +0000)]
MFC r267336:

PF_BLUETOOTH protocols: skip initialization of non-virtualized globals
for non-default VNET instances.

This fixes panic on a vnet initialization when ng_btsocket is loaded.

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

9 years agoMFC r267801: Make nd6_gctimer tunable.
ume [Mon, 30 Jun 2014 17:04:55 +0000 (17:04 +0000)]
MFC r267801: Make nd6_gctimer tunable.

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

9 years agoMFC r267800:
ume [Mon, 30 Jun 2014 17:03:32 +0000 (17:03 +0000)]
MFC r267800:
Exclude IPv4 address from doing longest match.
It prevented DNS based load balancing.

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

9 years agoMFC r267378:
delphij [Mon, 30 Jun 2014 16:32:49 +0000 (16:32 +0000)]
MFC r267378:

Fix path for zlib examples, this have no runtime effect and was
overlooked when I was doing zlib update.

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

9 years agoMFC r267601:
pfg [Mon, 30 Jun 2014 14:15:16 +0000 (14:15 +0000)]
MFC r267601:

stdtime: style(9) fixes.

Obtained from: illumos

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

9 years agoMFC r267544:
pfg [Mon, 30 Jun 2014 14:12:32 +0000 (14:12 +0000)]
MFC r267544:

Update license to strptime(3) implementation.

Our strptime(3) implementation was the base for the illumos
implementation and after contacting the author, Kevin Rudy
stated the code is under a 2-Clause BSD License [1]

After reviewing our local changes to the file in question,
the FreeBSD Foundation has agreed that their contributions
to this file are not required to carry clause 3 or 4 so
the file can be relicensed as in Illumos [2].

References:

[1] https://www.illumos.org/issues/357
[2] Illumos Revision: 13222:02526851ba75

Approved: core (jhb)
Approved: FreeBSD Foundation (emaste)

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

9 years agoMFC: r267967, r267968
marius [Mon, 30 Jun 2014 09:38:09 +0000 (09:38 +0000)]
MFC: r267967, r267968

- SC_NO_SYSMOUSE isn't currently supported by vt(4), so nuke it from vt.4.
- vt_vga(4) is a driver rather than a function so reference it accordingly.
- Uncomment HISTORY section given that vt(4) will first appear in 9.3.

Reviewed by: emaste (modulo last part)
Sponsored by: Bally Wulff Games & Entertainment GmbH

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

9 years agoMFC 267647:
jhb [Fri, 27 Jun 2014 20:57:12 +0000 (20:57 +0000)]
MFC 267647:
Trust the state of a power resource that we get from a working _STA method
instead of trying to cache it.

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

9 years agoMFC 267291:
jhb [Fri, 27 Jun 2014 20:39:45 +0000 (20:39 +0000)]
MFC 267291:
Use strcasecmp() instead of strcmp() when checking user-supplied encoding
names so that encoding names are treated as case-insensitive.  This allows
the use of 'utf-8' instead of 'UTF-8' for example and matches the behavior
of iconv(1).

PR: 167977

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

9 years agoMFC 266293:
jhb [Fri, 27 Jun 2014 20:34:22 +0000 (20:34 +0000)]
MFC 266293:
- Add support for dumping current resource usage for processes via a new -r
  flag to procstat.
- Add an -H flag to request information about threads rather than processes
  when dumping statistics.  Currently it is only used for -r to display
  resource usage for individual threads instead of the entire process.

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

9 years agoMFC 266296:
jhb [Fri, 27 Jun 2014 19:50:30 +0000 (19:50 +0000)]
MFC 266296:
Correct some minor nits in the per-thread signal format description such
as missing posessives and misordering of fields.

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

9 years agoMFC 261781:
jhb [Fri, 27 Jun 2014 17:22:18 +0000 (17:22 +0000)]
MFC 261781:
Don't waste a page of KVA for the boot-time memory test on x86.  For amd64,
reuse the first page of the crashdumpmap as CMAP1/CADDR1.  For i386,
remove CMAP1/CADDR1 entirely and reuse CMAP3/CADDR3 for the memory test.

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

9 years agoMFC r258941,267839:
delphij [Fri, 27 Jun 2014 00:37:03 +0000 (00:37 +0000)]
MFC r258941,267839:

Apply vendor improvements to oce(4) driver:

 - Add support to 20Gbps, 25Gbps, 40Gbps devices;
 - Add support to control adaptive interrupt coalescing (AIC)
   via sysctl;
 - Improve support of BE3 devices;
 - Big endian support fixes;

Many thanks to Emulex for their continued support of FreeBSD.

Submitted by: Venkata Duvvuru <VenkatKumar.Duvvuru Emulex.Com>

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

9 years agoMFC r267196:
pluknet [Thu, 26 Jun 2014 10:13:11 +0000 (10:13 +0000)]
MFC r267196:

Add support for inspecting process flags set in p_flag2.

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

9 years agoMFC r254943 (by will, partially):
pluknet [Thu, 26 Jun 2014 10:09:37 +0000 (10:09 +0000)]
MFC r254943 (by will, partially):

Add the ability to display the default FIB number for a process to the
ps(1) utility, e.g. "ps -O fib".

The rest was previously (mis-)merged with r260208.

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

9 years agoMFC r261901:
pluknet [Thu, 26 Jun 2014 08:44:28 +0000 (08:44 +0000)]
MFC r261901:

Preserve one character space for a trailing '\0'.

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

9 years agoMFC r267757:
np [Wed, 25 Jun 2014 19:41:39 +0000 (19:41 +0000)]
MFC r267757:

cxgbe(4): Update the bundled T4 and T5 firmwares to versions 1.11.27.0.

Obtained from: Chelsio

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

9 years agoMFC r267693:
gjb [Wed, 25 Jun 2014 19:00:11 +0000 (19:00 +0000)]
MFC r267693:
  Fix a bug in bsdgrep(1) where patterns are not correctly
  detected.

  Certain criteria must be met for this bug to show up:

   * the -w flag is specified, and
   * neither -o or --color are specified, and
   * the pattern is part of another word in the line, and
   * the other word that contains the pattern occurs first

PR: 181973
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r267616:
ume [Wed, 25 Jun 2014 17:34:04 +0000 (17:34 +0000)]
MFC r267616:

Retooling addrconfig() to exclude addresses on loopback interfaces
when looking for configured addresses.
This change is based upon the code from the submitter, and made
following changes:
- Exclude addresses assigned on interfaces which are down, like NetBSD
  does.
- Exclude addresses assigned on interfaces which are ifdisabled.

PR: 190824
Submitted by: Justin McOmie

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

9 years agoMFC: r267145
marius [Wed, 25 Jun 2014 10:17:10 +0000 (10:17 +0000)]
MFC: r267145

Fix the keyfile being cleared prematurely after r259428 (MFCed to stable/9
in r266750).

PR: 185084
Submitted by: fk@fabiankeil.de
Reviewed by: pjd

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

9 years agoDocument FreeBSD-SA-14:15.iconv and FreeBSD-SA-14:16.file
gjb [Wed, 25 Jun 2014 00:10:41 +0000 (00:10 +0000)]
Document FreeBSD-SA-14:15.iconv and FreeBSD-SA-14:16.file

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC 253392:
jhb [Tue, 24 Jun 2014 19:58:18 +0000 (19:58 +0000)]
MFC 253392:
Workaround some broken BIOSes that specify edge-sensitive but active-low
settings for ACPI-enumerated serial ports by forcing any IRQs that use
an ISA IRQ value with these settings to active-high instead of active-low.

This is known to occur with the BIOS on an Intel D2500CCE motherboard.

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

9 years agoFix multiple vulnerabilities in file(1) and libmagic(3).
delphij [Tue, 24 Jun 2014 19:04:55 +0000 (19:04 +0000)]
Fix multiple vulnerabilities in file(1) and libmagic(3).

Security: FreeBSD-SA-14:16.file
Approved by: so

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

9 years agoMFC r267174:
bdrewery [Tue, 24 Jun 2014 15:54:42 +0000 (15:54 +0000)]
MFC r267174:

  Fix some rpcgen sample file issues.

PR: 185582

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

9 years agoMFC r263795:
rodrigc [Tue, 24 Jun 2014 15:28:09 +0000 (15:28 +0000)]
MFC r263795:

Strict value checking will cause problem.
Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD.
This behaviour is bug-compatible with Linux-3.13.5.

References:
http://d.hatena.ne.jp/syuu1228/20140326
http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094

Submitted by: syuu
PR: 187966

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

9 years agoMFC r267704:
dim [Tue, 24 Jun 2014 06:12:11 +0000 (06:12 +0000)]
MFC r267704:

Pull in r211435 from upstream llvm trunk (by Benjamin Kramer):

  Legalizer: Add support for splitting insert_subvectors.

  We handle this by spilling the whole thing to the stack and doing the
  insertion as a store.

  PR19492. This happens in real code because the vectorizer creates
  v2i128 when AVX is enabled.

This fixes a "fatal error: error in backend: Do not know how to split
the result of this operator!" message encountered during compilation of
the net-p2p/libtorrent-rasterbar port.

Reported by: Evgeniy <iron@mail.ua>

MFC r267705:

Add the llvm patch for r267704.

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

9 years agoFix r267788 build on stable/9.
mav [Mon, 23 Jun 2014 13:41:20 +0000 (13:41 +0000)]
Fix r267788 build on stable/9.

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

9 years agoMFC r267429:
mav [Mon, 23 Jun 2014 13:23:51 +0000 (13:23 +0000)]
MFC r267429:
Fix some leaks on LUN creation error.

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

9 years agoMFC r267479:
mav [Mon, 23 Jun 2014 13:20:14 +0000 (13:20 +0000)]
MFC r267479:
Fix/improve fhe_stats sysctl output.

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

9 years agoMFC r267392:
mav [Mon, 23 Jun 2014 13:19:24 +0000 (13:19 +0000)]
MFC r267392:
Implement simple direct-mapped cache for popular filesystem identifiers to
avoid congestion on global mountlist_mtx mutex in vfs_busyfs(), while
traversing through the list of mount points.

This change significantly improves NFS server scalability, since it had
to do this translation for every request, and the global lock becomes quite
congested.

This code is more optimized for relatively small number of mount points.
On systems with hundreds of active mount points this simple cache may have
many collisions.  But the original traversal code in that case should also
behave much worse, so we are not loosing much.

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

9 years agoMFC r267351:
mav [Mon, 23 Jun 2014 13:18:27 +0000 (13:18 +0000)]
MFC r267351:
Move root_mount_hold() functionality to separate mutex.

It has nothing to share with mutex protecting list of mounted file systems.

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

9 years agoMFC r267362:
mav [Mon, 23 Jun 2014 13:15:24 +0000 (13:15 +0000)]
MFC r267362:
Remove unneeded mountlist_mtx acquisition from sync_fsync().

All struct mount fields accessed by sync_fsync() are protected by MNT_MTX.

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

9 years agoMFC r267232, r267239:
mav [Mon, 23 Jun 2014 13:14:26 +0000 (13:14 +0000)]
MFC r267232, r267239:
Use atomics to modify numvnodes variable.

This allows to mostly avoid lock usage in getnewvnode_[drop_]reserve(),
that reduces number of global vnode_free_list_mtx mutex acquisitions
from 4 to 2 per NFS request on ZFS, improving SMP scalability.

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

9 years agoMFC r267228:
mav [Mon, 23 Jun 2014 13:11:47 +0000 (13:11 +0000)]
MFC r267228:
Split RPC pool threads into number of smaller semi-isolated groups.

Old design with unified thread pool was good from the point of thread
utilization.  But single pool-wide mutex became huge congestion point
for systems with many CPUs.  To reduce the congestion create several
thread groups within a pool (one group for every 6 CPUs and 12 threads),
each group with own mutex.  Each connection during its registration is
assigned to one of the groups in round-robin fashion.  File affinify
code may still move requests between the groups, but otherwise groups
are self-contained.

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

9 years agoMFC r267223:
mav [Mon, 23 Jun 2014 13:10:49 +0000 (13:10 +0000)]
MFC r267223:
Remove st_idle variable, duplicating st_xprt.

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

9 years agoMFC r267221, r267278:
mav [Mon, 23 Jun 2014 13:09:49 +0000 (13:09 +0000)]
MFC r267221, r267278:
Introduce new per-thread lock to protect the list of requests.

This allows to slightly simplify svc_run_internal() code: if we processed
all the requests in a queue, then we know that new one will not appear.

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

9 years agoMFC r267688:
tuexen [Mon, 23 Jun 2014 08:40:56 +0000 (08:40 +0000)]
MFC r267688:

Fix a bug which incorrectly allowed two listening SCTP sockets on
the same port bound to the wildcard address.

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

9 years agoMFC r267682:
tuexen [Mon, 23 Jun 2014 08:38:56 +0000 (08:38 +0000)]
MFC r267682:

Fix a bug in the setsockopt()-handling of the SCTP
specific option SCTP_PEER_ADDR_THLDS: Use the
provided address as intended.

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

9 years agoMFC r267674:
tuexen [Mon, 23 Jun 2014 08:36:48 +0000 (08:36 +0000)]
MFC r267674:

Honor jails for unbound SCTP sockets when selecting source addresses,
reporting IP-addresses to the peer during the handshake, adding
addresses to the host, reporting the addresses via the sysctl
interface (used by netstat, for example) and reporting the
addresses to the application via socket options.
This issue was reported by Bernd Walter.

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

9 years agoMFC: r267638
marius [Mon, 23 Jun 2014 08:32:45 +0000 (08:32 +0000)]
MFC: r267638

Don't denounce peripherals on system shutdown. Together with r267321
(MFCed to stable/9 in r267777), we're now back to the pre-r228483
level of default verbosity. This in turn again typically allows for
reading information that userland might have printed on the screen
before initiating a halt, but still permits to debug potential device
shutdown problems on system shutdown via CAM_DEBUG etc.

Reviewed by: mav
Sponsored by: Bally Wulff Games & Entertainment GmbH

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

9 years agoMFC: r267321
marius [Mon, 23 Jun 2014 08:28:14 +0000 (08:28 +0000)]
MFC: r267321

Avoid the USB device disconnected and controller shutdown clutter on system
shutdown by putting the former under !rebooting and turning the latter into
debug messages.

Reviewed by: hps
Sponsored by: Bally Wulff Games & Entertainment GmbH

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

9 years agoMFC r267689:
np [Mon, 23 Jun 2014 05:42:52 +0000 (05:42 +0000)]
MFC r267689:

Consider the total number of descriptors available (and not just those
that are ready to be reclaimed) when deciding whether to resume tx after
a stall.

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

9 years agoMerge r267482,r267483,r267486,r267577,r267671,r267672 from head:
gavin [Sun, 22 Jun 2014 16:58:18 +0000 (16:58 +0000)]
Merge r267482,r267483,r267486,r267577,r267671,r267672 from head:

  Remove send-pr and fix up all references to it.  Replace it with a
  stub send-pr directing people towards the web site.

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

9 years agoMFC r267329:
tuexen [Sun, 22 Jun 2014 12:18:41 +0000 (12:18 +0000)]
MFC r267329:

Add support for the SCTP_LOCAL_TRACE_BUF options.
While there, fix some whitespaces.

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

9 years agoMFC r267105:
tuexen [Sun, 22 Jun 2014 12:16:27 +0000 (12:16 +0000)]
MFC r267105:

Use ENOBUFS instead of ENOMEM in error situations related to m_uiotombuf().
This was suggested by kevlo@.

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

9 years agoRemove bogus mergeinfo introduced in r267684.
gjb [Sat, 21 Jun 2014 02:24:35 +0000 (02:24 +0000)]
Remove bogus mergeinfo introduced in r267684.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoPurge information from the stable/9 relnotes that applied to
gjb [Sat, 21 Jun 2014 00:45:44 +0000 (00:45 +0000)]
Purge information from the stable/9 relnotes that applied to
9.3-RELEASE, after releng/9.3 is branched.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r267600:
np [Sat, 21 Jun 2014 00:35:20 +0000 (00:35 +0000)]
MFC r267600:

cxgbe(4):  Fix bug in the fast rx buffer recycle path.  In some cases rx
buffers were getting recycled when they should have been left alone.

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

9 years agoDocument missing SAs on the 9.2R errata page.
gjb [Fri, 20 Jun 2014 19:57:55 +0000 (19:57 +0000)]
Document missing SAs on the 9.2R errata page.

Submitted by: pi
Sponsored by: The FreeBSD Foundation

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

9 years agoAdd missing mergeinfo for 267683.
dteske [Fri, 20 Jun 2014 18:07:04 +0000 (18:07 +0000)]
Add missing mergeinfo for 267683.

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

9 years agoMFC revisions 257795,257817,257819,257937-257938,258264-258265,258267,
dteske [Fri, 20 Jun 2014 17:57:29 +0000 (17:57 +0000)]
MFC revisions 257795,257817,257819,257937-257938,258264-258265,258267,
258854,259113,259427 (11 revisions; summarized below).
r257795: Replace pkg-tools with pkgng
r257817: Fix cosmetic typos
r257819: Use `pkg -vv' to obtain ABI
r257937: Unbreak the installer
r257938: Remove the env(1) but keep the var
r258264: Kick an unused orphan to the curb ;)
r258265: Improve debugging with f_eval_catch()
r258267: Fix package installation from physical media such as DVD
r258854: Fix PKG_ABI detection after pkg-1.2
r259113: Fix failed attempt to send pkg(8) stderr to /dev/null
r259427: Export 'REPOS_DIR' when selected source medium is cdrom

MFC after: 3 days

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

9 years agoSwitch stable/9 back to -PRERELEASE now that releng/9.3 is branched.
gjb [Fri, 20 Jun 2014 00:19:36 +0000 (00:19 +0000)]
Switch stable/9 back to -PRERELEASE now that releng/9.3 is branched.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoUpdate __FreeBSD_version now that releng/9.3 is branched.
gjb [Fri, 20 Jun 2014 00:18:52 +0000 (00:18 +0000)]
Update __FreeBSD_version now that releng/9.3 is branched.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoUpdate stable/9 to -RC1 in preparation of branching releng/9.3
gjb [Fri, 20 Jun 2014 00:01:36 +0000 (00:01 +0000)]
Update stable/9 to -RC1 in preparation of branching releng/9.3

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoAdd sponsorship attribution for the following revisions:
gjb [Thu, 19 Jun 2014 15:52:46 +0000 (15:52 +0000)]
Add sponsorship attribution for the following revisions:
 256437, 257125, 257126, 259519, 260082, 262988, 263817, 265729,
 259269, 259406, 262706, 262879

Add DK Hostmaster A/S to the sponsors.ent file.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r265590, r265594, r265595, r265599 [1], r265601 [1],
gjb [Thu, 19 Jun 2014 03:59:52 +0000 (03:59 +0000)]
MFC r265590, r265594, r265595, r265599 [1], r265601 [1],
r265602 [1], r265603 [1], r265605 [1], r265607 [1],
r267554 [1], r267595:

r265590:
  Modify release.xsl to allow proper attribution for
  sponsored and/or contributed works.

r265594:
  Add two new entity files in followup to r265590,
  sponsor.ent and vendor.ent, which will be used for
  sponsor/vendor names and URLs.

r265595:
  Add references to sponsor.ent and vendor.ent in
  relnotes/article.xml and share/xml/catalog.xml.

r265599:
  Add DARPA, AFRL to sponsor.ent.

r265601:
  Add LSI and Spectra Logic to sponsor.ent.

r265602:
  Add Netgate to sponsor.ent.

r265603:
  Add a note to keep the entity lists sorted alphabetically.

r265605:
  Add Google to the sponsor.ent file.

r265607:
  Separate &darpa; entity and create &darpa_afrl to
  avoid confusion.

r267554:
  Add &citrix; and &citrix.rd; macros.

r267595:
  Remove 'Inc.' for consistency.

[1] - Partial, entity addition only.

Approved by: re (hrs)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r267342:
jimharris [Wed, 18 Jun 2014 19:28:55 +0000 (19:28 +0000)]
MFC r267342:

  Use bitwise OR instead of logical OR when constructing value for
  SET_FEATURES/NUMBER_OF_QUEUES command.

Sponsored by: Intel
Approved by: re (gjb)

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

9 years agoTrim errata/article.xml of old entries.
gjb [Tue, 17 Jun 2014 18:12:58 +0000 (18:12 +0000)]
Trim errata/article.xml of old entries.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoIn installation/article.xml:
gjb [Tue, 17 Jun 2014 18:03:59 +0000 (18:03 +0000)]
In installation/article.xml:

 - Update references from 9.1R to 9.3R.
 - Remove CVS reference.
 - Update list of earlier FreeBSD versions to remove
   unsupported versions.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoWhitespace cleanup. No content changes.
gjb [Tue, 17 Jun 2014 17:55:54 +0000 (17:55 +0000)]
Whitespace cleanup.  No content changes.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoRemove content-less sections.
gjb [Tue, 17 Jun 2014 17:51:51 +0000 (17:51 +0000)]
Remove content-less sections.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263662, 800.loginfail refinement.
gjb [Tue, 17 Jun 2014 17:47:46 +0000 (17:47 +0000)]
Document r263662, 800.loginfail refinement.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoFix the svn revision number for uhso(4) note.
gjb [Tue, 17 Jun 2014 17:13:42 +0000 (17:13 +0000)]
Fix the svn revision number for uhso(4) note.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC: r267478
brueffer [Tue, 17 Jun 2014 11:58:37 +0000 (11:58 +0000)]
MFC: r267478

MFp4: change 1191346

In print_header32_tok(), correct printing in the XML case.  This lead to
invalid XML files before.

PR: 176259
Submitted by: zi
Approved by: re (marius)

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

9 years agoMFC r254120, r257862 and r267395:
hselasky [Mon, 16 Jun 2014 20:43:43 +0000 (20:43 +0000)]
MFC r254120, r257862 and r267395:
- Fix out of range shifting bug in bitops.h.
- Make code a bit easier to read by adding parenthesis.

Approved by: re, gjb @

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

9 years agoMFC of 267473,tzdata2014e
edwin [Sun, 15 Jun 2014 00:53:24 +0000 (00:53 +0000)]
MFC of 267473,tzdata2014e

Fix historical data for Egypt.
Better prediction for future Egypt / Morocco changes.
Update to Cocos / Cook islands.
Fix historical data for Russia.

Approved by: re (gjb)

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

9 years agoMFC r267335:
dim [Sat, 14 Jun 2014 18:48:12 +0000 (18:48 +0000)]
MFC r267335:

In some scenarios, when generating llvm/clang .inc.h files, multiple
source files could be passed to tblgen or clang-tblgen, leading to a
"Too many positional arguments specified" error message.  Fix this by
replacing the too-generic ${.ALLSRC} sources with explicit paths.

Reported by: rysto32@gmail.com, rodrigc
Approved by: re (gjb)

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

9 years agoMFC r264194: fix handling of -P without -p or -r
emaste [Sat, 14 Jun 2014 01:32:48 +0000 (01:32 +0000)]
MFC r264194: fix handling of -P without -p or -r

  Fork a child process and wait until the process terminates when the -P
  option is specified. This behavior is documented on the manual page.

PR: 187265, 190643
Approved by: re

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

9 years agoMFC r267368:
delphij [Sat, 14 Jun 2014 00:54:57 +0000 (00:54 +0000)]
MFC r267368:

Apply vendor fixes to the High Point drivers:

 - Don't call xpt_free_path() in os_query_remove_device() and
   always return TRUE.
 - Update os_buildsgl() to support build logical SG table which
   will be used by lower RAID module.
 - Return CAM_SEL_TIMEOUTstatus for SCSIcommand failed as target
   missing.

Many thanks to HighPoint for providing this driver update.

Submitted by: Steve Chang
Reviewed by: mav
Approved by: re (gjb)

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