]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
10 years agoMFC: r264460
brueffer [Wed, 23 Apr 2014 09:27:11 +0000 (09:27 +0000)]
MFC: r264460

Document the xdev* targets.

PR: 188519
Submitted by: Idwer Vollering <vidwer at gmail.com>
Reviewed by: bapt

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

10 years agoMFC: r264489
brueffer [Wed, 23 Apr 2014 09:22:24 +0000 (09:22 +0000)]
MFC: r264489

Add a missing break in option parsing.

CID: 1011452
Found with: Coverity Prevent(tm)

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

10 years agoMFC: r264479
brueffer [Wed, 23 Apr 2014 07:33:51 +0000 (07:33 +0000)]
MFC: r264479

Fix double fclose() in an error case.

CID: 1006120
Found with: Coverity Prevent(tm)

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

10 years agoMFC: r264421
brueffer [Wed, 23 Apr 2014 07:22:40 +0000 (07:22 +0000)]
MFC: r264421

Free resources in error cases; re-indent a curly brace while here.

CID: 1199366
Found with: Coverity Prevent(tm)

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

10 years agoMFC r262596:
markj [Wed, 23 Apr 2014 03:26:29 +0000 (03:26 +0000)]
MFC r262596:
4478 dtrace_dof_maxsize is far too small

illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0

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

10 years agoMFC r264518, r264697, r264698, r264703:
gjb [Wed, 23 Apr 2014 01:27:53 +0000 (01:27 +0000)]
MFC r264518, r264697, r264698, r264703:

r264518:
  Fix armv6 build failure: "armv6-freebsd-gcc: not found"

r264697:
  When building the 'xdev' target when WITH_GCC=1 and
  WITHOUT_CLANG_IS_CC=1, it appears WITHOUT_CLANG=1 must
  also be set.

  While here, reorder the lines to put the WITH_* and
  WITHOUT_* entries on the same line.

r264698:
  Fix EOL escape.

r264703:
  Apply a slightly different color hammer to arm/release.sh:

   - gcc(1) fails to build usr.bin/dtc
   - lack of WITH_GNUCXX=1 causes cc1plus(1) calls to fail
   - u-boot fails to build with clang (hard-coded gcc(1) calls)

  Implement the proper incantation of WITH_/WITHOUT_ knobs
  to get arm snapshot builds working again.

  Since the cc(1) binary no longer needs to be cc(1) instead of
  clang(1), remove the chroot(8) post-install cc(1) overwrite.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC: r264419
brueffer [Tue, 22 Apr 2014 21:25:03 +0000 (21:25 +0000)]
MFC: r264419

Avoid double close() of a file descriptor.

CID: 1006089
Found with: Coverity Prevent(tm)

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

10 years agoMFC: r264418
brueffer [Tue, 22 Apr 2014 21:13:25 +0000 (21:13 +0000)]
MFC: r264418

Avoid double free in f_acl().

CID: 1018508
Found with: Coverity Prevent(tm)

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

10 years agoMFC: r264416
brueffer [Tue, 22 Apr 2014 21:02:02 +0000 (21:02 +0000)]
MFC: r264416

Add a missing comma between error message definitions.

CID: 1199266
Found with: Coverity Prevent(tm)
MFC after: 1 week

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

10 years agoMFC: r264386
brueffer [Tue, 22 Apr 2014 20:55:46 +0000 (20:55 +0000)]
MFC: r264386

Improve markup and remove contractions.

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

10 years agoMFC: r264384, r264415
brueffer [Tue, 22 Apr 2014 20:51:07 +0000 (20:51 +0000)]
MFC: r264384, r264415

mdoc and language improvements.

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

10 years agoMFC: r264257, r264327, r264514
marius [Tue, 22 Apr 2014 13:02:03 +0000 (13:02 +0000)]
MFC: r264257, r264327, r264514

Distinguish between the different variants and configurations of Sunix
{MIO,SER}5xxxx chips instead of treating all of them as PUC_PORT_2S.
Among others, this fixes the hang seen when trying to probe the none-
existent second UART on an actually 1-port chip.

Obtained from: NetBSD (BAR layouts)
Sponsored by: Bally Wulff Games & Entertainment GmbH

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

10 years agoMFC r264293:
yongari [Tue, 22 Apr 2014 04:35:07 +0000 (04:35 +0000)]
MFC r264293:
  Add workaround for MCP61 Ethernet controller found on MSI K9
  motherboard.  PHY hardware used for the controller responded at
  all possible addresses which in turn resulted in having 32 PHYs
  for the controller.  If driver detects "MSI K9N6PGM2-V2 (MS-7309)"
  motherboard, tell miibus(4) PHY is located at 0.

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

