]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
10 years agoMFC r258892: lldb: Threaded inferior support for FreeBSD
emaste [Wed, 19 Mar 2014 13:19:56 +0000 (13:19 +0000)]
MFC r258892: lldb: Threaded inferior support for FreeBSD

  This is in the process of being submitted to the upstream LLDB
  repository.  The thread list functionality is modelled in part on
  GDBRemoteCommunicationClient.

  LLDB bug pr16696 and code review D2267

Sponsored by: DARPA, AFRL

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

10 years agoMFC r258884: Update LLDB to upstream r196259 snapshot
emaste [Wed, 19 Mar 2014 13:18:42 +0000 (13:18 +0000)]
MFC r258884: Update LLDB to upstream r196259 snapshot

Sponsored by: DARPA, AFRL

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

10 years agoMFC r258873: Workaround lldb issue with main module base address
emaste [Wed, 19 Mar 2014 13:16:58 +0000 (13:16 +0000)]
MFC r258873: Workaround lldb issue with main module base address

  On FreeBSD lldb sometimes reloads the the main module's (executable's)
  symbols at the wrong address.  Work around this for now by explicitly
  reloading at base_address=0 when it happens.

  A proper fix is needed but early testers have reported this issue so
  this workaround should allow them to make further progress.

  http://llvm.org/bugs/show_bug.cgi?id=17880

Sponsored by: DARPA, AFRL

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

10 years agoMFC r258098: Merge upstream LLDB r194487:
emaste [Wed, 19 Mar 2014 13:15:16 +0000 (13:15 +0000)]
MFC r258098: Merge upstream LLDB r194487:

  Log failure to restore thread state in ThreadPlanCallFunction::DoTakedown

  In order to help track down llvm.org/pr17226.

Sponsored by: DARPA, AFRL

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

