]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
10 years agoMFC 257006
asomers [Fri, 15 Nov 2013 20:23:52 +0000 (20:23 +0000)]
MFC 257006

sbin/geom/class/part/geom_part.c
        Always validate the return of find_geomcfg().  It could be NULL, for
        example when the geom is withering.

Approved by: ken(mentor)
Sponsored by: Spectra Logic Corporation

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

10 years agoMFC 256274:
jhb [Fri, 15 Nov 2013 19:58:26 +0000 (19:58 +0000)]
MFC 256274:
Ignore attempts to set the nmbcluster sysctls to their current value
rather than failing with an error.

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

10 years agoMFC 256293:
jhb [Fri, 15 Nov 2013 15:08:53 +0000 (15:08 +0000)]
MFC 256293:
Sanitize the %eflags returned by BIOS routines.  Some BIOS routines enter
protected mode and may leave protected-mode-specific flags like PSL_NT set
when they return to real mode.  This can cause a fault when BTX re-enters
protected mode after the BIOS mode returns.

PR: amd64/182740

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

10 years agoMFC r257856:
kib [Fri, 15 Nov 2013 07:26:50 +0000 (07:26 +0000)]
MFC r257856:
Add bits for the AMD features from CPUID function 0x80000001 ECX,
described in the rev. 3.0 of the Kabini BKDG, document 48751.pdf.

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

10 years agoMFC r257858:
kib [Fri, 15 Nov 2013 07:14:01 +0000 (07:14 +0000)]
MFC r257858:
Fix signal delivery for the iBCS2 binaries.

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

10 years agoMFC 255498:
jhb [Thu, 14 Nov 2013 21:31:58 +0000 (21:31 +0000)]
MFC 255498:
- Document the UQUAD sysctl variants.
- Clarify that exactly one of the "access" flags is required and
  list the optional flags in a separate list.  Prefer bundling
  CTLFLAG_TUN into the access flag by not documenting it as an
  optional flag to set.

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

10 years agoMFC 255497:
jhb [Thu, 14 Nov 2013 21:27:13 +0000 (21:27 +0000)]
MFC 255497:
Fix an off-by-one error when populating mincore(2) entries for
skipped entries.  lastvecindex references the last valid byte,
so the new bytes should come after it.

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

10 years agoRegen.
jhb [Wed, 13 Nov 2013 22:32:35 +0000 (22:32 +0000)]
Regen.

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

10 years agoMFC 255490,255491:
jhb [Wed, 13 Nov 2013 22:31:56 +0000 (22:31 +0000)]
MFC 255490,255491:
Fix the type of the idtype argument to wait6() in syscalls.master.

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

10 years agoMFC 255248:
jhb [Wed, 13 Nov 2013 18:33:14 +0000 (18:33 +0000)]
MFC 255248:
Use an unsigned long when indexing into mfchashtbl[] and mf6ctable[].  This
matches the types used when computing hash indices and the type of the
maximum size of mfchashtbl[].

PR: kern/181821

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

10 years agoMFC 254699,255030:
jhb [Wed, 13 Nov 2013 17:08:37 +0000 (17:08 +0000)]
MFC 254699,255030:
Use tvtohz() to convert a socket buffer timeout to a tick value rather
than using a home-rolled version.  The home-rolled version could result
in shorter-than-requested sleeps.

PR: kern/181416

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

10 years agoMFC 254576: Stop an ipoib interface before detaching it.
jhb [Tue, 12 Nov 2013 21:33:01 +0000 (21:33 +0000)]
MFC 254576: Stop an ipoib interface before detaching it.

PR: kern/181225

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

10 years agoMFC r253917:
dim [Tue, 12 Nov 2013 18:43:35 +0000 (18:43 +0000)]
MFC r253917:

After r253839, which modifies ld's behaviour to not automatically pull
in needed libraries, change libc++.so into a linker script, so it can
automatically pull in libcxxrt.so.

[Note to stable/9 users: the above statement about ld's behaviour is not
(yet) applicable to the version of ld in 9.x, but this change will help
when building C++ programs with libc++, in combination with the ports
version of ld.]

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

10 years agoMFC r257859:
dim [Mon, 11 Nov 2013 20:51:01 +0000 (20:51 +0000)]
MFC r257859:

Fix typo in include guard, found by clang 3.4.

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

10 years agoMFC r257084:
ae [Mon, 11 Nov 2013 10:43:55 +0000 (10:43 +0000)]
MFC r257084:
  Initialize inc_fibnum for properly handling ICMP6_PACKET_TOO_BIG
  errors in multifib environment.

  PR: 183265

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

10 years agoMFC r256689:
ae [Mon, 11 Nov 2013 10:09:52 +0000 (10:09 +0000)]
MFC r256689:
  Use the same actor key for media types of the same speed.

  PR: 176097