10 years agoMFC r264062:
yongari [Tue, 22 Apr 2014 04:30:24 +0000 (04:30 +0000)]
MFC r264062:
  Correct endianness handling in getting station address from EEPROM.
  While I'm here, remove aue_eeprom_getword() as its only usage is to
  read station address and make it more readable.  This change is
  inspired by NetBSD.
  With this change, aue(4) should work on big endian architectures.

  PR: 188177

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

10 years agoMFC r264621
emax [Mon, 21 Apr 2014 17:17:23 +0000 (17:17 +0000)]
MFC r264621

use correct (integer) type for the temperature sysctl

Reviewed by: np, scottl
Obtained from: Netflix

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

10 years agoMFC r264127
sbruno [Mon, 21 Apr 2014 16:54:38 +0000 (16:54 +0000)]
MFC r264127

Add PCI-IDs for TBD Gen9 RAID controller HBAs from HP to ciss(4)

Submitted by: Benesh, Scott <scott.benesh@hp.com>
Sponsored by: Yahoo! Inc.

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

10 years agoMFC r264193:
mav [Mon, 21 Apr 2014 16:46:44 +0000 (16:46 +0000)]
MFC r264193:
In addition to r264077, tell GEOM that we do support BIO_DELETE now.

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

10 years agoMFC r264077:
mav [Mon, 21 Apr 2014 16:42:15 +0000 (16:42 +0000)]
MFC r264077:
Add BIO_DELETE support to ZVOL.

It is an adapted merge from the vendor branch of:
    701 UNMAP support for COMSTAR  (in part related to ZFS)
    2130 zvol DKIOCFREE uses nested DMU transactions

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

10 years agoMFC r264341:
mav [Mon, 21 Apr 2014 16:33:49 +0000 (16:33 +0000)]
MFC r264341:
Create zvol devices on zfs clone.

While big and shiny patch is not ready, it is better to have something.

PR: kern/178999

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

10 years agoMFC r264191:
mav [Mon, 21 Apr 2014 16:26:24 +0000 (16:26 +0000)]
MFC r264191:
Report stripe size and offset of the backing device in READ CAPACITY (16)
as physical sector size and offset.

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

10 years agoMFC r264364:
ae [Mon, 21 Apr 2014 11:17:29 +0000 (11:17 +0000)]
MFC r264364:
  Properly release the in6_multi lock.

Sponsored by: Yandex LLC

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

10 years agoMFC r264481:
kib [Mon, 21 Apr 2014 02:55:27 +0000 (02:55 +0000)]
MFC r264481:
Add dwarf annotations to the amd64 _rtld_bind_start to allow debuggers
to unwind around the calls from PLT to binder.

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

10 years agoMFC r264142:
bdrewery [Mon, 21 Apr 2014 02:49:41 +0000 (02:49 +0000)]
MFC r264142:

  Show error code when failing to destroy a mirror on delay

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

10 years agoMFC r264320:
bdrewery [Mon, 21 Apr 2014 02:48:04 +0000 (02:48 +0000)]
MFC r264320:

  Fix spelling error in g_trace() call.

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

10 years agoMFC r260689 (partial):
gjb [Sun, 20 Apr 2014 22:57:15 +0000 (22:57 +0000)]
MFC r260689 (partial):
  Remove 'of course' statement from upgrading note.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFH (r264691): merge upstream patch for EC calculation bug
des [Sun, 20 Apr 2014 12:46:18 +0000 (12:46 +0000)]
MFH (r264691): merge upstream patch for EC calculation bug

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

10 years agoMFC: 264174
gnn [Sun, 20 Apr 2014 06:46:04 +0000 (06:46 +0000)]
MFC: 264174

Speed up the lookup of interfaces when there are a large number
of them, such in a system with a large number of VLANs.

Submitted by: Nick Rogers

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

10 years agoMFC r264620:
kib [Sun, 20 Apr 2014 01:37:30 +0000 (01:37 +0000)]
MFC r264620:
Fix typo.

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

10 years agoMFC r264344:
hselasky [Fri, 18 Apr 2014 07:50:25 +0000 (07:50 +0000)]
MFC r264344:
Tune buffer sizes for SuperSpeed USB when using LibUSB v0.1 and v1.0
APIs to increase the maximum bandwidth limit.

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

10 years agoMFC r264340:
hselasky [Fri, 18 Apr 2014 07:48:29 +0000 (07:48 +0000)]
MFC r264340:
Correct IMOD default value according to comment.

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

