]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
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

9 years agoUpdate stable/9 to -BETA3 as part of the 9.3-RELEASE cycle.
gjb [Fri, 13 Jun 2014 00:07:32 +0000 (00:07 +0000)]
Update stable/9 to -BETA3 as part of the 9.3-RELEASE cycle.

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

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

9 years agodrm/radeon: Add 32bit ioctls support
dumbbell [Thu, 12 Jun 2014 22:42:31 +0000 (22:42 +0000)]
drm/radeon: Add 32bit ioctls support

This allows to run 32bit applications on a 64bit host. This was tested
successfully with Wine (emulators/i386-wine-devel) and StarCraft II.

Before this change, running a 32bit OpenGL application would trigger a
kernel panic.

This is an MFC of r265262.

Submitted by: Jan Kokemüller <jan.kokemueller@gmail.com>
Approved by: re (gjb)

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

9 years agoFix a type on note for r267411, pmcstat(8)
gjb [Thu, 12 Jun 2014 17:22:04 +0000 (17:22 +0000)]
Fix a type on note for r267411, pmcstat(8)

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

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

9 years agoMFC r267326, r267327:
gjb [Thu, 12 Jun 2014 17:16:29 +0000 (17:16 +0000)]
MFC r267326, r267327:

r267326:
  Add empty pkg-stage file to CLEANFILES if WITH_DVD=1.

r267327:
  Fix indentation level.

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

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

9 years agoMFC r266403: Update the date on the manual page.
emaste [Thu, 12 Jun 2014 17:12:58 +0000 (17:12 +0000)]
MFC r266403: Update the date on the manual page.

Approved by: re

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

9 years agoMFC r266208: Speed up pmcstat by improving string hash
emaste [Thu, 12 Jun 2014 17:08:04 +0000 (17:08 +0000)]
MFC r266208: Speed up pmcstat by improving string hash

  In one case generating callgraph output from a 24MB system-wide sampling
  data file took 17.4 seconds on average.  Profiling showed pmcstat
  spending a lot of time in strcmp, due to hash collisions.

  Replacing the XOR-only hash with FNV-1a reduces the run time for my
  test by 40%.

Approved by: re

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

9 years agoDocument r267411, pmcstat(8) '-l' flag.
gjb [Thu, 12 Jun 2014 16:52:36 +0000 (16:52 +0000)]
Document r267411, pmcstat(8) '-l' flag.

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

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

9 years agoMFC r266209 by gnn:
emaste [Thu, 12 Jun 2014 16:45:35 +0000 (16:45 +0000)]
MFC r266209 by gnn:

  Add a command line argument (-l) to end event collection after some
  number of seconds. The number of seconds may be a fraction.

Relnotes: yes
Approved by: re

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

9 years agoMFC r267109, r267179: Update vt(4) "Terminus BSD Console" font
emaste [Thu, 12 Jun 2014 16:33:06 +0000 (16:33 +0000)]
MFC r267109, r267179: Update vt(4) "Terminus BSD Console" font

  "Terminus BSD Console" is a derivative of Terminus that is provided
  by Mr. Dimitar Zhekov under the 2-clause BSD license for use by the
  FreeBSD vt(4) console.

  Clarify statement on font origin

Approved by: re

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

9 years agoDocument r267379, arc4random(3) merge.
gjb [Thu, 12 Jun 2014 16:26:26 +0000 (16:26 +0000)]
Document r267379, arc4random(3) merge.

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

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

9 years agoMFC r266903:
emaste [Thu, 12 Jun 2014 16:17:01 +0000 (16:17 +0000)]
MFC r266903:

  Update default callchain depth to 16 to match kernel

Approved by: re

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

9 years agoMFC r266166 by gnn:
emaste [Thu, 12 Jun 2014 16:16:11 +0000 (16:16 +0000)]
MFC r266166 by gnn:

  Extend the size of the function or symbol that can be annotated.

Approved by: re

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

9 years agoMFC r267090:
wblock [Thu, 12 Jun 2014 16:00:38 +0000 (16:00 +0000)]
MFC r267090:

Correct the document date for last change.

Approved by: re (gjb)

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

9 years agoMFC r266171, r266174 by gnn:
emaste [Thu, 12 Jun 2014 15:59:36 +0000 (15:59 +0000)]
MFC r266171, r266174 by gnn:

  Update the amount of data we can collect for hwpmc(4) by default
  to work with modern processors and available memory.

  Upgrade the default callchain depth

Approved by: re

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

9 years agoCumulative update to arc4random(3).
delphij [Thu, 12 Jun 2014 00:15:07 +0000 (00:15 +0000)]
Cumulative update to arc4random(3).

MFC r227519, r227520, r238118, r241046:

r227519 (das)

Sync the style, comments, and variable names of arc4random.c with
OpenBSD's version (r1.22).  No functional changes, as verified with
md5.

r227520 (das)

Further reduce diffs with OpenBSD's arc4random.  The main functional
change here is to ensure that when a process forks after arc4random
is seeded, the parent and child don't observe the same random sequence.
OpenBSD's fix introduces some additional overhead in the form of a
getpid() call.

The only significant remaining difference between our arc4random and
OpenBSD's is in how we seed the generator in arc4_stir().

r238118 (pjd):

Prefer sysctl to open/read/close for obtaining random data.

This method is more sandbox-friendly and also should be faster as only
one syscall is needed instead of three.
In case of an error fall back to the old method.

r241046 (jilles)

libc: Use O_CLOEXEC for various internal file descriptors.

Approved by: re (gjb)

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

9 years agoMFC r267240:
hselasky [Wed, 11 Jun 2014 06:45:52 +0000 (06:45 +0000)]
MFC r267240:
Resolve a deadlock setting the USB configuration index from userspace
on USB HUBs by moving the code into the USB explore threads. The
deadlock happens because child devices of the USB HUB don't have the
expected reference count when called from outside the explore
thread. Only the HUB device itself, which the IOCTL interface locks,
gets the correct reference count.

Approved by: re, marius @

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

9 years agoMFC: r266820 (partial)
marius [Tue, 10 Jun 2014 09:36:10 +0000 (09:36 +0000)]
MFC: r266820 (partial)

- Shrink the list of excluded modules to what actually still doesn't build
  as of r267058.
- Some style cleanups.

Approved by: re (glebius)

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

9 years agoMFC: r266821 (partial)
marius [Tue, 10 Jun 2014 09:33:58 +0000 (09:33 +0000)]
MFC: r266821 (partial)

- Actually, modules are built correctly when compiled along the kernel as
  they then pick up an opt_global.h from KERNBUILDDIR having PAE defined.
  Thus, build all modules by default except those which still really are
  defective as of r267058.
- Minor style cleanup.

Approved by: re (glebius)

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

9 years agoMFC r266416:
bjk [Tue, 10 Jun 2014 04:28:57 +0000 (04:28 +0000)]
MFC r266416:
    ------------------------------------------------------------------------
    r266416 | bjk | 2014-05-18 17:05:54 -0400 (Sun, 18 May 2014) | 14 lines

    Document some user-settable make variables in ports.7

    This is not a comprehensive list, as the variables themselves are spread
    out over multiple files, but it is a start.

    Add a section to make.conf noting that variables may be set there that
    affect ports builds, but refer to ports.7 and elsewhere for the actual
    listing; any listing in make.conf.5 would likely become out of date
    fairly quickly.

    PR:             docs/189199
    Reviewed by:    bdrewery (previous version)
    Approved by:    hrs (mentor)

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

PR: 189199
Approved by: re (gjb), hrs (mentor)

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

9 years agoDocument r267285, OpenSSL update to 0.9.8za.
gjb [Mon, 9 Jun 2014 20:56:30 +0000 (20:56 +0000)]
Document r267285, OpenSSL update to 0.9.8za.

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

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

9 years agoFix copy/paste mistake in openssl SA entry.
gjb [Mon, 9 Jun 2014 20:42:52 +0000 (20:42 +0000)]
Fix copy/paste mistake in openssl SA entry.

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

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