MFC r256832:
  Add a note that lacp_compose_key() should be updated, when new media
  types will be added.

  Submitted by: melifaro

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

10 years agoMFC r256430:
gjb [Fri, 8 Nov 2013 03:02:42 +0000 (03:02 +0000)]
MFC r256430:
  Reduce disc1.iso image size by installing the userland with
  the WITHOUT_PROFILE=1 option set, trimming 56MB from the image.

Sponsored by:  The FreeBSD Foundation

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

10 years agoMFC r257641:
gjb [Fri, 8 Nov 2013 03:00:40 +0000 (03:00 +0000)]
MFC r257641:
 When building the textproc/docproj port, the ports-mgmt/pkg port
 needs /var/run/ld-elf*.so.hints, which is not automatically created.

 Fix reldoc build by running the ldconfig(8) startup script in the
 chroot directory before starting the port build phase.

Sponsored by: The FreeBSD Foundation

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

10 years agoRegenerate MINIMALDOCPORTS after the doc/ toolchain update to
gjb [Fri, 8 Nov 2013 02:46:46 +0000 (02:46 +0000)]
Regenerate MINIMALDOCPORTS after the doc/ toolchain update to
docbook 5.0.

This is a direct commit to stable/9, as this file does not exist
in higher branches.

(Although, I do not think that this variable is actually used
now, since we check out the full doc/ tree from svn.)

Sponsored by:  The FreeBSD Foundation

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

10 years agoRemove evaluation of OSVERSION < 500000.
gjb [Fri, 8 Nov 2013 02:31:37 +0000 (02:31 +0000)]
Remove evaluation of OSVERSION < 500000.
I hope to never have to build a release from a stable/5 machine.

While here, remove hard-coded lang/perl5.10, which is better
evaluated during compile-time (especially since lang/perl5.10 does
not exist in the ports/ tree).

This is a direct commit to stable/9, as this file does not exist in
higher branches.

Sponsored by: The FreeBSD Foundation

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

10 years agoFix comment.
gjb [Fri, 8 Nov 2013 02:27:10 +0000 (02:27 +0000)]
Fix comment.

Sponsored by: The FreeBSD Foundation

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

10 years agoUpdate comments in release/Makefile.inc.docports to reflect the
gjb [Fri, 8 Nov 2013 02:24:54 +0000 (02:24 +0000)]
Update comments in release/Makefile.inc.docports to reflect the
cvs->svn conversion over a year ago.

This is a direct commit to stable/9, as this file does not exist
in higher branches.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r257658:
dim [Thu, 7 Nov 2013 20:54:52 +0000 (20:54 +0000)]
MFC r257658:

For C++ programs, don't emit any explicit dependency to libstdc++.a or
libc++.a during the early build stages (bootstrap-tools, build-tools,
cross-tools), since it is not possible to know in advance which C++
library is available on the host system.

Instead, just use the bootstrap compiler's built-in default.  This
should eventually make it possible to build stable/9 on head, or on
stable/10, which ship without libstdc++ by default.

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

10 years agoMFH r257801:
gabor [Thu, 7 Nov 2013 19:51:19 +0000 (19:51 +0000)]
MFH r257801:
  - Update release noted to DocBook 5.0 so that they work with the new tree

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

10 years agoMerge from head: sync the netmap code with the one in HEAD
luigi [Wed, 6 Nov 2013 22:36:36 +0000 (22:36 +0000)]
Merge from head: sync the netmap code with the one in HEAD

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

10 years agoMerge from head (better handling of non-clang building of picobsd)
luigi [Wed, 6 Nov 2013 22:35:23 +0000 (22:35 +0000)]
Merge from head (better handling of non-clang building of picobsd)

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

10 years agoMFC 254287: Some small cleanups to the fixes in r180340:
jhb [Wed, 6 Nov 2013 20:58:04 +0000 (20:58 +0000)]
MFC 254287: Some small cleanups to the fixes in r180340:
- Set NOTE_TRACKERR before running filt_proc().  If the knote did not
  have NOTE_FORK set in fflags when registered, then the TRACKERR event
  could miss being posted.
- Don't pass the pid in to filt_proc() for NOTE_FORK events.  The special
  handling for pids is done knote_fork() directly and no longer in
  filt_proc().

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

10 years agoMerge r227738, r228574:
glebius [Wed, 6 Nov 2013 19:47:23 +0000 (19:47 +0000)]
Merge r227738, r228574:
  Fill in sin_family in ioctl() arguments.

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