10 years agoMFC r264488:
dteske [Fri, 18 Apr 2014 00:48:26 +0000 (00:48 +0000)]
MFC r264488:

When merging docsinstall and zfsboot updates to stable/9 it was discovered
that the slightly older dialog(1) requires --separate-output when using the
--checklist widget to force response to produce unquoted values (whereas in
stable/10 --checklist widget without --separate-output will only quote the
checklist labels in the response if the label is multi-word (contains any
whitespace).

Since these enhancements (see revisions 263956 and 264437) were developed
originally on 10, the --separate-output option was omitted. When merged to
stable/9, we (Allan Jude) and I found during testing that the "always-
quoting" of the response was causing things like struct interpolation to
fail (`f_struct device_$dev' would produce `f_struct device_\"da0\"' for
example -- literal quotes inherited from dialog(1) --checklist response).

To see the behavior, execute the following on stable/9 versus stable/10:

        dialog --checklist disks: 0 0 0 da0 "" off da1 "" off

Check both items and hit enter. On stable/10, the response is:

        da0 da1

On stable/9 the response is:

        "da0" "da1"

If you use the --separate-output option, the response is the same for both:

        da0
        da1

So applying --separate-output on every platform until either one of two
things occurs 1) dialog(1,3) gets synchronized between stable/9, higher or
2) we drop support for stable/9.

Reviewed by:    Allan Jude

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

10 years agoMFC 258860,260167,260238,260397:
jhb [Thu, 17 Apr 2014 18:00:07 +0000 (18:00 +0000)]
MFC 258860,260167,260238,260397:
- Restructure the VMX code to enter and exit the guest. In large part this
  change hides the setjmp/longjmp semantics of VM enter/exit.
  vmx_enter_guest() is used to enter guest context and vmx_exit_guest() is
  used to transition back into host context.

  Fix a longstanding race where a vcpu interrupt notification might be
  ignored if it happens after vmx_inject_interrupts() but before host
  interrupts are disabled in vmx_resume/vmx_launch. We now call
  vmx_inject_interrupts() with host interrupts disabled to prevent this.
- The 'protection' field in the VM exit collateral for the PAGING exit is
  not used - get rid of it.

Reviewed by: grehan

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

10 years agoMFC r263989: Add atf m4 files from the vendor branch.
jmmv [Thu, 17 Apr 2014 17:20:56 +0000 (17:20 +0000)]
MFC r263989: Add atf m4 files from the vendor branch.

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

10 years agoMFC r264258
ray [Thu, 17 Apr 2014 14:18:30 +0000 (14:18 +0000)]
MFC r264258

Fix cursor color in reverse video mode.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r264133: Fix variable type to avoid printf formatter warning.
jmmv [Thu, 17 Apr 2014 13:11:56 +0000 (13:11 +0000)]
MFC r264133: Fix variable type to avoid printf formatter warning.

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

10 years agoRegen src.conf.5.
jmmv [Thu, 17 Apr 2014 13:10:30 +0000 (13:10 +0000)]
Regen src.conf.5.

Notional merge of r264409 which regenerated this manpage after the
rewording of WITH_TESTS.

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

10 years agoMFC r263173: Remove unnecessary svn:executable property from source file.
jmmv [Thu, 17 Apr 2014 12:42:41 +0000 (12:42 +0000)]
MFC r263173: Remove unnecessary svn:executable property from source file.

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

10 years agoMFC r262837:
trasz [Thu, 17 Apr 2014 12:41:12 +0000 (12:41 +0000)]
MFC r262837:

Make reset handling in iSCSI target RFC-compliant.  This fixes some rare
hangs with Open-iSCSI (Linux).

Sponsored by: The FreeBSD Foundation

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

10 years agoMFH (r262555): install the sntp(1) man page
des [Thu, 17 Apr 2014 12:16:27 +0000 (12:16 +0000)]
MFH (r262555): install the sntp(1) man page

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

10 years agoMFC r263090: Make ether_line really report an error when all input is invalid.
jmmv [Thu, 17 Apr 2014 11:49:19 +0000 (11:49 +0000)]
MFC r263090: Make ether_line really report an error when all input is invalid.

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

10 years agoMFC: r264453
brueffer [Thu, 17 Apr 2014 10:43:38 +0000 (10:43 +0000)]
MFC: r264453

Correct geli parameter.

PR: 188582
Submitted by: Michael Hall

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

10 years agoMFC: r264315, r264316
brueffer [Thu, 17 Apr 2014 10:37:21 +0000 (10:37 +0000)]
MFC: r264315, r264316

Fix Xref order in SEE ALSO.

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