10 years agoMFC r258094: lldb: Correct a standalone debug file path
emaste [Wed, 19 Mar 2014 13:13:47 +0000 (13:13 +0000)]
MFC r258094: lldb: Correct a standalone debug file path

  For a file /bin/ls with a .gnu_debuglink entry of "ls.debug" the path
  should be /usr/lib/debug/bin/ls.debug, not /usr/lib/debug/bin/ls.

  ref: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html

  Upstream defect pr17903 (http://llvm.org/pr17903)

Sponsored by: DARPA, AFRL

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

10 years agoMFC r258054: Update LLDB to upstream r194122 snapshot
emaste [Wed, 19 Mar 2014 13:11:35 +0000 (13:11 +0000)]
MFC r258054: Update LLDB to upstream r194122 snapshot

  Inludes minor changes relative to upstream, for compatibility with
  FreeBSD's in-tree LLVM 3.3:

  - Reverted LLDB r191806, restoring use of previous API.
  - Reverted part of LLDB r189317, restoring previous enum names.
  - Work around missing LLVM r192504, using previous registerEHFrames API
    (limited functionality).
  - Removed PlatformWindows header include and init/terminate calls.

Sponsored by: DARPA, AFRL

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

10 years agoMFC r263095:
kib [Wed, 19 Mar 2014 13:09:17 +0000 (13:09 +0000)]
MFC r263095:
Initialize paddr to handle the case of zero size.

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

10 years agoMFC r263092:
kib [Wed, 19 Mar 2014 13:04:16 +0000 (13:04 +0000)]
MFC r263092:
Do not vdrop() the tmpfs vnode until it is unlocked.  The hold
reference might be the last, and then vdrop() would free the vnode.

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

10 years agoMFC r263080:
kib [Wed, 19 Mar 2014 13:02:17 +0000 (13:02 +0000)]
MFC r263080:
Use correct types for sizeof() in the calculations for the malloc(9) sizes.

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

10 years agoMFC r263079:
kib [Wed, 19 Mar 2014 12:55:57 +0000 (12:55 +0000)]
MFC r263079:
The auio structure is only initialized when the vnode is symlink,
avoid reading from it otherwise.

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

10 years agoMerge r259562,r259566,r259638,r259645,r260124 by melifaro:
glebius [Wed, 19 Mar 2014 09:36:29 +0000 (09:36 +0000)]
Merge r259562,r259566,r259638,r259645,r260124 by melifaro:

  Switch netstat -rn to use standard API for retrieving list
  of routes instead of peeking inside in-kernel radix via kget.

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

10 years agoMerge r262747: remove extraneous ifa_ref()/ifa_free().
glebius [Wed, 19 Mar 2014 09:23:58 +0000 (09:23 +0000)]
Merge r262747: remove extraneous ifa_ref()/ifa_free().

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

10 years agoMFC r263105, r263106:
gjb [Wed, 19 Mar 2014 01:43:03 +0000 (01:43 +0000)]
MFC r263105, r263106:

r263105:
  Add hyperv manual pages provided by Microsoft, formatted
  for FreeBSD standards.  Very little, if any, content was
  modified.

r263106:
  Connect the hyperv driver manuals to the build.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r263021:
bdrewery [Wed, 19 Mar 2014 00:53:24 +0000 (00:53 +0000)]
MFC r263021:

  Support Last-Modified behind proxies which return UTC instead of GMT.

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

10 years agoMerge r263091: fix mbuf flags clash that lead to failure of operation
glebius [Tue, 18 Mar 2014 16:56:05 +0000 (16:56 +0000)]
Merge r263091: fix mbuf flags clash that lead to failure of operation
of IPSEC and packet filters.

PR: kern/185876
PR: kern/186755

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

10 years agoMFC r262741:
mav [Tue, 18 Mar 2014 14:18:45 +0000 (14:18 +0000)]
MFC r262741:
Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately.

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

10 years agoMFC r262754: MFV r253848 (mm):
delphij [Tue, 18 Mar 2014 00:59:49 +0000 (00:59 +0000)]
MFC r262754: MFV r253848 (mm):

Update vendor/xz from v5.0 branch to post-5.0.5

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

10 years agoMFC r262325:
markj [Tue, 18 Mar 2014 00:55:19 +0000 (00:55 +0000)]
MFC r262325:
Print a backtrace if the SDT(9) stub gets called so that there's at least
some hope of figuring out how it happened.

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

10 years agoMFC r259535:
markj [Tue, 18 Mar 2014 00:29:33 +0000 (00:29 +0000)]
MFC r259535:
The fasttrap fork handler is responsible for removing tracepoints in the
child process that were inherited from its parent. However, this should
not be done in the case of a vfork, since the fork handler ends up removing
the tracepoints from the shared vm space, and userland DTrace probes in the
parent will no longer fire as a result.

Now the child of a vfork may trigger userland DTrace probes enabled in its
parent, so modify the fasttrap probe handler to handle this case and handle
the child process in the same way that it would handle the traced process.
In particular, if once traces function foo() in a process that vforks, and
the child calls foo(), fasttrap will treat this call as having come from the
parent. This is the behaviour of the upstream code.

While here, add #ifdef guards to some code that isn't present upstream.

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

10 years agoMFC r263120:
dim [Mon, 17 Mar 2014 20:42:45 +0000 (20:42 +0000)]
MFC r263120:

Pull in r201021 from upstream libc++ trunk:

  Fix for PR18735 - self-assignment for map/multimap gives incorrect
  results in C++03

(Please note: that is an LLVM PR identifier, not a FreeBSD one.)

Reported by: rakuco

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

10 years agoMFC r262676:
delphij [Mon, 17 Mar 2014 19:09:00 +0000 (19:09 +0000)]
MFC r262676:

All callers of static method load_nvlist() in spa.c handles error case,
so there is no reason to assert that we won't hit an error.  Instead,
just return that error to caller and have the upper layer handle it.

Obtained from: FreeNAS
Reported by: rodrigc
Reviewed by: Matthew Ahrens

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

10 years agoMFC r262972:
hselasky [Mon, 17 Mar 2014 06:38:40 +0000 (06:38 +0000)]
MFC r262972:
Ignore USB keyboard driver calls from critical sections.

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

10 years agoMFC r263107:
davidxu [Mon, 17 Mar 2014 05:03:53 +0000 (05:03 +0000)]
MFC r263107:

To avoid missing a chance to cancel thread, call _pthread_testcancel at the
beginning of _sem_timedwait.

Submitted by: Eric van Gyzen < eric at vangyzen dot net >

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

10 years agoMFC r263153, r263154:
kevlo [Mon, 17 Mar 2014 02:14:13 +0000 (02:14 +0000)]
MFC r263153, r263154:

- Similar to r246614, fix panic on removing urtwn(4).  It happens because
  nodes are freed after the adapter is gone.

- Reset the bit of the R92C_MCUFWDL associated with checksum report
  before loading firmware page.  It may fix this problem:
  "urtwn0: timeout waiting for checksum report"

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

10 years agoPull in r192123 from upstream llvm trunk (by Benjamin Kramer):
dim [Sun, 16 Mar 2014 16:33:25 +0000 (16:33 +0000)]
Pull in r192123 from upstream llvm trunk (by Benjamin Kramer):

  X86: Fix type check. Just because an integer type is illegal doesn't
  mean it's i64.

  Fixes PR17495, where an i24 triggered this code. It's intended to
  optimize i64 loads on 32 bit x86.

Fixes "Cannot select" fatal errors when building the audio/jack port
with ALSA support turned on.

This is a direct commit to stable/9 and stable/10, since head already
has the commit as part of an upgrade to llvm/clang 3.4.

Reported by: Radim Kolar <hsn@sendmail.cz> via http://llvm.org/bugs/

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

10 years agoMFC r262663:
hselasky [Sat, 15 Mar 2014 18:19:09 +0000 (18:19 +0000)]
MFC r262663:
- Make pointer easier to control when moving slowly.
- Increase chance of vertical scrolling as vertical scrolling is used more often.

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

10 years agoMFC r261421
jhibbits [Sat, 15 Mar 2014 00:23:35 +0000 (00:23 +0000)]
MFC r261421

Add driver for the ADT7460/ADT7467 fan controller found in later PowerBooks
and iBooks.  Original work by andreast.

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

10 years agoMFC r261422
jhibbits [Fri, 14 Mar 2014 16:42:20 +0000 (16:42 +0000)]
MFC r261422

Make gas accept any PowerPC instruction by default.  This is a local change,
and will not be submitted upstream.

Discussed with:       nwhitehorn,rdivacky

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

10 years agoMFC
hselasky [Fri, 14 Mar 2014 09:42:57 +0000 (09:42 +0000)]
MFC
Sync usb.conf file to head branch.

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

10 years agoMFC r262550, r262551 and r262554:
hselasky [Fri, 14 Mar 2014 09:11:09 +0000 (09:11 +0000)]
MFC r262550, r262551 and r262554:
Add support for kqfilter to USB character devices.

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

10 years agoMFC r262886:
mav [Fri, 14 Mar 2014 07:47:28 +0000 (07:47 +0000)]
MFC r262886:
Fix support for increased logical sector size (4K-native drives).

- Logical sector size is measured in words, not bytes.
- If physical sector is not bigger then logical sector, it does not mean
it should be set equal to 512 bytes, but set to logical sector.

PR: misc/187269
Submitted by: Ravi Pokala <rpokala@panasas.com>

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

10 years agoMFC r262547
jhibbits [Fri, 14 Mar 2014 04:35:18 +0000 (04:35 +0000)]
MFC r262547

Fix callchain capture for hwpmc(4).  While here, some style(9) fixes, too.

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

10 years agoMFC r262530
jhibbits [Fri, 14 Mar 2014 02:37:07 +0000 (02:37 +0000)]
MFC r262530

Add missing file to Makefile

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

10 years agoMFC r262577: MFV r262570:
delphij [Fri, 14 Mar 2014 01:09:42 +0000 (01:09 +0000)]
MFC r262577: MFV r262570:

4626 libzfs memleak in zpool_in_use()

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

10 years agoMFC r262572:
delphij [Fri, 14 Mar 2014 00:57:32 +0000 (00:57 +0000)]
MFC r262572:

Get rid of the 'chan' from softc structure and use the latter
directly as sleep channel.

PR: kern/174684
Submitted by: jmg

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

10 years agoMFC r261342
jhibbits [Fri, 14 Mar 2014 00:12:53 +0000 (00:12 +0000)]
MFC r261342

Add hwpmc(4) support for the PowerPC 970 class processors, direct events.
This also fixes asserts on removal of the module for the mpc74xx.

The PowerPC 970 processors have two different types of events: direct events
and indirect events.  Thus far only direct events are supported.  I included
some documentation in the driver on how indirect events work, but support is
for the future.

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

10 years agoMFC r262540:
eadler [Thu, 13 Mar 2014 04:25:59 +0000 (04:25 +0000)]
MFC r262540:
r262540 | eadler | 2014-02-26 19:52:34 -0500 (Wed, 26 Feb 2014) | 2 lines

I had some unrelated (wrong) changes to makewhatis.  Undo them.

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

10 years agoMFC r262539:
eadler [Thu, 13 Mar 2014 03:42:00 +0000 (03:42 +0000)]
MFC r262539:
linprocfs: add support for /sys/kernel/random/uuid

PR: kern/186187

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

10 years agoMFC r262220:
bdrewery [Thu, 13 Mar 2014 01:12:27 +0000 (01:12 +0000)]
MFC r262220:

  Add missing Save Cursor support for VT520

PR: conf/174937

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

10 years agoMerge r256514:
glebius [Wed, 12 Mar 2014 11:09:17 +0000 (11:09 +0000)]
Merge r256514:
  - While we are spreading the counter(9) across network stack, more userland
  tools would need to know about the counter_u64_t type. Allow to include
  sys/counter.h from userspace.

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

10 years agoBulk sync of pf changes from head, in attempt to fixup broken build I
glebius [Wed, 12 Mar 2014 10:45:58 +0000 (10:45 +0000)]
Bulk sync of pf changes from head, in attempt to fixup broken build I
made in r263029.

Merge r257186,257215,257349,259736,261797.

These changesets split pfvar.h into several smaller headers and make
userland utilities to include only some of them.

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

10 years agoMFC r262732:
hselasky [Wed, 12 Mar 2014 08:32:01 +0000 (08:32 +0000)]
MFC r262732:
Add new quirk.

PR:             usb/187188

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

10 years agoMFC r262795:
hselasky [Wed, 12 Mar 2014 08:25:25 +0000 (08:25 +0000)]
MFC r262795:
- Temporary fix for race in RUN driver which can
cause freed memory to be accessed.
- Properly lock callout_reset()'s.

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

10 years agoMFC r262477:
hselasky [Wed, 12 Mar 2014 08:23:27 +0000 (08:23 +0000)]
MFC r262477:
Updates for WSP driver.

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

10 years agoMFC: r261710
brueffer [Wed, 12 Mar 2014 08:15:15 +0000 (08:15 +0000)]
MFC: r261710

Only count table lookups when we're actually processing packets.

PR: 183462
Submitted by: Sven-Thorsten Dietrich <thebigcorporation at gmail.com>
Reviewed by: bms

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

10 years agoMFC r262789, r262847:
mav [Wed, 12 Mar 2014 07:27:05 +0000 (07:27 +0000)]
MFC r262789, r262847:
Remove custom bus scanner code and fix use of CAM's default scanner.

This fixes kernel panic during boot, caused by incompatibility of recent
CAM locking changes and this bus scanner code.

Submitted by: Microsoft

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

10 years agoMFC r262417, r262439, r262454, r262455 and r262478:
hselasky [Wed, 12 Mar 2014 07:15:41 +0000 (07:15 +0000)]
MFC r262417, r262439, r262454, r262455 and r262478:
- Several updates and improvements to ATP driver.
- Start effort merging WSP and ATP driver.

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

10 years agoMFC of 263041, tzdata2014a:
edwin [Tue, 11 Mar 2014 20:47:01 +0000 (20:47 +0000)]
MFC of 263041, tzdata2014a:

- Fix historical info about asia/Zion, Ukraine
- Fiji starts DST at 02:00 instead of 03:00
- Turkey will move to DST at 31 March this year.

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

10 years agoMerge r261882, r261898, r261937, r262760, r262799:
glebius [Tue, 11 Mar 2014 15:43:06 +0000 (15:43 +0000)]
Merge r261882, r261898, r261937, r262760, r262799:
  Once pf became not covered by a single mutex, many counters in it became
  race prone. Some just gather statistics, but some are later used in
  different calculations.

  A real problem was the race provoked underflow of the states_cur counter
  on a rule. Once it goes below zero, it wraps to UINT32_MAX. Later this
  value is used in pf_state_expires() and any state created by this rule
  is immediately expired.

  Thus, make fields states_cur, states_tot and src_nodes of struct
  pf_rule be counter(9)s.

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

10 years agoMFC 261030:
jhb [Tue, 11 Mar 2014 15:28:41 +0000 (15:28 +0000)]
MFC 261030:
Similar to cap_mkdb(1), add endianness support to services_mkdb(1)
to support cross-builds once this is invoked during releases.

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

10 years agoMerge r261029: remove NULL pointer dereference.
glebius [Tue, 11 Mar 2014 15:20:47 +0000 (15:20 +0000)]
Merge r261029: remove NULL pointer dereference.

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

10 years agoMerge r261028: fix resource leak and simplify code for DIOCCHANGEADDR.
glebius [Tue, 11 Mar 2014 15:19:11 +0000 (15:19 +0000)]
Merge r261028: fix resource leak and simplify code for DIOCCHANGEADDR.

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

10 years agoMerge r261169: Fix compilation with IGB_LEGACY_TX defined.
glebius [Tue, 11 Mar 2014 15:17:04 +0000 (15:17 +0000)]
Merge r261169: Fix compilation with IGB_LEGACY_TX defined.

PR: 185909

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

10 years agoMFC r257847, r260243: Update aacraid to version 3.2.5.
achim [Tue, 11 Mar 2014 14:59:34 +0000 (14:59 +0000)]
MFC r257847, r260243: Update aacraid to version 3.2.5.

Approved by: emaste (co-mentor)

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

10 years agoMFC 261243:
jhb [Tue, 11 Mar 2014 14:33:42 +0000 (14:33 +0000)]
MFC 261243:
Some BIOSes incorrectly use standard memory resource ranges to list
the memory ranges that they decode for downstream devices rather than
creating ResourceProducer range resource entries.  The result is that
we allocate the full range to the PCI root bridge device causing
allocations in child devices to all fail.

As a workaround, ignore any standard memory resources on a PCI root
bridge device.  It is normal for a PCI root bridge to allocate an I/O
resource for the I/O ports used for PCI config access, but I have not
seen any PCI root bridges that legitimately allocate a memory resource.

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

10 years agor262400,r262401,r262418
bapt [Tue, 11 Mar 2014 13:16:03 +0000 (13:16 +0000)]
r262400,r262401,r262418

Sync pkg(7) with head

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

10 years agoMFC: r262398,r262399,r262410,r262975
bapt [Tue, 11 Mar 2014 13:06:09 +0000 (13:06 +0000)]
MFC: r262398,r262399,r262410,r262975

Import libucl into head

UCL is heavily infused by nginx configuration as the example of a convenient
configuration system. However, UCL is fully compatible with JSON format and is
able to parse json files.

UCL is used by pkg(8) for its configuration file as well for the manifest format
in packages, it will be used in base for the pkg boostrap (signature checking
and configuration file parsing.)

libucl has been developped and is maintained by vsevolod@

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

10 years agoMFC r262020:
jhay [Tue, 11 Mar 2014 12:58:45 +0000 (12:58 +0000)]
MFC r262020:

Make it possible to use the env kernel config file option for AVILA
and CAMBRIA boards that does not use loader to load the kernel. This
is basically how it was done for i386. This way tunables can also be
set. For example in config file:

env "/conf/AVILA.env"

And in AVILA.env:

vfs.unmapped_buf_allowed=0

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

10 years agoMFC r262036
jhay [Tue, 11 Mar 2014 12:04:58 +0000 (12:04 +0000)]
MFC r262036

etcupdate should use the src tree from where the release is built, not
the default (/usr/src) tree.

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

10 years agoMFC r262822:
kevlo [Tue, 11 Mar 2014 07:33:33 +0000 (07:33 +0000)]
MFC r262822:

Fix a logic error when enabling MAC.

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

10 years agoMFC r262930
rpaulo [Tue, 11 Mar 2014 05:58:52 +0000 (05:58 +0000)]
MFC r262930
 Call ieee80211_dump_pkt() based on IFF_DUMPPKTS().

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

10 years agoMFC: r262746, r262748, r262750, r262752
jkim [Mon, 10 Mar 2014 20:47:24 +0000 (20:47 +0000)]
MFC: r262746, r262748, r262750, r262752

Move fpusave() wrapper for suspend hander to sys/amd64/amd64/fpu.c.

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

10 years agoMFC r261535:
markj [Mon, 10 Mar 2014 02:31:50 +0000 (02:31 +0000)]
MFC r261535:
Add support for MegaRAID Fury cards. The main change needed to boot from a
9341-4i controller was to ensure that scatter/gather lists are ended with
an end-of-list marker. Both the mrsas and Linux megaraid_sas drivers use
this marker with Invader cards as well, so we do the same thing, though
it is apparently not strictly necessary.

PR: 187312

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

10 years agoMFC r262890:
eadler [Mon, 10 Mar 2014 00:53:37 +0000 (00:53 +0000)]
MFC r262890:
libc man pages: Remove reference to non-existent FreeBSD Security
Architecture

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

10 years agoMFC r262689:
ache [Sun, 9 Mar 2014 23:47:34 +0000 (23:47 +0000)]
MFC r262689:

Add fetch and patch to .PHONY and .NOTMAIN only if PORTNAME is defined.
Unconditional addition cause real fetch(1) and patch(1) programs are
builded every time.

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

10 years agoMFC r262805:
dim [Sun, 9 Mar 2014 21:02:23 +0000 (21:02 +0000)]
MFC r262805:

Pull in r199848 from upstream libc++ trunk:

  Const qualify __mem_fn call operator

  QOI improvement.

  Differential Revision: http://llvm-reviews.chandlerc.com/D2059

This should help with building recent versions of Mesa.  See also:
https://bugs.freedesktop.org/show_bug.cgi?id=75505

Reported by: dumbbell

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

10 years agoSync sh(1) in stable/10 to head.
jmmv [Sun, 9 Mar 2014 17:04:31 +0000 (17:04 +0000)]
Sync sh(1) in stable/10 to head.

This is a MFC of all the commits listed below.

My original goal of this change was to only merge the move of the tests
from tools/regression/bin/ into the new layout (which include tests for
sh(1) and other tools as well).  However, doing so is tricky due to the
ongoing work in sh(1) and, especially, the many changes to its tests
since stable/10 was first branched.

Merging everything is the simplest way to achieve this goal and, as a
bonus point, we get various fixes and miscellaneous improvements into
the branch.

Per jilles' suggestion, I'm avoiding the merge of a couple of changes
(r256850 and r257506) that required depending kernel changes.  I'm also
avoiding very recent changes that have not had a long enough time to be
validated in current.

This is "make tinderbox" clean.

r256735 sh: Remove one syscall when waiting for a foreground job.
r257399 sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&'.
r257504 sh: Reorder union node to reduce its size on 64-bit platforms.
r257920 sh: Add a test case for would-be assignments that are not due to quoting.
r257929 sh: Properly quote alias output from command -v.
r258489 sh: Add tests for the </dev/null implicit in a background command.
r258533 sh: Add more tests for the </dev/null implicit in a background command.
r258535 sh: Make <&0 disable the </dev/null implicit in a background command.
r258776 sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.
r259047 sh: Split set -x output into a separate function.
r259210 Migrate tools/regression/bin/ tests to the new layout.
r259844 sh: Remove an unused variable.
r259846 sh: Initialize OPTIND=1 even if it came from the environment.
r259874 sh: Simplify code related to PPID variable.
r259946 sh: Don't check input for non-whitespace if history is disabled.
r260246 sh(1): Discourage use of -e.
r260506 Run the sh(1) and test(1) tests as unprivileged.
r260586 Mark the bin/pax tests as requiring perl.
r260634 Use TAP_TESTS_PERL to register the legacy_test in bin/pax.
r260635 Replace hand-crafted Kyuafiles with automatic generation.
r260654 sh: Remove SIGWINCH handler and just check for resize before every read.
r261121 sh: Add test for nested alias.
r261125 sh: Solve the alias recursion problem in a less hackish way.
r261141 sh: Do not depend on parse/execute split in new alias test.
r261160 sh: Add tests for alias names after another alias.
r261192 sh: Allow aliases to force alias substitution on the following word.
r262533 sh: Make expari() static.
r262565 sh: Do not corrupt internal representation if LINENO inner expansion fails.
r262697 sh: Simplify expari().

Reviewed by: jilles

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

10 years agoMerge r262690 from head to stable/10:
rwatson [Sun, 9 Mar 2014 13:23:49 +0000 (13:23 +0000)]
Merge r262690 from head to stable/10:

  When querying a process's umask via sysctl in libprocstat(), don't
  print a warning if EPERM is returned as this is an expected failure
  mode rather than error -- similar to current handling of ESRCH.
  This makes the output of 'procstat -as' vastly more palatable.

  Sponsored by: DARPA, AFRL

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

10 years agoMFC r262869:
pfg [Sun, 9 Mar 2014 04:16:00 +0000 (04:16 +0000)]
MFC r262869:

ext2fs: Fix a bug when sorting htree entries.

This a typo introduced when bringing the original code from NetBSD.

Reported by: Mike Ma

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

10 years agoMFC: r262333
brueffer [Sat, 8 Mar 2014 12:24:47 +0000 (12:24 +0000)]
MFC: r262333

Simplify the way the end of a singly linked list is followed (for adding
items), so it is more obvious that we aren't going to indirect through
a NULL pointer.

PR: 144723
Submitted by: Garrett Cooper <yaneurabeya at gmail.com>
Obtained from: NetBSD r1.19

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

10 years agoMFC r262645,r262647:
eadler [Sat, 8 Mar 2014 03:54:49 +0000 (03:54 +0000)]
MFC r262645,r262647:
ssh-copy-id: avoid sending private keys; add -v option

To help avoid confusion: when attempting to send a key file check to see if a
file of the same name exists with a '.pub' suffix and send that instead.  This
mimics the behavior of other ssh-copy-id scripts.

Add -v passthrough.

ssh-copy-id: add restorecon call

In certain situations when creating an authorized_key file on a Linux machine
restorecon(1) may need to be called.  Therefore, attempt to run it if it exists.

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

10 years agoMFC r261859: fts: Fix double-free with conflicting concurrent modifications.
jilles [Fri, 7 Mar 2014 16:43:08 +0000 (16:43 +0000)]
MFC r261859: fts: Fix double-free with conflicting concurrent modifications.

If rare conditions such as concurrent conflicting manipulation of the
filesystem occur, fts_read() frees the current FTSENT without adjusting
the pointers in the FTS accordingly. A later fts_close() then frees the
same FTSENT again.

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

10 years agoBump __FreeBSD_version for the MFC of vt(4).
jhb [Fri, 7 Mar 2014 14:44:13 +0000 (14:44 +0000)]
Bump __FreeBSD_version for the MFC of vt(4).

Submitted by: Koop Mast

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

10 years agoMFC: r262603
brueffer [Fri, 7 Mar 2014 12:20:01 +0000 (12:20 +0000)]
MFC: r262603

mdoc cleanup.

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

10 years agoMFC r262133
asomers [Thu, 6 Mar 2014 21:47:22 +0000 (21:47 +0000)]
MFC r262133

test_eagain_*_* should've been using nonblocking sockets instead of blocking
sockets.  The error was not exposed as long as the kernel suffered from PR
kern/185812.  Now corrected, these tests pass on DragonFlyBSD 3.6.0.

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

10 years agoMFC 259016,259019,259049,259071,259102,259110,259129,259130,259178,259179,
jhb [Thu, 6 Mar 2014 18:30:56 +0000 (18:30 +0000)]
MFC 259016,259019,259049,259071,259102,259110,259129,259130,259178,259179,
259203,259221,259261,259532,259615,259650,259651,259667,259680,259727,
259761,259772,259776,259777,259830,259882,259915,260160,260449,260450,
260688,260888,260953,261269,261547,261551,261552,261553,261585:
Merge the vt(4) driver (newcons) to stable/10.

Approved by: ray

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

10 years agoImport atf-0.20.
jmmv [Thu, 6 Mar 2014 14:11:44 +0000 (14:11 +0000)]
Import atf-0.20.

This is a MFC of r261897 and r262000 and should allow all of the atf
tests to pass.

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

10 years agoInstall a symlink from /usr/tests/local to /usr/local/tests.
jmmv [Thu, 6 Mar 2014 13:38:23 +0000 (13:38 +0000)]
Install a symlink from /usr/tests/local to /usr/local/tests.

This is a MFC of r261959 and r261978.

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

10 years agoMFC r262575:
mav [Thu, 6 Mar 2014 13:37:34 +0000 (13:37 +0000)]
MFC r262575:
Restore SIM freeze/release match, broken at r253549.

This fixes problem with SIM left in frozen state after reinit, for example,
after firmware update.

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

10 years agoMFC a couple of improvements to the test suite mk files.
jmmv [Thu, 6 Mar 2014 13:30:36 +0000 (13:30 +0000)]
MFC a couple of improvements to the test suite mk files.

- r260632 Support defining test program metadata from the Makefiles.
- r260633 Support perl-based TAP-compliant test programs.

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

10 years agoMFC r262553:
mav [Thu, 6 Mar 2014 13:24:51 +0000 (13:24 +0000)]
MFC r262553:
Pass proper pointer to bus_dmamem_free() in mps_iocfacts_free().

Passing there pointer into the middle of allocated area caused kernel
panic during reinit, for example, after firmware upgrade.

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

10 years agoMFC various fixes for the ATF tests.
jmmv [Thu, 6 Mar 2014 13:20:38 +0000 (13:20 +0000)]
MFC various fixes for the ATF tests.

- r260505 Allow tests to provide a Kyuafile when they relied on auto-generation.
- r260525 Respect the original layout of the atf-{c,c++} tests.
- r260526 Fix path to the process_helpers for the libatf-c++ tests.
- r260576 Generate and install pkg-config files for atf.
- r260577 Add atf pkg-config files from the vendor branch.
- r260584 Prevent misc_helpers from running as a test.

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

10 years agoMFC: r262571
brueffer [Thu, 6 Mar 2014 13:15:53 +0000 (13:15 +0000)]
MFC: r262571

Add missing includes and remove two unused ones.

Reviewed by: loos

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

10 years agoMFC r261748:
trasz [Thu, 6 Mar 2014 11:15:54 +0000 (11:15 +0000)]
MFC r261748:

So, it turns out SIGCHLD is discarded by default, so we have to set up
a dummy handler to make it interrupt an ioctl(2) or select(2).

This makes those short-lived iscsid(8) zombies disappear.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r261747:
trasz [Thu, 6 Mar 2014 11:14:36 +0000 (11:14 +0000)]
MFC r261747:

Empty data segment during Login Phase is rather unlikely, but it's not
a protocol error.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r261715:
trasz [Thu, 6 Mar 2014 11:13:26 +0000 (11:13 +0000)]
MFC r261715:

The log_whatever() routines don't accept NULL for format strings,
so mark them as __printflike instead of __printf0like.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r262525:
trasz [Thu, 6 Mar 2014 11:10:57 +0000 (11:10 +0000)]
MFC r262525:

There is no need to prevent iscsictl from adding iSER session when there
is no iSER support in ctld and/or kernel; should the user make that mistake,
the output from "iscsictl -L" is enough to determine what the problem is.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r262247:
trasz [Thu, 6 Mar 2014 11:09:46 +0000 (11:09 +0000)]
MFC r262247:

Make it clear that there are two ways to add a session using iscsictl(8),
and some options require configuration file.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r261714:
trasz [Thu, 6 Mar 2014 11:07:51 +0000 (11:07 +0000)]
MFC r261714:

Make iscsictl(8) properly handle (optional) semicolons in iscsi.conf,
instead of ignoring them and echoing them to stdout.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r261713:
trasz [Thu, 6 Mar 2014 11:05:35 +0000 (11:05 +0000)]
MFC r261713:

Simplify.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r261712:
trasz [Thu, 6 Mar 2014 11:03:34 +0000 (11:03 +0000)]
MFC r261712:

Remove unused variable.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r261711:
trasz [Thu, 6 Mar 2014 11:02:32 +0000 (11:02 +0000)]
MFC r261711:

Yacc cleanup; no functional changes.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r261832-261834:
zeising [Thu, 6 Mar 2014 10:26:25 +0000 (10:26 +0000)]
MFC r261832-261834:

r261832:
    Add cross references between rc.conf(5) and jail.conf(5).

r261833:
    Add commas (,) to the list in the SEE ALSO section, to match most
    other manuals.

r261834:
    Bump .Dd forgotten in r261832.

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

10 years agoMFC r261283:
dim [Wed, 5 Mar 2014 19:30:36 +0000 (19:30 +0000)]
MFC r261283:

Import libc++ 3.4 release.  This contains a lot of bugfixes, and some
preliminary support for C++1y.

MFC r261604:

HEAD is not buildable for the past day.  Commit a 'quick fix' in order to permit
buildworld to complete.

Reviewed by: theraven

MFC r261608:

Apply a cleaner solution for the sign warnings that can occur when
compiling libc++'s <locale> header with -Wsystem-headers on.

This has also been submitted upstream.

Reported by: asomers

MFC r261801:

An ABI incompatibility crept into the libc++ 3.4 import in r261283.  It
was caused by upstream libc++ commit r194536, which aimed to make the
headers more standards-compliant, by making std::pair's copy constructor
trivial.  Unfortunately, this could cause certain C++ applications using
shared libraries built against the previous version of libc++ to crash.

Fix the ABI incompatibility by making std::pair's copy constructor
non-trivial again.

Please note: Any C++ applications or shared libraries built with libc++
between r261283 and this revision should be recompiled.

Reported by: stefanf

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

10 years agoMFC r262513:
gjb [Wed, 5 Mar 2014 17:23:29 +0000 (17:23 +0000)]
MFC r262513:
 Update release/release.conf.sample to reflect changes in r262509.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC: r262494
brueffer [Wed, 5 Mar 2014 13:25:01 +0000 (13:25 +0000)]
MFC: r262494

Rough cleanup (new sentence -> new line, grammar, spelling, mdoc).
This could use more work.

PR: 187035 (in part)
Submitted by: Bjorn Heidotting

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

10 years agoMFC r262678;
pfg [Wed, 5 Mar 2014 04:23:19 +0000 (04:23 +0000)]
MFC r262678;
ufs: small formatting fixes.

Cleanup some extra space.
Use of tabs vs. spaces.
No functional change.

Reviewed by: mckusick

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

10 years agoMerge r262770 from head: pacify gcc.
glebius [Wed, 5 Mar 2014 03:16:23 +0000 (03:16 +0000)]
Merge r262770 from head: pacify gcc.

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

10 years agoMFC r262499, r262505, r262507, r262509:
gjb [Wed, 5 Mar 2014 00:45:28 +0000 (00:45 +0000)]
MFC r262499, r262505, r262507, r262509:

r262499:
  release.sh:
  - Add a VCSCMD variable that defaults to 'svn checkout',
    and update places 'svn co' is used directly.
  - After sourcing a configuration file, prefix SRCBRANCH,
    PORTBRANCH, and DOCBRANCH with the SVNROOT.
  - Properly capitalize 'FreeBSD.org' in the default SVNROOT.
  - Update Copyright.

  release.conf.sample:
  - Add an example to use git instead of svn, by nullifying
    SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH
    to the URL fo a git repository.

  release.7:
  - Document VCSCMD.

r262505:
  In release/Makefile, remove exclusion of CVS directories in the
  src/ and ports/ distributions.

  While I am thinking about it, exclude .git directories for src/
  and ports/, as somewhat of a followup to r262499.

r262507:
  Chase r262505, and remove CVS exclusion from picobsd builds.

r262509:
  Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an
  unnecessary expr(1) call.

Sponsored by: The FreeBSD Foundation

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

10 years agoDisable amd64 TLB Context ID (pcid) by default for now
emaste [Tue, 4 Mar 2014 21:51:09 +0000 (21:51 +0000)]
Disable amd64 TLB Context ID (pcid) by default for now

There are a number of reports of userspace application crashes that
are "solved" by setting vm.pmap.pcid_enabled=0, including Java and the
x11/mate-terminal port (PR ports/184362).

For now apply a band-aid of disabling pcid by default in stable/10.

Sponsored by: The FreeBSD Foundation

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