10 years agoMFC 254072:
jhb [Wed, 6 Nov 2013 19:33:25 +0000 (19:33 +0000)]
MFC 254072:
Don't emit a spurious EVFILT_PROC event with no fflags set on process exit
if NOTE_EXIT is not being monitored.  The rationale is that a listener
should only get an event for exit() if they registered interest via
NOTE_EXIT.  This matches the behavior on OS X.
- Don't save the exit status on process exit unless NOTE_EXIT is being
  monitored.
- Add an internal EV_DROP flag that requests kqueue_scan() to free the
  knote without signalling it to userland and use this when a process
  exits but the fflags in the knote is zero.

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

10 years agoMFC r256169 (by jimharris):
pluknet [Tue, 5 Nov 2013 22:33:45 +0000 (22:33 +0000)]
MFC r256169 (by jimharris):
Fix the LINT build.

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

10 years agoMFC r257539:
delphij [Tue, 5 Nov 2013 20:00:17 +0000 (20:00 +0000)]
MFC r257539:

When zero'ing out a buffer, make sure we are using right size.

Without this change, in the worst but unlikely case scenario, certain
administrative operations, including change of configuration, set or
delete key from a GEOM ELI provider, may leave potentially sensitive
information in buffer allocated from kernel memory.

We believe that it is not possible to actively exploit these issues, nor
does it impact the security of normal usage of GEOM ELI providers when
these operations are not performed after system boot.

Security: possible sensitive information disclosure
Submitted by: Clement Lecigne <clecigne google com>

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

10 years agoMFC 253656: Enhance the description of NOTE_TRACK:
jhb [Tue, 5 Nov 2013 19:54:13 +0000 (19:54 +0000)]
MFC 253656: Enhance the description of NOTE_TRACK:
- NOTE_TRACK has never triggered a NOTE_TRACK event from the parent pid.
  If NOTE_FORK is set, the listener will get a NOTE_FORK event from
  the parent pid, but not a separate NOTE_TRACK event.
- Explicitly note that the event added to monitor the child process
  preserves the fflags from the original event.
- Move the description of NOTE_TRACKERR under NOTE_TRACK as it is not a
  bit for the user to set (which is what this list pupports to be).
  Also, explicitly note that if an error occurs, the NOTE_CHILD event
  will not be generated.

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

10 years agoMFC r257534:
jimharris [Tue, 5 Nov 2013 15:57:24 +0000 (15:57 +0000)]
MFC r257534:

Create a unique unit number for each controller and namespace cdev.

Sponsored by: Intel

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

10 years agoMFC r257531:
jimharris [Tue, 5 Nov 2013 15:56:15 +0000 (15:56 +0000)]
MFC r257531:

Do not exit with error status after printing data for perftest.

Sponsored by: Intel

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

10 years agoMFC r257490:
yongari [Tue, 5 Nov 2013 06:48:58 +0000 (06:48 +0000)]
MFC r257490:
  Perform media change after setting IFF_DRV_RUNNING flag. Without it,
  driver would ignore the first link state update if controller
  already established a link.

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

10 years agoMFC of 257681:
edwin [Tue, 5 Nov 2013 06:37:14 +0000 (06:37 +0000)]
MFC of 257681:

tzdata2013f
- Jordan goes to winter time on the last Friday in October.
- Tocantins in Brazil will not go into summer time in October.
- Indonesian time zones renames.
- Lots of cleanups in with regarding to links and historical data.

tzdata2013h
- Libya didn't go back to DST.
- Fix Morocco 2038 issue.
- Brazil/Acre and ?Western Amazonas are chaning timezones.

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

10 years agoMFC r257307:
yongari [Mon, 4 Nov 2013 08:47:36 +0000 (08:47 +0000)]
MFC r257307:
  Fix regression introduced in r235816.
  r235816 triggered kernel panic or hang after warm boot.
  Don't blindly restore BCE_EMAC_MODE media configuration in
  bce_reset().  If driver is about to shutdown it will invoke
  bce_reset() which in turn results in restoring BCE_EMAC_MODE
  media configuration.  This operation seems to confuse controller
  firmware.

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

10 years agoMFC r257306:
yongari [Mon, 4 Nov 2013 06:00:12 +0000 (06:00 +0000)]
MFC r257306:
  Add preliminary support for RTL8168EP.

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

10 years agoMFC r257305:
yongari [Mon, 4 Nov 2013 05:57:24 +0000 (05:57 +0000)]
MFC r257305:
  Add preliminary support for RTL8168G, RTL8168GU and RTL8411B.
  RTL8168GU has two variants(GMII and MII) but it uses the same chip
  revision id.  Driver checks PCI device id of controller and
  sets internal capability flag(i.e. jumbo frame and link speed down
  in WOL).

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