10 years agoMFC r264059+264067:
delphij [Thu, 17 Apr 2014 00:31:20 +0000 (00:31 +0000)]
MFC r264059+264067:

Implement GNU's extension of 'status' operand.  The GNU syntax is
borrowed where syntax status=noxfer means no transfer statistics
and status=none means no status information at all.

This feature is useful because the statistics information can
sometimes be annoying, and redirecting stderr to /dev/null would
mean error messages also gets silenced.

Obtained from: OpenBSD

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

10 years agoMFC several WITH_TESTS-related documentation fixes.
jmmv [Wed, 16 Apr 2014 23:12:35 +0000 (23:12 +0000)]
MFC several WITH_TESTS-related documentation fixes.

- r258014 Document WITH_TESTS src.conf(5) option.
- r263089 Fix description of WITHOUT_BMAKE's purpose.
- r264408 Fix test suite name in src.conf(5).
- r264410 Document how to install the test suite.
- r264412 Add FreeBSD 10.1 to the list of recognized releases for Fx.
- r264413 Miscellaneous fixes to tests(7).

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

10 years agoMFC r263690
emax [Wed, 16 Apr 2014 17:57:08 +0000 (17:57 +0000)]
MFC r263690

change defaule permissions on /dev/devstat. while i'm here remove
D_NEEDGIANT flag

Submitted by: jhb
Reviewed by: jhb, scottl, rwatson, delphij, phk

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

10 years agoMFC r264311 (by smh):
mav [Wed, 16 Apr 2014 15:27:14 +0000 (15:27 +0000)]
MFC r264311 (by smh):
Fix build breakage caused by r264295

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

10 years agoMFC r264307:
mav [Wed, 16 Apr 2014 10:05:35 +0000 (10:05 +0000)]
MFC r264307:
Fix three refcounter leaks and lock recursion they covered.

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

10 years agoMFC r264295:
mav [Wed, 16 Apr 2014 10:04:19 +0000 (10:04 +0000)]
MFC r264295:
Remove support of LUN-based CD changers from cd(4) driver.

This code was heavily broken few months ago during CAM locking changes.
Fixing it would require almost complete rewrite.  Since there are no
known devices on market using this interface younger then ~15 years, and
they are CD, not even DVD, I don't see much reason to rewrite it.

This change does not mean those devices won't work.  They will just work
slower due to inefficient disks load/unload schedule if several LUNs
accessed same time.

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

10 years agoMFC r263847: sh: Fix memory leak with an assignment before a regular builtin
jilles [Tue, 15 Apr 2014 18:29:05 +0000 (18:29 +0000)]
MFC r263847: sh: Fix memory leak with an assignment before a regular builtin

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

10 years agoMFC r263846: sh: Fix memory leak when trying to set a read only variable.
jilles [Tue, 15 Apr 2014 18:24:24 +0000 (18:24 +0000)]
MFC r263846: sh: Fix memory leak when trying to set a read only variable.

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

10 years agoMFC r264354
sbruno [Tue, 15 Apr 2014 17:49:47 +0000 (17:49 +0000)]
MFC r264354

Fix insta-panic on assert of unlocked periph mtx in ciss(4) when
logical volume state changes.

Sponsored by: Yahoo! Inc.

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

10 years agoMFC r264420:
bdrewery [Tue, 15 Apr 2014 15:18:32 +0000 (15:18 +0000)]
MFC r264420:

  Always install pkg.conf. Don't depend on MK_PKGBOOTSTRAP.

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

10 years agoMFC r263986:
tijl [Tue, 15 Apr 2014 09:49:44 +0000 (09:49 +0000)]
MFC r263986:

- In the libiconv module for ISO 2022 restore the original order of the
  fields of a private struct such that variables of this type are
  initialised correctly.  Fixes conversion from ISO 2022.
  Also do this in the BIG5 module to prevent similar errors in the future.
- In the libiconv module for EUC-TW replace 2^cs with 1<<cs.  Fixes
  conversion from EUC-TW.
- Synchronise iconv code with NetBSD.  In most cases this only updates
  the RCS id because the changes are already there or are NetBSD specific.
  + libc/iconv/citrus_csmapper.c: Add a comment.
  + libc/iconv/citrus_db_factory.c: Remove put16().
  + libc/iconv/citrus_iconv.c: Return EINVAL on error.
  + libc/iconv/citrus_mapper.c: Return EINVAL on error.
  + libc/iconv/citrus_memstream.c: Fix type of a variable.
  + libc/iconv/citrus_prop.h: Sync definition of _CITRUS_PROP_HINT_END.
  + libc/iconv/citrus_stdenc.c: Return EINVAL on error.
  + libiconv_modules/mapper_std/citrus_mapper_std.c: Plug memory leak.