9 years agoCorrect OpenSSL 0.9.8za release date.
jkim [Mon, 9 Jun 2014 17:22:49 +0000 (17:22 +0000)]
Correct OpenSSL 0.9.8za release date.

Approved by: re (delphij)

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

9 years agoMerge OpenSSL 0.9.8za.
jkim [Mon, 9 Jun 2014 16:30:56 +0000 (16:30 +0000)]
Merge OpenSSL 0.9.8za.

Approved by: re (kib), so (delphij)

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

9 years agoMFC r267078, r267079:
emaste [Mon, 9 Jun 2014 13:53:37 +0000 (13:53 +0000)]
MFC r267078, r267079:

  Update vt(4) console font author's email address
  Remove extra copy of old email address.

Approved by: re

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

9 years agoMFC: r267191
rmacklem [Mon, 9 Jun 2014 13:52:10 +0000 (13:52 +0000)]
MFC: r267191
The new NFS server would not allow a hard link to be
created to a symlink. This restriction (which was
inherited from OpenBSD) is not required by the NFS RFCs.
Since this is allowed by the old NFS server, it is a
POLA violation to not allow it. This patch modifies the
new NFS server to allow this.

Reported by: jhb
Reviewed by: jhb
Approved by: re (kib)

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

9 years agoMFC: r267184
brueffer [Mon, 9 Jun 2014 07:00:27 +0000 (07:00 +0000)]
MFC: r267184

Add vte(4) to the hardware notes.

Approved by: re (kib)

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

9 years agoDocument r267243, ttys 'onifconsole'
gjb [Mon, 9 Jun 2014 02:33:39 +0000 (02:33 +0000)]
Document r267243, ttys 'onifconsole'

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

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

9 years agoMFC r267160:
gjb [Mon, 9 Jun 2014 02:26:41 +0000 (02:26 +0000)]
MFC r267160:
  Dereference portaudit(1), as it is now deprecated and its
  functionality exists in pkg-audit(8).

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

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

9 years agoMFC r267082:
np [Mon, 9 Jun 2014 01:39:47 +0000 (01:39 +0000)]
MFC r267082:

cxgbe(4):  Properly account for the freelist buffers used when returning
early from service_iq due to a budget restriction.  This fixes a potential
rx hang when using INTx.

Approved by: re@ (gjb)

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

9 years agoMFC r260913,266895:
nwhitehorn [Sun, 8 Jun 2014 21:21:54 +0000 (21:21 +0000)]
MFC r260913,266895:
Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the
device is an active kernel console and "off" otherwise. This is designed to
allow serial-booting x86 systems to provide a login prompt on the serial line
by default without providing one on all systems by default. Set this flag
on x86 systems for ttyu0.

Comments and suggestions by: grehan, dteske, jilles
Approved by: re (gjb)
Relnotes: yes

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

9 years agoMFC: r266931
brueffer [Sun, 8 Jun 2014 06:35:08 +0000 (06:35 +0000)]
MFC: r266931

Grammar cleanup; sort SEE ALSO.

Approved by: re (gjb)

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

9 years agoMFC r267067:
kib [Sat, 7 Jun 2014 03:39:12 +0000 (03:39 +0000)]
MFC r267067:
Cross-reference jot(1) and seq(1).

MFC r267098 (by pluknet):
mdoc: drop the trailing dot from the xref list.

Approved by: re (gjb)

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

9 years agoMFC r247791 (eadler):
gjb [Fri, 6 Jun 2014 12:52:44 +0000 (12:52 +0000)]
MFC r247791 (eadler):
  Modernize portions of the ports(7) manual page to
  reflect pkg(8).

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

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

9 years agoMFC r266880:
ae [Fri, 6 Jun 2014 12:45:11 +0000 (12:45 +0000)]
MFC r266880:
  Use g_conf_printf_escaped() to escape symbols, which can break
  an XML tree.

Approved by: re (gjb)

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