10 years agoMFC r257304:
yongari [Mon, 4 Nov 2013 05:54:13 +0000 (05:54 +0000)]
MFC r257304:
  Add support for new Gigabit PHY of RealTek.
  I don't have a copy of data sheet so I'm not sure exact PHY model
  name. Vendor's web page indicates RTL8251 is latest PHY so I used
  the name. This PHY is used with RTL8168G, RTL8168GU and RTL8411B.

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

10 years agoMFC r256828:
yongari [Mon, 4 Nov 2013 05:49:56 +0000 (05:49 +0000)]
MFC r256828:
  Add preliminary support for RTL8106E PCIe FastEthernet.

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

10 years agor256827:
yongari [Mon, 4 Nov 2013 05:46:31 +0000 (05:46 +0000)]
r256827:
  Correct MAC revision bits. Previously it always cleared bit 20 and
  bit 21.

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

10 years agoMFC r256231:
jimharris [Sun, 3 Nov 2013 21:12:01 +0000 (21:12 +0000)]
MFC r256231:

Improve logging around some of the isci(4) reset and recovery paths.

Sponsored by: Intel

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

10 years agoMFC r256155:
jimharris [Sun, 3 Nov 2013 20:56:28 +0000 (20:56 +0000)]
MFC r256155:

Do not leak resources during attach if nvme_ctrlr_construct() or the initial
controller resets fail.

Sponsored by: Intel

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

10 years agoMFC r256154:
jimharris [Sun, 3 Nov 2013 20:55:24 +0000 (20:55 +0000)]
MFC r256154:

Log and then disable asynchronous notification of persistent events after
they occur.

This prevents repeated notifications of the same event.

Status of these events may be viewed at any time by viewing the
SMART/Health Info Page using nvmecontrol, whether or not asynchronous
events notifications for those events are enabled.  This log page can
be viewed using:

    nvmecontrol logpage -p 2 <ctrlr id>

Future enhancements may re-enable these notifications on a periodic basis
so that if the notified condition persists, it will continue to be logged.

Sponsored by: Intel

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

10 years agoMFC r256153:
jimharris [Sun, 3 Nov 2013 20:53:45 +0000 (20:53 +0000)]
MFC r256153:

Do not enable temperature threshold as an asynchronous event notification
on NVMe controllers that do not support it.

Sponsored by: Intel

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

10 years agoMFC r256152:
jimharris [Sun, 3 Nov 2013 20:52:13 +0000 (20:52 +0000)]
MFC r256152:

Extend some 32-bit fields and variables to 64-bit to prevent overflow
when calculating data in nvmecontrol perftest.

Sponsored by: Intel

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

10 years agoMFC r256151:
jimharris [Sun, 3 Nov 2013 20:50:48 +0000 (20:50 +0000)]
MFC r256151:

Add driver-assisted striping for upcoming Intel NVMe controllers that can
benefit from it.

Sponsored by: Intel

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

10 years agoMFC r257216:
kib [Sun, 3 Nov 2013 16:17:06 +0000 (16:17 +0000)]
MFC r257216:
Several small fixes for the amd64 minidump code.

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

10 years agoMFC r257214:
kib [Sun, 3 Nov 2013 16:11:38 +0000 (16:11 +0000)]
MFC r257214:
Inform about the kdb re-entry.

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

10 years agoMFC r257071:
kib [Fri, 1 Nov 2013 07:03:44 +0000 (07:03 +0000)]
MFC r257071:
Add some definitions for the bits in root control and status PCIe cap
registers.

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

10 years agoMFC r257069:
kib [Fri, 1 Nov 2013 06:56:28 +0000 (06:56 +0000)]
MFC r257069:
Add ddb 'show ioapic' and 'show all ioapics' commands.

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

10 years agoMFC r257154:
trociny [Thu, 31 Oct 2013 20:31:16 +0000 (20:31 +0000)]
MFC r257154:

Merging local and remote bitmaps must be protected by hr_amp lock.

This is believed to fix hastd crashes, which might occur during
synchronization, triggered by the failed assertion:

 Assertion failed: (amp->am_memtab[ext] > 0),
 function activemap_write_complete, file activemap.c, line 351.

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

10 years agoMFC r257221:
kib [Thu, 31 Oct 2013 10:14:12 +0000 (10:14 +0000)]
MFC r257221:
Fix typo.

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

10 years agoMFC r256624:
melifaro [Wed, 30 Oct 2013 16:08:27 +0000 (16:08 +0000)]
MFC r256624:

Fix long-standing issue with incorrect radix mask calculation.

Usual symptoms are messages like
rn_delete: inconsistent annotation
rn_addmask: mask impossibly already in tree
routing daemon constantly deleting IPv6 default route
or inability to flush/delete particular prefix in ipfw table.