Obtained from: NetBSD

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

10 years agoMFC r263998:
tijl [Tue, 15 Apr 2014 09:41:52 +0000 (09:41 +0000)]
MFC r263998:

Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4
-fms-extensions.

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

10 years agoMFC r261558
scottl [Tue, 15 Apr 2014 08:08:44 +0000 (08:08 +0000)]
MFC r261558

Add a new sysctl, dev.cxgbe.N.rsrv_noflow, and a companion tunable,
hw.cxgbe.rsrv_noflow.  When set, queue 0 of the port is reserved for
TX packets without a flowid.  The hash value of packets with a flowid
is bumped up by 1.  The intent is to provide a private queue for
link-level packets like LACP that is unlikely to overflow or suffer
deep queue latency.

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

10 years agoMFC r264229
scottl [Tue, 15 Apr 2014 08:02:57 +0000 (08:02 +0000)]
MFC r264229

Add some assertions to ensure that the target array doesn't get accessed
out of bounds.

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

10 years agoMFC r262814
scottl [Tue, 15 Apr 2014 07:54:17 +0000 (07:54 +0000)]
MFC r262814

- If we fail to do a non-blocking acquire of a buf lock while doing a
  waiting sync pass we need to do a blocking acquire and restart.
  Another thread, typically the buf daemon, may have this buf locked and
  if we don't wait we can fail to sync the file.  This lead to a great
  variety of softdep panics because we rely on all dependencies being
  flushed before proceeding in several cases.

Submitted by: jeffr

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

10 years agoMFC r262812
scottl [Tue, 15 Apr 2014 07:50:18 +0000 (07:50 +0000)]
MFC r262812

- Gracefully handle truncation failures when trying to shrink directories.
  This could cause dirhash panics since the dirhash state would be
  successfully truncated while the directory was not.

Submitted by:   jeffr

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

10 years agoMFC: 264016
gnn [Tue, 15 Apr 2014 02:17:46 +0000 (02:17 +0000)]
MFC: 264016

Silence an unnecessary warning.

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

10 years agoMFC refactoring of the *.test.mk files.
jmmv [Mon, 14 Apr 2014 23:51:57 +0000 (23:51 +0000)]
MFC refactoring of the *.test.mk files.

- r263161 Make bsd.test.mk the only public mk fragment for the building of tests.
- r263172 Move FreeBSD Test Suite-specific code to a suite.test.mk file.
- r263204 Add some documentation for bsd.test.mk.
- r263217 Document support for TAP-compliant Perl test programs.

This is "make tinderbox" clean.

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

10 years agoMFC r263777: sh: Fix possible memory leaks and double frees with unexpected
jilles [Mon, 14 Apr 2014 21:26:34 +0000 (21:26 +0000)]
MFC r263777: sh: Fix possible memory leaks and double frees with unexpected
SIGINT.

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

10 years agoMFC: r264362
brueffer [Mon, 14 Apr 2014 21:12:38 +0000 (21:12 +0000)]
MFC: r264362

Remove stray .Nm macro.

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

10 years agoMFC: r264349
brueffer [Mon, 14 Apr 2014 21:07:36 +0000 (21:07 +0000)]
MFC: r264349

mdoc and spelling cleanup.

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

10 years agoMFC r260866,260900,261960 (3 revisions; summarized below):
dteske [Mon, 14 Apr 2014 21:04:58 +0000 (21:04 +0000)]
MFC r260866,260900,261960 (3 revisions; summarized below):
260866: Fix a bad comparison operator and fix dumpdev comment
260900: Dummy commit; show r260866 was in-part by Christoph Mallon
261960: Add zfsboot to bsdinstall(8) scripted interface

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

10 years agoMFC r264345:
dim [Mon, 14 Apr 2014 17:54:01 +0000 (17:54 +0000)]
MFC r264345:

Amend r263891, by making clang default to DWARF2 debug info format for
all FreeBSD versions, not just 10.x and earlier.  Apparently too many
people seem to have trouble with post-1993 formats.

Also remove the related notes about messing with kernel configuration
files from UPDATING, which are now superfluous.

Requested by: many

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

10 years agoMFC various fixes to the tools/regression/ tests.
jmmv [Mon, 14 Apr 2014 13:30:08 +0000 (13:30 +0000)]
MFC various fixes to the tools/regression/ tests.