9 years agoUpdate stable/9 to -BETA2 as part of the 9.3-RELEASE cycle.
gjb [Fri, 6 Jun 2014 00:20:54 +0000 (00:20 +0000)]
Update stable/9 to -BETA2 as part of the 9.3-RELEASE cycle.

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

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

9 years agoMFC r266915: MFV 266913+266914:
delphij [Fri, 6 Jun 2014 00:15:54 +0000 (00:15 +0000)]
MFC r266915: MFV 266913+266914:

3897 zfs filesystem and snapshot limits (fix leak)
4901 zfs filesystem/snapshot limit leaks

Approved by: re (gjb)

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

9 years agoDocument the following security advisories:
gjb [Fri, 6 Jun 2014 00:12:21 +0000 (00:12 +0000)]
Document the following security advisories:
 - FreeBSD-SA-14:08.tcp
 - FreeBSD-SA-14:11.sendmail
 - FreeBSD-SA-14:12.ktrace
 - FreeBSD-SA-14:13.pam
 - FreeBSD-SA-14:14.openssl

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

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

9 years agoDocument r267114, newsyslog.conf(5) includes in conf.d.
gjb [Thu, 5 Jun 2014 23:58:31 +0000 (23:58 +0000)]
Document r267114, newsyslog.conf(5) includes in conf.d.

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

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

9 years agoMFH r266813: Don't break the legacy applications which set
ume [Thu, 5 Jun 2014 15:39:57 +0000 (15:39 +0000)]
MFH r266813: Don't break the legacy applications which set
just 2 bytes to salt.

Approved by: re (gjb)

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

9 years agoMFC r266463:
bdrewery [Thu, 5 Jun 2014 15:33:09 +0000 (15:33 +0000)]
MFC r266463:

  - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by
    default for newsyslog(8).

Relnotes: yes
Approved by: re (gjb)

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

9 years agoMFC r240938, r240942: Avoid INVARIANTS panic destroying an in-use tap(4)
emaste [Thu, 5 Jun 2014 15:18:49 +0000 (15:18 +0000)]
MFC r240938, r240942: Avoid INVARIANTS panic destroying an in-use tap(4)

  The requirement (implied by the KASSERT in tap_destroy) that the tap is
  closed isn't valid; destroy_dev will block in devdrn while other threads
  are in d_* functions.

  Note: if_tun had the same issue, addressed in SVN revisions r186391,
  r186483 and r186497.  The use of the condvar there appears to be
  redundant with the functionality provided by destroy_dev.

PR: 172075
Approved by: re

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

9 years agoFix OpenSSL multiple vulnerabilities.
delphij [Thu, 5 Jun 2014 12:53:06 +0000 (12:53 +0000)]
Fix OpenSSL multiple vulnerabilities.

Security: CVE-2014-0195, CVE-2014-0221, CVE-2014-0224,
CVE-2014-3470
Security: SA-14:14.openssl
Approved by: re (jpaetzel)

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

9 years agoMFC: r255781
marius [Thu, 5 Jun 2014 12:27:14 +0000 (12:27 +0000)]
MFC: r255781

Fix compilation of the i386 PAE kernel config. For stable/9, this also
fixes the compilation of xenhvm.ko in the latter case.

Approved by: re (delphij)

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

9 years agoMFC r266538:
mav [Thu, 5 Jun 2014 05:58:54 +0000 (05:58 +0000)]
MFC r266538:
Make ng_mppc to not disable the node in case of multiple packet loss.
Quite often it can be just packet reorder, and killing link in such case
is inconvenient.  Add few sysctl's to control that behavior.

PR: kern/182212
Submitted by: Eugene Grosbein <egrosbein@rdtc.ru>
Approved by: re (glebius)

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

9 years agoMFC r266828:
wblock [Thu, 5 Jun 2014 01:52:20 +0000 (01:52 +0000)]
MFC r266828:

Correct the description of characters allowed.  Based on pw_checkname in
usr.sbin/pw/pw_user.c.  Modified version of patch submitted by
venture37.

Approved by: re (gjb)

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