Changes:
* Assume 32 bytes as maximum radix key length
* Remove rn_init()
* Statically allocate rn_ones/rn_zeroes
* Make separate mask tree for each "normal" tree instead of system
global one
* Remove "optimization" on masks reusage and key zeroying
* Change rn_addmask() arguments to accept tree pointer (no users in base)

MFC changes:
* keep rn_init()
* create global mask tree, protected with mutex, for old rn_addmask
users (currently 0 in base)
* Add new rn_addmask_r() function (rn_addmask in head) with additional
argument to accept tree pointer

PR: kern/182851, kern/169206, kern/135476, kern/134531
Found by: Slawa Olhovchenkov <slw@zxy.spb.ru>
Reviewed by: glebius (previous versions)
Sponsored by: Yandex LLC

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

10 years agoMFC r257206:
hselasky [Wed, 30 Oct 2013 06:18:54 +0000 (06:18 +0000)]
MFC r257206:
Fix a deadlock when trying to power off a USB device. The deadlock
happens because the code in question is trying to modify the parent
USB port registers outside the USB explore thread.

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

10 years agoFix Dd from MFCing r257151
bdrewery [Tue, 29 Oct 2013 18:47:07 +0000 (18:47 +0000)]
Fix Dd from MFCing r257151

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

10 years agoMFC r257151:
bdrewery [Tue, 29 Oct 2013 18:45:48 +0000 (18:45 +0000)]
MFC r257151:

  Document /var/cache/pkg into hier(7) which pkg(8) uses.

Approved by: bapt

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

10 years agoMerge r256550.
melifaro [Tue, 29 Oct 2013 09:57:00 +0000 (09:57 +0000)]
Merge r256550.

Improve locking model used to protect netgraph topology:
use rwlocks instead of mutexes on node traversal.

Reviewed by: glebius
Tested by: Eugene Grosbein <egrosbein@rdtc.ru>
Sponsored by: Yandex LLC

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

10 years agoMFC r256848:
kib [Tue, 29 Oct 2013 07:48:36 +0000 (07:48 +0000)]
MFC r256848:
Use plain register read for waiting of the reset completion
notification, to avoid gt_lock recursion.

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

10 years agoMFC r255338:
pfg [Mon, 28 Oct 2013 19:46:01 +0000 (19:46 +0000)]
MFC r255338:

ext2fs: temporarily disable htree directory index.

In addition to our implementation not having workarounds for hash
collisions, it appears we also have a compatibility problem.

For now disable the htree code until we are able to re-examine
both issues.

PR: kern/183230

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

10 years agoMFC r248653: ZFS: Fix a panic while unmounting a busy filesystem.
will [Mon, 28 Oct 2013 14:27:35 +0000 (14:27 +0000)]
MFC r248653: ZFS: Fix a panic while unmounting a busy filesystem.

This particular scenario was easily reproduced using a NFS export.  When the
first 'zfs unmount' occurred, it returned EBUSY via this path, while
vflush() had flushed references on the filesystem's root vnode, which in
turn caused its v_interlock to be destroyed.  The next time 'zfs unmount'
was called, vflush() tried to obtain this lock, which caused this panic.

Since vflush() on FreeBSD is a definitive call, there is no need to check
vfsp->vfs_count after it completes.  Simply #ifdef sun this check.

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

10 years agoMFC r255301: libc/stdio: Provide proper TAP output for fmemopen/
jilles [Sun, 27 Oct 2013 22:18:27 +0000 (22:18 +0000)]
MFC r255301: libc/stdio: Provide proper TAP output for fmemopen/
open_memstream/open_wmemstream.

A *.t file should provide Test Anything Protocol output so that it can be
run using the Perl "prove" tool.

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

10 years agoMFC r243731,r255303: libc: Allow setting close-on-exec in fopen/freopen/
jilles [Sun, 27 Oct 2013 21:49:52 +0000 (21:49 +0000)]
MFC r243731,r255303: libc: Allow setting close-on-exec in fopen/freopen/
fdopen.

This commit adds a new mode option 'e'.

For freopen() with a non-NULL path argument and fopen(), the close-on-exec
flag is set iff the 'e' mode option is specified. For freopen() with a NULL
path argument and fdopen(), the close-on-exec flag is turned on if the 'e'
mode option is specified and remains unchanged otherwise.

Although the same behaviour for fopen() can be obtained by open(O_CLOEXEC)
and fdopen(), this needlessly complicates the calling code.

PR: kern/169320

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

10 years agoMFC r256646, r256767, r257038:
delphij [Sat, 26 Oct 2013 19:54:28 +0000 (19:54 +0000)]
MFC r256646, r256767, r257038:
  When installing updates, install new directories first and remove old
  directories last.

  Allow ~ in file names so libtool droppings in contrib don't break updates.
  It has happened twice now, and is likely to happen again.

  Be more selective when filtering for lib*.so.N files.  These are deleted
  at the end of the upgrade process, after warning users to upgrade any
  3rd party software (e.g., from the ports tree) which might link to the
  libraries being removed.