- r262953 Fix m4 tests so that they run cleanly with prove.
- r262954 Fix printf tests so that they run cleanly with prove.
- r262959 Fix sed tests so that they run cleanly with prove.
- r262960 Fix yacc tests so that they run cleanly with prove.
- r262961 Fix pkill tests so that they run cleanly with prove.
- r262962 Fix ncal tests so that they run cleanly with prove.
- r263081 Fix lastcomm tests under amd64.
- r263082 Only run the make tests when make is fmake.
- r263083 Fix sa tests.
- r263084 Turn a test precondition into a skip in the mdconfig tests.
- r263085 Make the strerror tests work without libtap.
- r263087 Remove broken tests for eui64_line.
- r263221 Change etcupdate tests to return 1 on test failures.
- r263352 Make the priv test program exit with non-zero if any failures are detected.
- r263353 errx prepends the program name to the message; don't do it by hand.
- r263362 Include strings.h so that bpf_filter.c can be built in userland.

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

10 years agoMFC 264242,264244,264259
ray [Mon, 14 Apr 2014 12:40:37 +0000 (12:40 +0000)]
MFC 264242,264244,264259

Fix panic on load new driver while vt(4) is in VGA textmode.
o Mute terminal while vt(4) driver change in progress.
o Reset VDF_TEXTMODE before init new driver.
o Assign default font, if new driver is not in TEXTMODE.
o Do not update screen while driver changing.
o Unmute terminal when done with driver replacement.
o Move init fonts to early point.
o Minor cleanup.
o Do not fill screen, while muted. (kern/subr_terminal.c)

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r264220:
mm [Mon, 14 Apr 2014 09:36:15 +0000 (09:36 +0000)]
MFC r264220:
Execute pf_overload_task() in vnet context. Fixes a vnet kernel panic.

Reviewed by: trociny

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

10 years agoMFC r264448: Fix typo in debug/log statement.
dteske [Mon, 14 Apr 2014 05:37:21 +0000 (05:37 +0000)]
MFC r264448: Fix typo in debug/log statement.

Submitted by: Rick Miller <vmiller@hostileadmin.com>

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

10 years agoMFC r260429:
yongari [Mon, 14 Apr 2014 05:04:23 +0000 (05:04 +0000)]
MFC r260429:
  m_defrag(9) does not touch original mbuf chain when it can't
  allocate new mbuf.  Free original mbuf chain when driver is not
  able to send the packet.

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

10 years agoMFC r259543:
yongari [Mon, 14 Apr 2014 04:58:50 +0000 (04:58 +0000)]
MFC r259543:
  Failed m_devget(9) indicates lack of free mbuf cluster.  Update
  if_iqdrops counter for that case since the received frame is ok.
  While here, simplify updating counter logic.

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

10 years agoMFC r263957:
yongari [Mon, 14 Apr 2014 04:51:59 +0000 (04:51 +0000)]
MFC r263957:
  Increase the number of TX DMA segments from 32 to 35.  It turned
  out 32 is not enough to support a full sized TSO packet.
  While I'm here fix a long standing bug introduced in r169632 in
  bce(4) where it didn't include L2 header length of TSO packet in
  the maximum DMA segment size calculation.

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

10 years agoMFC r264343:
gjb [Mon, 14 Apr 2014 03:57:45 +0000 (03:57 +0000)]
MFC r264343:
  Add SRC_UPDATE_SKIP, DOC_UPDATE_SKIP, and PORTS_UPDATE_SKIP
  variables.  These are intended to allow bypassing the
  'svn co /usr/{src,doc,ports}' step in the chroot when the
  tree exists from external means.

  The use case here is that /usr/src, /usr/doc, and /usr/ports
  in the chroot exist as result of zfs dataset clones, so it
  is possible (and happens quite often) that the included
  distributions may not be consistent.  (This is not the case
  for -RELEASE builds, but does happen for snapshot builds.)

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r264243:
dteske [Mon, 14 Apr 2014 01:44:56 +0000 (01:44 +0000)]
MFC r264243:

Loosen the processing of *_IF_aliasN vars to be less strict. Previously,
the first alias had to be _alias0 and processing stopped at the first non-
defined variable (preventing gaps). Allowing gaps gives the administrator
the ability to group aliases in an adhoc manner and also lifts the
requirement to renumber aliases simply to comment-out an existing one.
Aliases are processed in numerical ascending order.

NB: Also Patches mdconfig{,2} rc(8) boot scripts to loosen the numbering
scheme for mdconfig_mdN settings to be less strict in the same manner.

Discussed on: -rc

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

10 years agoDocument r260431, kern.panic_reboot_wait_time sysctl.
gjb [Sun, 13 Apr 2014 22:41:30 +0000 (22:41 +0000)]
Document r260431, kern.panic_reboot_wait_time sysctl.