Errata Notice:  FreeBSD-EN-13:04.freebsd-update

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

10 years agoMFC r256157:
dim [Sat, 26 Oct 2013 11:56:51 +0000 (11:56 +0000)]
MFC r256157:

Now our binutils's assembler supports the Intel Random Number Generator
extensions, we can change the .byte directives in sys/dev/random/ivy.c
to plain 'rdrand' mnemonics.  This already worked for clang users, but
now it will also work for gcc users.

Approved by: so (des)

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

10 years agoMFC r256504:
kib [Fri, 25 Oct 2013 17:15:57 +0000 (17:15 +0000)]
MFC r256504:
Add a sysctl kern.disallow_high_osrel which disables executing the
images compiled on the world with higher major version number than the
high version number of the booted kernel.  Default to disable.

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

10 years agoMFC r256502:
kib [Fri, 25 Oct 2013 17:04:46 +0000 (17:04 +0000)]
MFC r256502:
Similar to debug.iosize_max_clamp sysctl, introduce
devfs_iosize_max_clamp sysctl, which allows/disables SSIZE_MAX-sized
i/o requests on the devfs files.

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

10 years agoMFC r256501:
kib [Fri, 25 Oct 2013 16:49:32 +0000 (16:49 +0000)]
MFC r256501:
Remove two instances of ARGSUSED comment, and wrap lines nearby the
code that is to be changed.

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

10 years agoMFC r253816: MFV r253780:
delphij [Fri, 25 Oct 2013 15:43:59 +0000 (15:43 +0000)]
MFC r253816: MFV r253780:

To quote Illumos #3875:

The problem here is that if we ever end up in the error
path, we drop the locks protecting access to the zfsvfs_t
prior to forcibly unmounting the filesystem. Because z_os
is NULL, any thread that had already picked up the zfsvfs_t
and was sitting in ZFS_ENTER() when we dropped our locks
in zfs_resume_fs() will now acquire the lock, attempt to
use z_os, and panic.

Illumos ZFS issues:
  3875 panic in zfs_root() after failed rollback

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

10 years agoMFC r256925:
tijl [Fri, 25 Oct 2013 13:25:49 +0000 (13:25 +0000)]
MFC r256925:

Add a dummy statement to the beginning of the pthread_cleanup_pop() macro
to allow a call of the macro to be labelled as in:

label:
  pthread_cleanup_pop();

Reviewed by: imp

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

10 years agoMFC r256750:
hselasky [Fri, 25 Oct 2013 06:48:57 +0000 (06:48 +0000)]
MFC r256750:
Improve XHCI stability. When a command timeout happens, the command
should be aborted else the command queue can stop. Refer to section
"4.6.1.2" of the XHCI specification.

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

10 years agoMFC r256317:
mav [Fri, 25 Oct 2013 06:03:07 +0000 (06:03 +0000)]
MFC r256317:
Fix mode page length calculation to remove last garbage line from the
`camcontrol mode daX -l` output.

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

10 years agoMFC r256842:
bdrewery [Thu, 24 Oct 2013 10:53:35 +0000 (10:53 +0000)]
MFC r256842:

  Fix 'make delete-old-libs' and 'make check-libs' to delete .debug
  files created by WITH_DEBUG_FILES. Also cleanup .symbols files from
  the period between r244236 when .symbols were supported and r251512
  when they were renamed to .debug.

  Only propose to delete a .debug file if the corresponding library
  itself was deleted already.

Approved by: bapt

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

10 years agoMFC r256552:
mav [Thu, 24 Oct 2013 10:34:13 +0000 (10:34 +0000)]
MFC r256552:
Unify periph invalidation and destruction reporting.
Print message containing device model and serial number on invalidation.

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

10 years agoMFC r256533:
mav [Thu, 24 Oct 2013 10:31:53 +0000 (10:31 +0000)]
MFC r256533:
Unhide "Serial Number" lines from bootverbose.  That information may
be useful for system administration to have in hard copy (in logs) if
one of several devices suddenly dies.

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

10 years agoMFC r256500:
hselasky [Thu, 24 Oct 2013 06:25:52 +0000 (06:25 +0000)]
MFC r256500:
Add new USB ID.

PR: usb/182936

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

10 years agoMFC r252912, r254828 and r256548:
hselasky [Thu, 24 Oct 2013 06:22:43 +0000 (06:22 +0000)]
MFC r252912, r254828 and r256548:
Add host mode support to the Mentor Graphics USB OTG controller driver.

PR: usb/181987

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

10 years agoMFC r241082:
hselasky [Thu, 24 Oct 2013 06:06:17 +0000 (06:06 +0000)]
MFC r241082:
Inherit USB mode from RootHUB port where the USB device is connected.
Only RootHUB ports can be dual mode. Disallow OTG ports on external HUBs.
This simplifies some checks in the USB controller drivers.

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

10 years agoMFC r256188:
mav [Wed, 23 Oct 2013 17:08:50 +0000 (17:08 +0000)]
MFC r256188:
Close the race on path ID allocation in xpt_bus_register() if two buses are
registered simultaneously. Due to topology unlock between the ID allocation
and the bus registration there is a chance that two buses may get the
same IDs. That is supposed reason of lock assertion panic in CAM during
initial bus scanning after new iscsid initiates two sessions same time.

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

10 years agoMFC r255869:
ambrisko [Tue, 22 Oct 2013 19:49:19 +0000 (19:49 +0000)]
MFC r255869:

Add PCI device ID for MegaRAID Invader cards.  This was the only
change needed to make it work on my card.

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

10 years agoMFC r256775,r256776:
cperciva [Tue, 22 Oct 2013 16:13:15 +0000 (16:13 +0000)]
MFC r256775,r256776:
  Add support for "first boot" rc.d scripts.

  Document this new functionality in rc.conf(5) and rc(8).

  Bump __FreeBSD_version so that ports can make use of this.

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

10 years agoMerge r255143 from head:
glebius [Tue, 22 Oct 2013 09:58:31 +0000 (09:58 +0000)]
Merge r255143 from head:
  Merge 1.12 of pf_lb.c from OpenBSD, with some changes. Original commit:

    date: 2010/02/04 14:10:12;  author: sthen;  state: Exp;  lines: +24 -19;
    pf_get_sport() picks a random port from the port range specified in a
    nat rule. It should check to see if it's in-use (i.e. matches an existing
    PF state), if it is, it cycles sequentially through other ports until
    it finds a free one. However the check was being done with the state
    keys the wrong way round so it was never actually finding the state
    to be in-use.

    - switch the keys to correct this, avoiding random state collisions
    with nat. Fixes PR 6300 and problems reported by robert@ and viq.

    - check pf_get_sport() return code in pf_test(); if port allocation
    fails the packet should be dropped rather than sent out untranslated.

    Help/ok claudio@.

  Some additional changes to 1.12:

  - We also need to bzero() the key to zero padding, otherwise key
    won't match.
  - Collapse two if blocks into one with ||, since both conditions
    lead to the same processing.
  - Only naddr changes in the cycle, so move initialization of other
    fields above the cycle.
  - s/u_intXX_t/uintXX_t/g

  PR:             kern/181690
  Submitted by:   Olivier Cochard-LabbĂ© <olivier cochard.me>
  Sponsored by:   Nginx, Inc.

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

10 years agoMFC r251844: Include die tag in error message
emaste [Mon, 21 Oct 2013 18:26:22 +0000 (18:26 +0000)]
MFC r251844: Include die tag in error message

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

10 years agoMFC r251667: Handle DW_TAG_unspecified_type
emaste [Mon, 21 Oct 2013 18:25:36 +0000 (18:25 +0000)]
MFC r251667: Handle DW_TAG_unspecified_type

  2011-11-14  Jim Ingham  <jingham@apple.com>

  * dwarf2read.c (read_type_die): Handle DW_TAG_unspecified_type.
    (read_tag_unspecified_type): New function, add a type for the
    DW_TAG_unspecified_type die.

  Obtained from: Apple, gdb-1752

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

10 years agoMFC r251665: Handle DW_TAG_rvalue_reference_type
emaste [Mon, 21 Oct 2013 18:23:16 +0000 (18:23 +0000)]
MFC r251665: Handle DW_TAG_rvalue_reference_type

  2012-05-21  Jim Ingham <jingham@apple.com>

    * dwarf2read.c (process_die): Handle DW_TAG_rvalue_reference_type.
      (read_type_die): Ditto.
      (dwarf_tag_name): Ditto.

    * elf/dwarf2.h: Add DW_TAG_rvalue_reference_type.

  Obtained from: Apple, gdb-1820

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