Sponsored by: The FreeBSD Foundation

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

10 years agoFix order by svn revision.
gjb [Sun, 13 Apr 2014 22:41:28 +0000 (22:41 +0000)]
Fix order by svn revision.

Sponsored by: The FreeBSD Foundation

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

10 years agoDocument r260385, unmapped I/O in GEOM RAID.
gjb [Sun, 13 Apr 2014 22:41:26 +0000 (22:41 +0000)]
Document r260385, unmapped I/O in GEOM RAID.

Sponsored by: The FreeBSD Foundation

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

10 years agoDocument r260338
gjb [Sun, 13 Apr 2014 22:41:24 +0000 (22:41 +0000)]
Document r260338

Sponsored by: The FreeBSD Foundation

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

10 years agoDocument r260177, camcontrol '-b' addition.
gjb [Sun, 13 Apr 2014 22:41:22 +0000 (22:41 +0000)]
Document r260177, camcontrol '-b' addition.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r263925
rpaulo [Sat, 12 Apr 2014 23:48:02 +0000 (23:48 +0000)]
MFC r263925
 Enable all cryptocaps because net80211 can do software encryption.

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

10 years agoMove OpenSSH entry to 'contrib' where it belongs.
gjb [Sat, 12 Apr 2014 20:51:38 +0000 (20:51 +0000)]
Move OpenSSH entry to 'contrib' where it belongs.

Sponsored by: The FreeBSD Foundation

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

10 years agoRemove reference to FreeBSD 6.2-R in the freebsd-update(8) note.
gjb [Sat, 12 Apr 2014 20:50:31 +0000 (20:50 +0000)]
Remove reference to FreeBSD 6.2-R in the freebsd-update(8) note.
Rewrap.

Sponsored by: The FreeBSD Foundation

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

10 years agoClean up leading/trailing whitespace.
gjb [Sat, 12 Apr 2014 20:49:07 +0000 (20:49 +0000)]
Clean up leading/trailing whitespace.
Rewrap paragraphs and long lines.

Sponsored by: The FreeBSD Foundation

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

10 years agoTrim stale entries.
gjb [Sat, 12 Apr 2014 20:42:03 +0000 (20:42 +0000)]
Trim stale entries.
Use consistent <para>&nbsp;</para> for empty sections.

Sponsored by: The FreeBSD Foundation

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

10 years agoDocument r264377, OpenSSH update to 6.6p1.
gjb [Sat, 12 Apr 2014 20:32:46 +0000 (20:32 +0000)]
Document r264377, OpenSSH update to 6.6p1.
While here, bump copyright year.

Todo: strip old entries from this file since 10.0-RELEASE.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFH (r263712): upgrade openssh to 6.6p1
des [Sat, 12 Apr 2014 20:22:59 +0000 (20:22 +0000)]
MFH (r263712): upgrade openssh to 6.6p1
MFH (r264308): restore p level in debugging output

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

10 years agoMFC r260607, r260610, r260934:
andreast [Sat, 12 Apr 2014 19:57:15 +0000 (19:57 +0000)]
MFC r260607, r260610, r260934:

r260607:
The onyx codec works also as module, so add it.

r260610:
Described in the man page but not implemented. Here it comes,
atomic_swap_32/64. The latter only for powerpc64.

r260934:
Fix the resource information for the i2s-a node on certain G5 PowerMacs.
This is the first step needed to get the snapper codec working on those
machines.
The second step is to enable the corresponding I2S device and its clock.

Tested on machines where the snapper codec was already working, a G4 PowerBook
and a PowerMac9,1 with a Shasta based macio.
The PowerMac7,2/7,3 with a K2 based macio can now also play sound.

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

10 years agoMFC: r263948
bapt [Sat, 12 Apr 2014 15:13:43 +0000 (15:13 +0000)]
MFC: r263948

Convert an unused banner from skeleton.c into a comment.
It is added to every generated files and fix build at certain warning level with clang 3.4

Submitted by: Thomas Dickey <dickey@his.com> (byacc upstream)
Spotted by: glebius

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

10 years agoMFC: r263881, r263952, r263983, r264068, r264090, r264131
bapt [Sat, 12 Apr 2014 15:06:15 +0000 (15:06 +0000)]
MFC: r263881, r263952, r263983, r264068, r264090, r264131

Some xdev fixes:

- if TARGET_ARCH is not defined and XDEV_ARCH is defined then early define
  TARGET_ARCH to the valud of XDEV_ARCH: This allow the xdev-build target
  to be able to correctly chose the compiler it needs to build