10 years agoMFC r244437: Support restrict qualifier in dwarf debug info
emaste [Mon, 21 Oct 2013 18:20:20 +0000 (18:20 +0000)]
MFC r244437: Support restrict qualifier in dwarf debug info

  Newer clang/llvm emit DW_TAG_restrict_type, which wasn't handled by gdb.
  Import support from Apple's gdb-1822:

  |  2009-03-24  Jason Molenda  (jmolenda@apple.com)
  |
  |    * gdbtypes.c (make_cv_type): Rename this function to make_cvr_type to
  |    also handle restrict qualifiers.
  |    (check_typedef): Handle TYPE_RESTRICT.
  |    * gdbtypes.h (TYPE_FLAG_RESTRICT, TYPE_RESTRICT): New.
  |    * hpread.c (hpread_type_lookup): Update to use make_cvr_type.
  |    * stabsread.c (read_type): Pass the restrict qualifiers along.
  |    * parse.c (follow_types): Pass the restrict qualifiers along.
  |    * dwarf2read.c (read_tag_const_type): Call make_cvr_type.
  |    (read_tag_volatile_type): Same.
  |    (read_tag_restrict_type): New function.
  |    (read_type_die): Handle DW_TAG_restrict_type.

  Obtained from: Apple

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

10 years agoMFC r256038:
yongari [Mon, 21 Oct 2013 05:57:36 +0000 (05:57 +0000)]
MFC r256038:
  Fix clearing MAC stats registers. Previously it cleared every
  fourth register.

  Submitted by: Paul A. Patience <paul-a.patience@polymtl.ca>

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

10 years agoMFC: r256069
hiren [Sat, 19 Oct 2013 06:30:20 +0000 (06:30 +0000)]
MFC: r256069

Expose system level ixgbe sysctls.
Device level sysctls are already exposed as dev.ix.<device>

Fixing the case where number of queues for igb is auto-tuned and
hw.igb.num_queues does not return current/updated value.

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

10 years agoMFC r256050:
trasz [Fri, 18 Oct 2013 09:50:23 +0000 (09:50 +0000)]
MFC r256050:

Remove useless check - ki_loginclass is an array; can't be NULL.

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

10 years agoMFC r253979
jhibbits [Thu, 17 Oct 2013 06:14:32 +0000 (06:14 +0000)]
MFC r253979

Micro-optimize OFW syscons 8-bit blank.

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

10 years agoMFC r253588
jhibbits [Thu, 17 Oct 2013 05:44:15 +0000 (05:44 +0000)]
MFC r253588

Increase the size of the OFW bounce buffer to 4 pages.  With this I can now run
'ofwdump -ap' on my quad G5.

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

10 years agoMFC r256213:
kib [Wed, 16 Oct 2013 06:15:40 +0000 (06:15 +0000)]
MFC r256213:
Do not try to flush device vnodes from the buffer allocation context.

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

10 years agoMFC r256211:
kib [Wed, 16 Oct 2013 06:13:08 +0000 (06:13 +0000)]
MFC r256211:
Do not flush buffers when the v_object of the passed vnode does not
really belong to it.

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

10 years agoMFC r256209:
kib [Wed, 16 Oct 2013 06:07:03 +0000 (06:07 +0000)]
MFC r256209:
Reduce code duplication, introduce the getmaxfd() helper to calculate
the max filedescriptor index.

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

10 years agoFix an inverted check for the master user in "camcontrol security -U".
markj [Wed, 16 Oct 2013 03:37:02 +0000 (03:37 +0000)]
Fix an inverted check for the master user in "camcontrol security -U".

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

10 years agoMFC r247012 (by jmg):
dim [Mon, 14 Oct 2013 15:06:47 +0000 (15:06 +0000)]
MFC r247012 (by jmg):

  add support for AES and PCLMULQDQ instructions to binutils...

  Thanks to Mike Belopuhov for the pointer to the OpenBSD patch, though
  OpenBSD's gcc is very different that it only helped w/ where to modify,
  not how...  Thanks to jhb for some early reviews...

  Reviewed by: imp, kib

MFC r247117 (by jmg):

  reorder so all the flags are together and make the PCLMUL flag unique..

  This fixes the problem on amd64 miscompiling mpboot.s causing boot
  issues...  We are still using gas for a few files in the kernel...

  Submitted by: kib

MFC r255192 (by jhb):

  Add support for the 'invpcid' instruction to binutils and DDB's
  disassembler on amd64.

MFC r256112:

  Add support for assembling and disassembling Intel Random Number
  Generator extensions (e.g. the 'rdrand' mnemonic) to our copy of
  binutils.

  Obtained from: OpenBSD, via pfg

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

10 years agoMFC r256125:
kib [Mon, 14 Oct 2013 05:56:15 +0000 (05:56 +0000)]
MFC r256125:
Make isci(4) loadable.

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

10 years agoMFC r256101:
kib [Mon, 14 Oct 2013 05:49:20 +0000 (05:49 +0000)]
MFC r256101:
Implement support for the interpose dso flag.

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

10 years agoMFC r256100:
kib [Mon, 14 Oct 2013 05:44:16 +0000 (05:44 +0000)]
MFC r256100:
Add the definition of DF_1_INTERPOSE flag.

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