- Allow overwriting XDTP to allow a user to not chose where the xdev env will
  live in
- Fix build for gcc only xdev (like ia64) by providing the proper -B to the
  toolchain and not relying on gcc being installed already in base
- Fix TOOLS_PREFIX so the generated toolchain has the right default sysroot when
  installed intead of getting the DESTDIR one
- Fix supporting DESTDIR
- Also overwrite CXX (needed for cross building c++ libraries with clang) and
  CPP (needed to cross build some libraries when gcc is the target default
  compiler but gcc is not installed on the building host)
- Prevent XDTP from being a relative path:
  XDTP is used as the default SYSROOT for clang and thus should be an absolute path.
- Respect default CC

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

10 years agoMFC r264173:
kib [Sat, 12 Apr 2014 14:18:25 +0000 (14:18 +0000)]
MFC r264173:
Use realloc(9) instead of doing the reallocation inline.

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

10 years agoMFC r264146:
kib [Sat, 12 Apr 2014 14:08:53 +0000 (14:08 +0000)]
MFC r264146:
Fix a race between kqueue_register() and kqueue_scan() setting KN_INFLUX
flag while knlist is not locked, which caused lost notifications from
parallel knote().

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

10 years agoMFC r264151:
dchagin [Sat, 12 Apr 2014 06:50:11 +0000 (06:50 +0000)]
MFC r264151:

Prevent alq from panic when the invalid alq_file path specified.

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

10 years agoMFC r264294:
hselasky [Fri, 11 Apr 2014 06:13:56 +0000 (06:13 +0000)]
MFC r264294:
Fix for infinite XHCI reset loops when the set address USB request fails.

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

10 years agoMFC r263889 (MFV r263887):
delphij [Fri, 11 Apr 2014 01:27:33 +0000 (01:27 +0000)]
MFC r263889 (MFV r263887):

3993 zpool(1M) and zfs(1M) should support -p for "list" and "get"
4700 "zpool get" doesn't support -H or -o options

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

10 years agoMFC r263459: MFV 263436-263438:
delphij [Fri, 11 Apr 2014 01:23:46 +0000 (01:23 +0000)]
MFC r263459: MFV 263436-263438:

3947 zpool(1M) references nonexistent zfs-features(5)
4540 zpool(1M) man page doesn't describe "readonly" property
3948 zfs sync=default is not accepted
4611 zfs(1M) still mentions 'send -r' in synopsis
4415 zpool(1M) man page missing "import -m" description
4570 Document dedupditto pool property
4572 Dedup-related documentation additions for zpool and zdb.
1371 Add -D option description to zpool(1M) manpage
4571 Add documentation for -T and interval to "zpool list"

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

10 years agoMFC r263879:
bdrewery [Fri, 11 Apr 2014 01:00:51 +0000 (01:00 +0000)]
MFC r263879:

  Add `-S' to display syscall numbers in the output as well.

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

10 years agoMFC: r261037, r264278
jkim [Thu, 10 Apr 2014 22:39:22 +0000 (22:39 +0000)]
MFC: r261037, r264278

Merge OpenSSL 1.0.1f and 1.0.1g.

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

10 years agoMerge r264084: make the Dresden Elektronik "USB Level Shifter Low Cost"
joerg [Thu, 10 Apr 2014 21:53:50 +0000 (21:53 +0000)]
Merge r264084: make the Dresden Elektronik "USB Level Shifter Low Cost"
known to the FTDI driver.

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

10 years agoMFC r263429
asomers [Thu, 10 Apr 2014 19:51:33 +0000 (19:51 +0000)]
MFC r263429

Fix kern/187712: config(8) does not respect KERNCONFDIR.
The impact of this bug is that you cannot build a kernel if both of the
following are true:
1) The kernel config file is in a non-default location
2) The kernel config file uses the "include" statement from config(5).

usr.sbin/config/main.c
usr.sbin/config/config.8
usr.sbin/config/config.h
usr.sbin/config/lang.l
Added a "-I path" option to config(8).  By analogy to cc(1), it adds
an extra path in which the "include" statement will search for
files.

Makefile.inc1
        Pass "-I ${KERNCONFDIR}" to config(8).

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

10 years agoMFC r264238:
dim [Thu, 10 Apr 2014 07:00:24 +0000 (07:00 +0000)]
MFC r264238:

For GNU as, add two missing modes for each of the fcomip and fucomip
instructions.  Partially obtained from OpenBSD by Pedro Giffuni, while I
added the fcomip variants.

Apparently this should help with compiling certain variants of WebKit.

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