New FreeBSD snapshots and virtual machine disk images (20130713 r253328)

Glen Barber gjb at FreeBSD.org
Mon Jul 15 02:28:13 UTC 2013


New FreeBSD development branch installation ISOs and virtual machine
disk images have been uploaded to the FTP mirrors.

Subversion logs since the last set of snapshots attached to this
email.

As with any development branch, the installation snapshots are not
intended for use on production systems.  We do, however, encourage
testing on non-production systems as much as possible.

If tracking the stable/9 branch or planning to upgrade systems to
9.2-RELEASE, testing the stable/9 snapshots is strongly encouraged
so that potential problems may be found and fixed before the release.

Important note: non-x86 snapshots are generated in a cross-build
environment, not natively built on their respective architectures.

Checksums for the installation ISOs and the VM disk images follow at
the end of this email.

=== Installation ISOs ===

bootonly.iso, release.iso, and memstick images are available for:

  o 10.0-CURRENT amd64
  o 10.0-CURRENT i386
  o 10.0-CURRENT powerpc
  o 10.0-CURRENT powerpc64
  o 9.1-STABLE amd64
  o 9.1-STABLE i386
  o 9.1-STABLE powerpc
  o 9.1-STABLE powerpc64

Snapshots may be downloaded from the corresponding architecture
directory from:

    ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/

Please be patient if your local FTP mirror has not yet caught
up with the changes.

Problems, bug reports, or regression reports should be reported
through the GNATS PR system or the appropriate mailing list, such
as -current@ or -stable@ .

=== Virtual Machine Disk Images ===
 
VM disk images are available for the following FreeBSD branches for
the amd64 and i386 architectures:

  o 10.0-CURRENT amd64
  o 10.0-CURRENT i386
  o 9.1-STABLE amd64
  o 9.1-STABLE i386

Disk images may be downloaded from the following URL (or any of the
FreeBSD FTP mirrors):

    ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/Latest/

Images are available in the following disk image formats:

    - QCOW2
    - VMDK

The partition layout is:

    - 512k - freebsd-boot GPT partition type (bootfs GPT label)
    - 1GB  - freebsd-swap GPT partition type (swapfs GPT label)
    - ~8GB - freebsd-ufs GPT partition type  (rootfs UFS label)

Checksums for the current set of snapshots and images:

=== Installation ISOs ===

o 10.0-CURRENT amd64:

SHA256 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328-bootonly.iso) = 4fc211f78698f054993dc74b648372a76637e1ca62dbc982d663bde0d584e32f
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328-memstick) = f2d0ed70812a2f6bd6782b3bef067d4528218bd9fd46b190eb0d91ed0fefacd8
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328-release.iso) = 61f1d4307a6d73e0a27a1824f3453c2c6bd5f580cc4ca177d0ec1f8fd6762c5e
MD5 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328-bootonly.iso) = b5d85ae93d4d90d589cbfae4fa668a7f
MD5 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328-memstick) = a8cf352f803be1e1fdf411593a4ff07b
MD5 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328-release.iso) = a1e01b50e9b346673e2777d12582f991

o 10.0-CURRENT i386:

SHA256 (FreeBSD-10.0-CURRENT-i386-20130713-r253328-bootonly.iso) = 0be000f2c068d3ae5b6329f1b626f75c8655bf554c32dddb113ebe96fd2121c4
SHA256 (FreeBSD-10.0-CURRENT-i386-20130713-r253328-memstick) = f970196bd192fbf49ef5aecd2536774980c227366b2256b080da39e96860332a
SHA256 (FreeBSD-10.0-CURRENT-i386-20130713-r253328-release.iso) = c3052e9690e7a3d17f19ea77ed91212e330a346f6e1706a40d39c5caeb882c0d
MD5 (FreeBSD-10.0-CURRENT-i386-20130713-r253328-bootonly.iso) = 170a01020ebe73b7773f67c682c33ac1
MD5 (FreeBSD-10.0-CURRENT-i386-20130713-r253328-memstick) = ecba63d3306d546830f441efca39a14d
MD5 (FreeBSD-10.0-CURRENT-i386-20130713-r253328-release.iso) = 34bad6c7aa008461ac25b428c5ade5bf

o 10.0-CURRENT powerpc:

SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130713-r253328-bootonly.iso) = 4f8ef4c79dd5639bdaee97ebe4ec2994dc9aa28fd95f55ef605528db6bf1f127
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130713-r253328-memstick) = 8bd484c48c16e9358ce1c641a59c36c54d3d17b5bae5517e0576be844116ba60
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130713-r253328-release.iso) = e25c8d63cb70500ba4141722258de46e0bf6dcca7fec94c1a93658e352d28e3c
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130713-r253328-bootonly.iso) = 73139a9981346a034d3f96fb8aff1a9f
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130713-r253328-memstick) = a04b4355c0284544bca3b70c00d3fcbd
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130713-r253328-release.iso) = 4ecaddbea3ef943fc07f81ef85299d9c

o 10.0-CURRENT powerpc64:

SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130713-r253328-bootonly.iso) = 90674bd3c33c3c2e609cae217d2b77ae9583ceb80e2fbc6af0ae637e6e54749c
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130713-r253328-memstick) = 12f973224ed701154296fa202e9677392f94f7ddd9cf2f2451812077ac3a9cfc
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130713-r253328-release.iso) = c2d8ad27a92d023548dc13d7a711a432cc6b61031bb3c1d23d66d5ed86e0cbc7
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130713-r253328-bootonly.iso) = ac6c530eec9d14757630d032507eee22
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130713-r253328-memstick) = a61c6d0798b05644b89d831bb3892f44
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130713-r253328-release.iso) = e6528280ced6b091231f8f99f5e70c90

o 9.2-PRERELEASE amd64:

SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328-bootonly.iso) = c94901bc90f20d72f03f0b5472c30b2013430cd71760ea9e0351e14d5ab32a49
SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328-memstick) = 0e3b9e4b494887ac47ae0a441bb2910bcebbd17e0deb6b10f906a4d83128ee32
SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328-release.iso) = d7247de43c9e5890c8ad161392aa9cfb8b91b3151bd3da27c2eae28299f5d845
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328-bootonly.iso) = 069942059a4b07b775054b6442e28ede
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328-memstick) = 7ce578528647c6d58ff82f1933eff5ac
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328-release.iso) = 319dbbd926cd864516c840a14a3171e5

o 9.2-PRERELEASE i386:

SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328-bootonly.iso) = d3e5130610ecc17c40dd4e201e3996e6b0ad18653d54d44ff363e1fab9aa2134
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328-memstick) = 432b5607809a372824a8afe00f85a66bb37965513572e8d6e3e314a8038582f8
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328-release.iso) = 4e87d9f2e17802f26a1fbe09efd031762dd863dfbf4a679894b49cf5982b2500
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328-bootonly.iso) = 7075c4cc825118f7bbc1831a785c9cbc
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328-memstick) = 667d90efb4e45de39b47d1569751f3b0
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328-release.iso) = 9a7cbc9eaff5404601967bb6bb348910

o 9.2-PRERELEASE powerpc:

SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130713-r253328-bootonly.iso) = dee6b1aa2da26c8c8db3398d9850d47e65965972114aea3cc0a3c19dc6543b80
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130713-r253328-memstick) = cfd09045d3c97b5525913fa201a9b90caa367e0f351c0b1cdefeb079f40c2558
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130713-r253328-release.iso) = 78665333e3b583c7b21edb9f0790c0fe9f2ef207f929796c99916ac56a4c9756
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130713-r253328-bootonly.iso) = f86d6c221ad8f5a1ee5c211ee25250ec
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130713-r253328-memstick) = c9e51c21bffe09d36c7e8567f15975f0
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130713-r253328-release.iso) = 2c8df24e246b74c57910b3a37bde9fb6

o 9.2-PRERELEASE powerpc64:

SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130713-r253328-bootonly.iso) = 93ec35cb72248be280922139be98c0de6ba6fe6bc530b2ad3d7aedc6effcaa93
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130713-r253328-memstick) = e6e290615d8a07243f88f8d2686e1ec4748ecf1e9fdbf9f09e871562e67fb070
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130713-r253328-release.iso) = 307f81e70b8b379d91f563eb77e30c02c53435783bc96398b192bef474630d25
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130713-r253328-bootonly.iso) = b893280068403f3333bacc840720a246
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130713-r253328-memstick) = b5dd476a9df9a61455509b2682f5f8b1
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130713-r253328-release.iso) = 6e0ecd656510f47f1208adb4b01d1354


=== Virtual Machine Disk Images ===

o 10.0-CURRENT amd64:

SHA256 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328.qcow2.xz) = 945b4269153d4db2b1d9691463cc8f50bce71568f8d6d8fd886c14daffcf9d3d
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328.vmdk.xz) = 386488c28ea245e52e17e5fc0e2db6eeed38113be278805300088435b710f723
MD5 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328.qcow2.xz) = 3e3cfe06003b6fa0831b501235e98a0f
MD5 (FreeBSD-10.0-CURRENT-amd64-20130713-r253328.vmdk.xz) = 40bdc58224cfb0fdbd9f07849ba7a6f2

o 10.0-CURRENT i386:

SHA256 (FreeBSD-10.0-CURRENT-i386-20130713-r253328.qcow2.xz) = 9dcc4dc659c8453bcf23a9db5d2951ac4484cd2e9f7def903042f964110cb13e
SHA256 (FreeBSD-10.0-CURRENT-i386-20130713-r253328.vmdk.xz) = ea049ad40a2cacde48f6cc401eb0928ed97693349f2bbd3516311aaa6e933017
MD5 (FreeBSD-10.0-CURRENT-i386-20130713-r253328.qcow2.xz) = 5c26c84e7cb0c7ee7b7edc664235002b
MD5 (FreeBSD-10.0-CURRENT-i386-20130713-r253328.vmdk.xz) = 2e869d1f6843c53413f00298f3b0b881

o 9.2-PRERELEASE amd64:

SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328.qcow2.xz) = e723f9944d684ae4f90f415d5d8fc3e7303f40731d122e920f0fb4b561b076b2
SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328.vmdk.xz) = 7eefae17427011be16103e3dd3f7b05b393106108b242d8a2fcdcd36d5fa807f
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328.qcow2.xz) = f6ea3c9632f668801cc86896f8e5e327
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130713-r253328.vmdk.xz) = ee8fb46537723da0e79c6f1293c33925

o 9.2-PRERELEASE i386:

SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328.qcow2.xz) = 327042c35b0336db2aeefea0831a483fb3880f6e9266e65c57928902fcc35080
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328.vmdk.xz) = 675de92a8c8b64199116da072a5ec0acbc5820afec5a2d1142c20e3b79369431
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328.qcow2.xz) = f929d40ab7ba6206993bf15acf91d36c
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130713-r253328.vmdk.xz) = 4a84ee7f5517eb9667297ebe0a6c883b

Regards,

Glen

-------------- next part --------------
------------------------------------------------------------------------
r252890 | pfg | 2013-07-06 18:28:06 +0000 (Sat, 06 Jul 2013) | 19 lines

Initial implementation of the HTree directory index.

This is a port of NetBSD's GSoC 2012 Ext3 HTree directory indexing
by Vyacheslav Matyushin.  It was cleaned up and enhanced for FreeBSD
by Zheng Liu (lz@).

This is an excellent example of work shared among different projects:
Vyacheslav was able to look at an early prototype from Zheng Liu who
was also able to check the code from Haiku (with permission).

As in linux, the feature is not available by default and must be
enabled explicitly with tune2fs. We still do not support the
workarounds required in readdir for NFS.

Submitted by:	Zheng Liu
Tested by:	Mike Ma
Sponsored by:	Google Inc.
MFC after:	1 week

------------------------------------------------------------------------
r252892 | netchild | 2013-07-06 19:59:06 +0000 (Sat, 06 Jul 2013) | 9 lines

- Move videodev headers from compat/linux to contrib/v4l (cp from vendor and
  apply diff to compat/linux versions).
- The cp implies an update of videodev2.h to the linux kernel 2.6.34.14 one.

The update makes video in skype v4 work on FreeBSD.

Tested by:	Artyom Mirgorodskiy <artyom.mirgorodsky at gmail.com>
		(update of header only)

------------------------------------------------------------------------
r252894 | markj | 2013-07-06 20:21:35 +0000 (Sat, 06 Jul 2013) | 4 lines

Add SDT_PROBE_DEFINE0 for consistency with SDT_PROBE0.

MFC after:	1 week

------------------------------------------------------------------------
r252895 | markj | 2013-07-06 20:31:22 +0000 (Sat, 06 Jul 2013) | 5 lines

Add a man page for the SDT_* macros, which can be used to define new static
DTrace probes and providers in kernel code.

MFC after:	1 week

------------------------------------------------------------------------
r252906 | pfg | 2013-07-07 01:12:29 +0000 (Sun, 07 Jul 2013) | 8 lines

Add files related to ext2 HTree implementation

These should've been added along with r252890

Reported by:	gonzo
PointyHat:	pfg
MFC after:	1 week

------------------------------------------------------------------------
r252907 | pfg | 2013-07-07 01:32:52 +0000 (Sun, 07 Jul 2013) | 4 lines

Fix some typos.

MFC after:	1 week

------------------------------------------------------------------------
r252912 | gonzo | 2013-07-07 04:18:35 +0000 (Sun, 07 Jul 2013) | 3 lines

- Add initial host mode support for Mentor Graphics USB OTG controller
- Sync musb_otg_atmelarm with new core logic API

------------------------------------------------------------------------
r252913 | gonzo | 2013-07-07 04:22:08 +0000 (Sun, 07 Jul 2013) | 3 lines

- Add USBSS driver for AM335x SoC. Driver is a wrapper around Mentors Graphic
   USB OTG core.

------------------------------------------------------------------------
r252914 | gonzo | 2013-07-07 04:23:29 +0000 (Sun, 07 Jul 2013) | 3 lines

- Add musb node to shared dtsi and proper pin configuratin for every
    AM553x-based device

------------------------------------------------------------------------
r252915 | gonzo | 2013-07-07 04:24:38 +0000 (Sun, 07 Jul 2013) | 2 lines

- Add USFS driver as an example of device mode for AM335x-based devices

------------------------------------------------------------------------
r252956 | pfg | 2013-07-07 15:51:28 +0000 (Sun, 07 Jul 2013) | 6 lines

Implement SEEK_HOLE/SEEK_DATA for ext2fs.

Merged from r236044 on UFS.

MFC after:	3 days

------------------------------------------------------------------------
r252965 | imp | 2013-07-07 16:12:22 +0000 (Sun, 07 Jul 2013) | 34 lines

Remove all the NOPs after SYNC. They aren't needed.

They originated in the original Octeon port. They weren't present, as
far as I can tell, on the projects/mips branch until after this
point. They were in the original Octeon port in code picked up from
the vendor, who I've been able to find out trolling old email put them
there to get around an SMP problem that most likely was fixed in other
ways.

NetBSD and Linux don't have these, except for some specific uses of
SYNC on the alchemy parts (which we don't support, but even if we did
it is only a specific case and would be specifically coded
anyway). This is true of the current Linux code, as well as one old
version I polled.

I looked back at the old R12000, R8000, R6000, R4000, R4400 errata
that I have, and could find no mention of SYNC needing NOPs for
silicon bugs (although plenty of other cases where NOPs and other
contortions were needed).

An Google search turned up no old mailing list discussions on this on
Linux, NetBSD or FreeBSD (except the disussion that kicked off these
studies).

I've test booted this on my Octeon Plus eval board and survived a
buildworld. Adrian Chadd reports that this patch has no ill effects on
the Ahteros platforms he tested it on.

I conclude it is safe to just remove the NOPs. But added
__MIPS_PLATFORM_SYNC_NOPS as a failsafe in case we find some platform
where these are, in fact, required.

Reviewed by:	adrian@

------------------------------------------------------------------------
r252980 | dteske | 2013-07-07 18:21:30 +0000 (Sun, 07 Jul 2013) | 3 lines

Be consistent with other usr.sbin programs w/respect to the copyright
wording ("All rights reserved."); I had the casing wrong on many instances.

------------------------------------------------------------------------
r252982 | dteske | 2013-07-07 18:34:36 +0000 (Sun, 07 Jul 2013) | 3 lines

Be consistent with other usr.sbin programs w/respect to the copyright
wording ("All rights reserved."); I had the casing wrong on many instances.

------------------------------------------------------------------------
r252987 | dteske | 2013-07-07 18:51:44 +0000 (Sun, 07 Jul 2013) | 2 lines

Fix typos in the BSD License.

------------------------------------------------------------------------
r252996 | rpaulo | 2013-07-07 19:19:18 +0000 (Sun, 07 Jul 2013) | 2 lines

Fix all the compiler warnings in elf_trampoline.c.

------------------------------------------------------------------------
r252997 | rpaulo | 2013-07-07 19:22:31 +0000 (Sun, 07 Jul 2013) | 2 lines

armadaxp_idcache_wbinv_all() is in this file.

------------------------------------------------------------------------
r252998 | rpaulo | 2013-07-07 19:47:22 +0000 (Sun, 07 Jul 2013) | 7 lines

Add a mailbox interface.

Mailboxes are an IPC mechanism found on several ARM architectures, namely
OMAP4, BCM2385, Sitara, etc.

Reviewed by:	gonzo

------------------------------------------------------------------------
r253002 | alfred | 2013-07-07 20:39:11 +0000 (Sun, 07 Jul 2013) | 2 lines

Document tip on how to build all kernels quickly.

------------------------------------------------------------------------
r253003 | alfred | 2013-07-07 20:44:04 +0000 (Sun, 07 Jul 2013) | 2 lines

Correct typo specifying jflags.

------------------------------------------------------------------------
r253004 | pjd | 2013-07-07 21:19:53 +0000 (Sun, 07 Jul 2013) | 28 lines

Sandbox tcpdump(8) using Capsicum's capability mode and capabilities.
For now, sandboxing is done only if -n option was specified and neither -z nor
-V options were given. Because it is very common to run tcpdump(8) with the -n
option for speed, I decided to commit sandboxing now. To also support
sandboxing when -n option wasn't specified, we need Casper daemon and its
services that are not available in FreeBSD yet.

- Limit file descriptors of a file specified by -r option or files specified
  via -V option to CAP_READ only.

- If neither -r nor -V options were specified, we operate on /dev/bpf.
  Limit its descriptor to CAP_READ and CAP_IOCTL plus limit allowed ioctls to
  BIOCGSTATS only.

- Limit file descriptor of a file specified by -w option to CAP_SEEK and
  CAP_WRITE.

- If either -C or -G options were specified, we open directory containing
  destination file and we limit directory descriptor to CAP_CREATE, CAP_FCNTL,
  CAP_FTRUNCATE, CAP_LOOKUP, CAP_SEEK and CAP_WRITE. Newly opened/created
  files are limited to CAP_SEEK and CAP_WRITE only.

- Enter capability mode if -n option was specified and neither -z nor -V
  options were specified.

Approved by:	delphij, wxs
Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r253005 | rpaulo | 2013-07-07 21:20:52 +0000 (Sun, 07 Jul 2013) | 2 lines

Another warning.

------------------------------------------------------------------------
r253006 | rpaulo | 2013-07-07 21:23:58 +0000 (Sun, 07 Jul 2013) | 4 lines

Convert bcm2835_mbox to the new mbox interface.

Reviewed by:	gonzo

------------------------------------------------------------------------
r253007 | alfred | 2013-07-07 21:39:37 +0000 (Sun, 07 Jul 2013) | 6 lines

Make kassert_printf use __printflike.

Fix associated errors/warnings while I'm here.

Requested by: avg

------------------------------------------------------------------------
r253009 | edwin | 2013-07-07 22:23:59 +0000 (Sun, 07 Jul 2013) | 14 lines

MFV of tzdata2013d, 253008

- Morocco:
  announced that the year's Ramadan daylight-savings transitions
  would be 2013-07-07 and 2013-08-10.

- Israel:
  As of 2013, DST starts at 02:00 on the Friday before the last
  Sunday in March.  DST ends at 02:00 on the first Sunday after
  October 1, unless it occurs on the second day of the Jewish Rosh
  Hashana holiday, in which case DST ends a day later (i.e. at 02:00
  the first Monday after October 2).  [Rosh Hashana holidays are
  factored in until 2100.]

------------------------------------------------------------------------
r253015 | rmacklem | 2013-07-08 00:50:57 +0000 (Mon, 08 Jul 2013) | 7 lines

Add a new "-h" option to the gssd daemon that enables support for
host based (kerberos service principal) initiator credentials in
the default keytab file. This option won't actually be useful until
the corresponding kernel changes are committed.

Reviewed by:	jhb

------------------------------------------------------------------------
r253016 | rmacklem | 2013-07-08 00:57:12 +0000 (Mon, 08 Jul 2013) | 5 lines

Document the new "-h" option for the gssd daemon.
This is a content change.

Reviewed by:	jhb

------------------------------------------------------------------------
r253017 | rmacklem | 2013-07-08 01:08:57 +0000 (Mon, 08 Jul 2013) | 2 lines

Make sure the krb5 status variables are correctly initialized.

------------------------------------------------------------------------
r253018 | rmacklem | 2013-07-08 01:29:09 +0000 (Mon, 08 Jul 2013) | 2 lines

Oops, initialize the krb5 ret values correctly (to anything non-zero).

------------------------------------------------------------------------
r253020 | rmacklem | 2013-07-08 01:47:50 +0000 (Mon, 08 Jul 2013) | 5 lines

Fix some Kerberos related terminology.
This is a content change.

Requested by:	bjk

------------------------------------------------------------------------
r253022 | markj | 2013-07-08 02:03:18 +0000 (Mon, 08 Jul 2013) | 2 lines

Also define SDT_PROBE_DEFINE0 for the !KDTRACE_HOOKS case.

------------------------------------------------------------------------
r253023 | gonzo | 2013-07-08 04:27:03 +0000 (Mon, 08 Jul 2013) | 2 lines

- AM335x requires updated soft-reset logic too

------------------------------------------------------------------------
r253024 | gonzo | 2013-07-08 04:30:12 +0000 (Mon, 08 Jul 2013) | 3 lines

- MMC1 (internal eMMC) pins should be configured as input-pullup, except
    for reset pin

------------------------------------------------------------------------
r253025 | gonzo | 2013-07-08 05:06:32 +0000 (Mon, 08 Jul 2013) | 2 lines

Add IDs for TPS65217C and TPS65217D

------------------------------------------------------------------------
r253026 | joel | 2013-07-08 05:58:09 +0000 (Mon, 08 Jul 2013) | 2 lines

mdoc: remove superfluous paragraph macros.

------------------------------------------------------------------------
r253027 | adrian | 2013-07-08 06:10:29 +0000 (Mon, 08 Jul 2013) | 2 lines

Add AR9341, AR9342, AR9344 SoC types.

------------------------------------------------------------------------
r253028 | adrian | 2013-07-08 06:12:38 +0000 (Mon, 08 Jul 2013) | 4 lines

Import the initial SoC register definitions for the AR934x MIPS74k SoC.

Obtained from:	Linux/OpenWRT

------------------------------------------------------------------------
r253036 | mav | 2013-07-08 15:28:09 +0000 (Mon, 08 Jul 2013) | 4 lines

Add quirk to configure headphones redirection on ASUS UX31A laptop.

MFC after:	3 days

------------------------------------------------------------------------
r253040 | hiren | 2013-07-08 16:03:18 +0000 (Mon, 08 Jul 2013) | 5 lines

Move to MSG_DEBUG to print it via syslog only when requested.

Reviewed by:	rpaulo, adrian
Approved by:	sbruno (mentor)

------------------------------------------------------------------------
r253042 | dim | 2013-07-08 17:57:11 +0000 (Mon, 08 Jul 2013) | 17 lines

Pull in r185616 from llvm trunk:

  FastISel can only append to basic blocks.

  Compute the insertion point from the end of the basic block instead of
  skipping labels from the front.

  This caused failures in landing pads when live-in copies where inserted
  before instruction selection.

I missed this change in r252720; without it, certain compilation flags
can cause exception labels to not be generated, but still referenced,
leading to link errors.

Reported by:	zeising
MFC after:	3 days

------------------------------------------------------------------------
r253045 | pfg | 2013-07-08 20:21:36 +0000 (Mon, 08 Jul 2013) | 7 lines

Avoid a panic and return EINVAL instead.

Merge from UFS r232692:
syscall() fuzzing can trigger this panic.

MFC after:	3 days

------------------------------------------------------------------------
r253046 | asomers | 2013-07-08 21:10:30 +0000 (Mon, 08 Jul 2013) | 6 lines

Correct the printf format specifier for total_events.
Add __printflike argument checking for devdlog().

Reported by: pjd
Approved by: gibbs (co-mentor)

------------------------------------------------------------------------
r253047 | jhb | 2013-07-08 21:17:20 +0000 (Mon, 08 Jul 2013) | 4 lines

Fix build with INVARIANT_SUPPORT enabled but not INVARIANTS.

Reported by:	"Matthew D. Fuller" <fullermd at over-yonder.net>

------------------------------------------------------------------------
r253048 | jhb | 2013-07-08 21:25:12 +0000 (Mon, 08 Jul 2013) | 11 lines

Allow mlx4 devices to switch from Ethernet to Infiniband (and vice versa):
- Fix sysctl wrapper for sysfs attributes to properly handle new string
  values similar to sysctl_handle_string() (only copyin the user's
  supplied length and nul-terminate the string).
- Don't check for a trailing newline when evaluating the desired operating
  mode of a mlx4 device.

PR:		kern/179999
Submitted by:	Shahar Klein <shahark at mellanox.com>
MFC after:	1 week

------------------------------------------------------------------------
r253049 | rmacklem | 2013-07-09 01:05:28 +0000 (Tue, 09 Jul 2013) | 7 lines

Add support for host-based (Kerberos 5 service principal) initiator
credentials to the kernel rpc. Modify the NFSv4 client to add
support for the gssname and allgssname mount options to use this
capability. Requires the gssd daemon to be running with the "-h" option.

Reviewed by:	jhb

------------------------------------------------------------------------
r253050 | pfg | 2013-07-09 01:31:04 +0000 (Tue, 09 Jul 2013) | 11 lines

Enhancement when writing an entire block of a file.

Merge from UFS r231313:

This change first attempts the uiomove() to the newly allocated
(and dirty) buffer and only zeros it if the uiomove() fails. The
effect is to eliminate the gratuitous zeroing of the buffer in
the usual case where the uiomove() successfully fills it.

MFC after:	3 days

------------------------------------------------------------------------
r253051 | rmacklem | 2013-07-09 01:31:36 +0000 (Tue, 09 Jul 2013) | 4 lines

Document the "gssname" and "allgssname" mount options added by the
host-based initiator credential patches.
This is a content change.

------------------------------------------------------------------------
r253052 | emaste | 2013-07-09 01:55:34 +0000 (Tue, 09 Jul 2013) | 4 lines

Remove extraneous format string converison specifier

Submitted by:	wxs@

------------------------------------------------------------------------
r253053 | rpaulo | 2013-07-09 02:50:05 +0000 (Tue, 09 Jul 2013) | 2 lines

Improve a comment.

------------------------------------------------------------------------
r253054 | rpaulo | 2013-07-09 03:00:06 +0000 (Tue, 09 Jul 2013) | 4 lines

Use meaningful names when creating mmc/sd threads.

This can be useful when we want to be able to identify which mmcsd is stuck.

------------------------------------------------------------------------
r253057 | hrs | 2013-07-09 07:03:54 +0000 (Tue, 09 Jul 2013) | 2 lines

Add a missing white space.

------------------------------------------------------------------------
r253058 | hrs | 2013-07-09 07:08:36 +0000 (Tue, 09 Jul 2013) | 6 lines

- Add missing "static" keywords.
- Add a check for ifindex to if_indextoifinfo().  It returns NULL when
  if_indextoname() fails.

MFC after:	3 days

------------------------------------------------------------------------
r253060 | hrs | 2013-07-09 07:55:47 +0000 (Tue, 09 Jul 2013) | 2 lines

Document IPv6 support.

------------------------------------------------------------------------
r253061 | hrs | 2013-07-09 07:57:10 +0000 (Tue, 09 Jul 2013) | 2 lines

Remove $swapfile and $geli_swap_flags.

------------------------------------------------------------------------
r253066 | hrs | 2013-07-09 08:23:43 +0000 (Tue, 09 Jul 2013) | 2 lines

Update references.

------------------------------------------------------------------------
r253067 | avg | 2013-07-09 08:29:14 +0000 (Tue, 09 Jul 2013) | 8 lines

zfsboottest: sync with changes in zfs boot code

- spa status can not be called before spa init
- libzfs.h inclusion is now required
- fix alternative code for explicit root dataset lookup

MFC after:	10 days

------------------------------------------------------------------------
r253068 | avg | 2013-07-09 08:30:31 +0000 (Tue, 09 Jul 2013) | 4 lines

zfsboottest.sh: remove checks for things that are not strictly required

MFC after:	10 days

------------------------------------------------------------------------
r253069 | mav | 2013-07-09 08:32:17 +0000 (Tue, 09 Jul 2013) | 5 lines

Add one more ID of Marvell SATA controller.

Submitted by:	marck
MFC after:	3 days

------------------------------------------------------------------------
r253070 | avg | 2013-07-09 08:37:42 +0000 (Tue, 09 Jul 2013) | 4 lines

zfs: load zpool.cache after a root fs is mounted

MFC after:	3 weeks

------------------------------------------------------------------------
r253071 | avg | 2013-07-09 08:40:05 +0000 (Tue, 09 Jul 2013) | 6 lines

default loader.conf: there is no need to load zpool.cache now

kernel does not need it for importing a root pool.

MFC after:	4 weeks

------------------------------------------------------------------------
r253072 | avg | 2013-07-09 08:42:02 +0000 (Tue, 09 Jul 2013) | 7 lines

amd64: use -mno-omit-leaf-frame-pointer in addition to -fno-omit-frame-pointer

... in kernel builds.  This is to make behavior of clang consistent with
behavior of gcc.

MFC after:	2 weeks

------------------------------------------------------------------------
r253073 | avg | 2013-07-09 08:47:11 +0000 (Tue, 09 Jul 2013) | 8 lines

zfs: try to properly handle i/o errors in mappedread_sf

Unconditionally freeing a page is not good, especially if it is the page
that was wired by the caller.  The checks are picked up from
kern_sendfile.

MFC after:	3 weeks

------------------------------------------------------------------------
r253074 | mav | 2013-07-09 08:49:17 +0000 (Tue, 09 Jul 2013) | 4 lines

Add ID for Marvell 88SE9215 AHCI SATA controller.

MFC after:	3 days

------------------------------------------------------------------------
r253075 | avg | 2013-07-09 08:58:34 +0000 (Tue, 09 Jul 2013) | 6 lines

namecache sdt: freebsd doesn't support structured characters yet

:-)

MFC after:	 7 days

------------------------------------------------------------------------
r253076 | avg | 2013-07-09 08:59:39 +0000 (Tue, 09 Jul 2013) | 7 lines

rc.d/zfs: pass -v option to zfs mount

this should make boot process more informative (and entertaining)
on systems with lots of zfs filesystems.

MFC after:	7 days

------------------------------------------------------------------------
r253077 | avg | 2013-07-09 09:01:44 +0000 (Tue, 09 Jul 2013) | 12 lines

should_yield: protect from td_swvoltick being uninitialized or too stale

The distance between ticks and td_swvoltick should be calculated as
an unsigned number.  Previously we could end up comparing a negative
number with hogticks in which case should_yield() would give incorrect
answer.

We should probably ensure that td_swvoltick is properly initialized.

Sponsored by:	HybridCluster
MFC after:	5 days

------------------------------------------------------------------------
r253078 | avg | 2013-07-09 09:03:01 +0000 (Tue, 09 Jul 2013) | 7 lines

audit_proc_coredump: check return value of audit_new

audit_new may return NULL if audit is disabled or suspended.

Sponsored by:	HybridCluster
MFC after:	7 days

------------------------------------------------------------------------
r253079 | avg | 2013-07-09 09:05:00 +0000 (Tue, 09 Jul 2013) | 6 lines

dtrace/fasttrap: install hook functions only after all data is
initialized

Sponsored by:	HybridCluster
MFC after:	 7 days

------------------------------------------------------------------------
r253081 | ae | 2013-07-09 09:32:06 +0000 (Tue, 09 Jul 2013) | 9 lines

Prepare network statistics structures for migration to PCPU counters.
Use uint64_t as type for all fields of structures.

Changed structures: ahstat, arpstat, espstat, icmp6_ifstat, icmp6stat,
in6_ifstat, ip6stat, ipcompstat, ipipstat, ipsecstat, mrt6stat, mrtstat,
pfkeystat, pim6stat, pimstat, rip6stat, udpstat.

Discussed with:	arch@

------------------------------------------------------------------------
r253082 | ae | 2013-07-09 09:37:21 +0000 (Tue, 09 Jul 2013) | 2 lines

Add several macros to help migrate statistics structures to PCPU counters.

------------------------------------------------------------------------
r253083 | ae | 2013-07-09 09:43:03 +0000 (Tue, 09 Jul 2013) | 3 lines

Use new macros to implement ipstat and tcpstat using PCPU counters.
Change interface of kread_counters() similar ot kread() in the netstat(1).

------------------------------------------------------------------------
r253084 | ae | 2013-07-09 09:50:15 +0000 (Tue, 09 Jul 2013) | 3 lines

Migrate structs arpstat, icmpstat, mrtstat, pimstat and udpstat to PCPU
counters.

------------------------------------------------------------------------
r253085 | ae | 2013-07-09 09:54:54 +0000 (Tue, 09 Jul 2013) | 2 lines

Migrate structs ip6stat, icmp6stat and rip6stat to PCPU counters.

------------------------------------------------------------------------
r253086 | ae | 2013-07-09 09:59:46 +0000 (Tue, 09 Jul 2013) | 2 lines

Migrate structs in6_ifstat and icmp6_ifstat to PCPU counters.

------------------------------------------------------------------------
r253087 | ae | 2013-07-09 10:02:51 +0000 (Tue, 09 Jul 2013) | 2 lines

Migrate struct carpstats to PCPU counters.

------------------------------------------------------------------------
r253088 | ae | 2013-07-09 10:08:13 +0000 (Tue, 09 Jul 2013) | 3 lines

Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat,
ipsec4stat, ipsec6stat to PCPU counters.

------------------------------------------------------------------------
r253089 | ae | 2013-07-09 10:20:27 +0000 (Tue, 09 Jul 2013) | 2 lines

Bump __FreeBSD_version to reflect changes in statistics structures.

------------------------------------------------------------------------
r253090 | rmh | 2013-07-09 10:27:26 +0000 (Tue, 09 Jul 2013) | 2 lines

Allow assert() to operate correctly when building userland code.

------------------------------------------------------------------------
r253091 | smh | 2013-07-09 10:41:17 +0000 (Tue, 09 Jul 2013) | 5 lines

Added 4K QUIRK for OCZ Vertex 4 SSDs

Submitted by:	Borja Marcos <borjam at sarenet.es>
MFC after:	2 days

------------------------------------------------------------------------
r253093 | joel | 2013-07-09 12:25:44 +0000 (Tue, 09 Jul 2013) | 2 lines

Make mandoc lint happy.

------------------------------------------------------------------------
r253094 | kib | 2013-07-09 12:55:01 +0000 (Tue, 09 Jul 2013) | 7 lines

Use MSI for xhci(4), if supported.

Reviewed by:	jhb
Tested by:	dchagin
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week

------------------------------------------------------------------------
r253095 | kib | 2013-07-09 13:22:30 +0000 (Tue, 09 Jul 2013) | 4 lines

Fix typo in comment.

MFC after:	3 days

------------------------------------------------------------------------
r253098 | pfg | 2013-07-09 14:23:00 +0000 (Tue, 09 Jul 2013) | 7 lines

Reinstate the assertion from r253045.

UFS r232732 reverted the change as the real problem was to be fixed
at the syscall level.

Reported by:	bde

------------------------------------------------------------------------
r253099 | tuexen | 2013-07-09 14:38:26 +0000 (Tue, 09 Jul 2013) | 5 lines

Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statistics
accounting.

X-MFC with: r252026

------------------------------------------------------------------------
r253100 | ae | 2013-07-09 15:10:27 +0000 (Tue, 09 Jul 2013) | 2 lines

Correct CTASSERT condition.

------------------------------------------------------------------------
r253101 | ae | 2013-07-09 15:20:46 +0000 (Tue, 09 Jul 2013) | 2 lines

Correct the size of allocated memory to store array of counters.

------------------------------------------------------------------------
r253102 | jkim | 2013-07-09 18:15:59 +0000 (Tue, 09 Jul 2013) | 2 lines

Remove redundant definitions to appease tinderbox.

------------------------------------------------------------------------
r253103 | imp | 2013-07-09 19:01:38 +0000 (Tue, 09 Jul 2013) | 22 lines

Nearly a complete rewrite of elf.h.

Start with NetBSD's sys/arch/mips/include/elf_machdep.h 1.18. Remove the NetBSD
specific glue pieces (leaving mostly just relocation types).

Add in FreeBSD specific glue pieces from older versions of this file, and
move to the top of the file:
r237430 | kib | 2012-06-22 00:38:31 -0600 (Fri, 22 Jun 2012) | 5 lines
r232449 | jmallett | 2012-03-03 01:19:18 -0700 (Sat, 03 Mar 2012) | 18 lines
r217097 | kib | 2011-01-07 07:22:34 -0700 (Fri, 07 Jan 2011) | 3 lines
r211412 | kib | 2010-08-17 02:55:45 -0600 (Tue, 17 Aug 2010) | 7 lines
r202908 | gonzo | 2010-01-23 19:59:22 -0700 (Sat, 23 Jan 2010) | 4 lines
r195356 | imp | 2009-07-05 01:00:51 -0600 (Sun, 05 Jul 2009) | 6 lines
r195128 | gonzo | 2009-06-27 17:27:41 -0600 (Sat, 27 Jun 2009) | 4 lines
r197933 | kib | 2009-10-10 09:31:24 -0600 (Sat, 10 Oct 2009) | 9 lines
r189926 | kib | 2009-03-17 06:50:16 -0600 (Tue, 17 Mar 2009) | 9 lines
r186191 | imp | 2008-12-16 13:07:47 -0700 (Tue, 16 Dec 2008) | 7 lines
as closely as I can tell, the projects/mips branch merge was disruptive
to good history.

This should make merges easier in the future from NetBSD and vice versa.

------------------------------------------------------------------------
r253104 | tuexen | 2013-07-09 19:04:19 +0000 (Tue, 09 Jul 2013) | 5 lines

Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by
sctp_opt_info().

MFC after: 3 days

------------------------------------------------------------------------
r253105 | tuexen | 2013-07-09 19:12:47 +0000 (Tue, 09 Jul 2013) | 5 lines

Fix the handling of SCTP_CURRENT_ASSOC and SCTP_ALL_ASSOC in
sctp_opt_info().

MFC after: 3 days

------------------------------------------------------------------------
r253106 | kib | 2013-07-09 20:49:32 +0000 (Tue, 09 Jul 2013) | 18 lines

There are several code sequences like
      vfs_busy(mp);
      vfs_write_suspend(mp);
which are problematic if other thread starts unmount between two
calls.  The unmount starts a write, while vfs_write_suspend() drain
writers.  On the other hand, unmount drains busy references, causing
the deadlock.

Add a flag argument to vfs_write_suspend and require the callers of it
to specify VS_SKIP_UNMOUNT flag, when the call is performed not in the
mount path, i.e. the covered vnode is not locked.  The suspension is
not attempted if VS_SKIP_UNMOUNT is specified and unmount is in
progress.

Reported and tested by:	Andreas Longwitz <longwitz at incore.de>
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks

------------------------------------------------------------------------
r253107 | jimharris | 2013-07-09 21:02:45 +0000 (Tue, 09 Jul 2013) | 6 lines

Add pci_enable_busmaster() and pci_disable_busmaster() calls in
nvme_attach() and nvme_detach() respectively.

Sponsored by:	Intel
MFC after:	3 days

------------------------------------------------------------------------
r253108 | jimharris | 2013-07-09 21:03:39 +0000 (Tue, 09 Jul 2013) | 5 lines

Do not retry failed async event requests.

Sponsored by:	Intel
MFC after:	3 days

------------------------------------------------------------------------
r253109 | jimharris | 2013-07-09 21:14:15 +0000 (Tue, 09 Jul 2013) | 12 lines

Incorporate feedback from bde@ based on r252672 changes:

* Use 0/1 instead of sysexits.  Man pages are confusing on this topic,
  but 0/1 is sufficient for nvmecontrol.
* Use err function family where possible instead of fprintf/exit.
* Fix some typing errors.
* Clean up some error message inconsistencies.

Sponsored by:	Intel
Submitted by:	bde (parts of firmware.c changes)
MFC after:	3 days

------------------------------------------------------------------------
r253110 | jimharris | 2013-07-09 21:20:08 +0000 (Tue, 09 Jul 2013) | 8 lines

Try to read firmware image before prompting the user to confirm
firmware download.  This correctly prints an error and exits for
an incorrect firmware image name before prompting the user to
confirm the download.

Sponsored by:	Intel
MFC after:	3 days

------------------------------------------------------------------------
r253111 | jimharris | 2013-07-09 21:21:29 +0000 (Tue, 09 Jul 2013) | 6 lines

Update nvme(4) and nvd(4) to reflect recent work and upcoming inclusion
in 9.2 release.

Sponsored by:	Intel
MFC after:	3 days

------------------------------------------------------------------------
r253112 | jimharris | 2013-07-09 21:22:17 +0000 (Tue, 09 Jul 2013) | 4 lines

Update copyright dates.

MFC after:	3 days

------------------------------------------------------------------------
r253113 | jimharris | 2013-07-09 21:24:19 +0000 (Tue, 09 Jul 2013) | 6 lines

Add comment explaining why CACHE_LINE_SIZE is defined in nvme_private.h
if not already defined elsewhere.

Requested by:	attilio
MFC after:	3 days

------------------------------------------------------------------------
r253114 | jimharris | 2013-07-09 21:31:21 +0000 (Tue, 09 Jul 2013) | 10 lines

Send per-namespace logpage commands to the controller devnode, so they
are processed as admin commands, not I/O commands.

As part of this change, pull out the code for parsing a namespace node
string into a separate function, since it is used for both identify and
logpage commands.

Sponsored by:	Intel
MFC after:	3 days

------------------------------------------------------------------------
r253115 | jimharris | 2013-07-09 21:31:58 +0000 (Tue, 09 Jul 2013) | 5 lines

Condense the output for displaying LBA formats.

Sponsored by:	Intel
MFC after:	3 days

------------------------------------------------------------------------
r253116 | jimharris | 2013-07-09 21:33:12 +0000 (Tue, 09 Jul 2013) | 9 lines

Ensure controller or namespace node name is specified before trying to
access it.

While here, also fix the identify usage message to show the -v and -x
parameters.

Sponsored by:	Intel
MFC after:	3 days

------------------------------------------------------------------------
r253117 | dteske | 2013-07-09 21:53:57 +0000 (Tue, 09 Jul 2013) | 25 lines

Do two things: First, don't obscure the backtitle. Second, read ~/.dialogrc
if it exists to determine if use_shadow is true (ON) or false (OFF).

The purpose of determining the value of use_shadow is to know how many lines
to subtract from the maximum height value in assuring that the backtitle is
not obscured.

The detriment of obscuring the backtitle is that it provides information
that is not easily obtained elsewhere. That is the command-line shortcut
used to access the current menu. As you navigate from one dialog to the
next, invariably transparently corssing module boundaries, the backtitle
represents the command-line argument used to get there. Obscuring this
information with a widget that is too-tall and/or too-wide would see that
data go unnoticed (leaving few other ways to get that information in the
same helpful context).

So despite the fact that this change reduces the standard maximum height for
all widgets, there is a trap-door to prevent this calculation. If you want
to utilize the full screen height on the terminal (remember, this adjustment
is not made for Xdialog(1)) you can set $NO_BACKTITLE to 1 (or any non-NULL
value for that matter) and this calculation will be skipped. You will be
able to draw a widget that partially obscures the backtitle if-necessary.

MFC after:	1 day

------------------------------------------------------------------------
r253118 | dteske | 2013-07-09 22:01:05 +0000 (Tue, 09 Jul 2013) | 4 lines

Fix conditional (der should match the comment above it).

MFC after:	1 day

------------------------------------------------------------------------
r253119 | delphij | 2013-07-09 22:04:35 +0000 (Tue, 09 Jul 2013) | 4 lines

Sync with KAME.

MFC after:	1 month

------------------------------------------------------------------------
r253120 | marius | 2013-07-09 23:12:26 +0000 (Tue, 09 Jul 2013) | 16 lines

- As it turns out, not only MSI-X is broken for devices passed through by
  VMware up to at least ESXi 5.1. Actually, using INTx in that case instead
  may still result in interrupt storms, with MSI being the only working
  option in some configurations. So introduce a PCI_QUIRK_DISABLE_MSIX quirk
  which only blacklists MSI-X but not also MSI and use it for the VMware
  PCI-PCI-bridges. Note that, currently, we still assume that if MSI doesn't
  work, MSI-X won't work either - but that's part of the internal logic and
  not guaranteed as part of the API contract. While at it, add and employ
  a pci_has_quirk() helper.
  Reported and tested by: Paul Bucher
- Use NULL instead of 0 for pointers.

Submitted by:	jhb (mostly)
Approved by:	jhb
MFC after:	3 days

------------------------------------------------------------------------
r253121 | dteske | 2013-07-09 23:21:57 +0000 (Tue, 09 Jul 2013) | 2 lines

Adjust comments to fit within 80-columns.

------------------------------------------------------------------------
r253122 | obrien | 2013-07-09 23:47:28 +0000 (Tue, 09 Jul 2013) | 8 lines

Refactor random_systat to be a *random_systat. This avoids unnecessary
structure copying in random_ident_hardware(). This change will also help
further modularization of random(4) subsystem.

Submitted by: arthurmesh at gmail.com
Reviewed by: obrien
Obtained from: Juniper Networks

------------------------------------------------------------------------
r253134 | yongari | 2013-07-10 06:46:46 +0000 (Wed, 10 Jul 2013) | 5 lines

Avoid controller reinitialization which could be triggered by
dhclient(8) or alias addresses are added.

Tested by:	dcx dcy <dcbsdx at hotmail.com>

------------------------------------------------------------------------
r253136 | kevlo | 2013-07-10 07:15:39 +0000 (Wed, 10 Jul 2013) | 4 lines

Add the ARM processor-specific section types.

Reviewed by:	imp

------------------------------------------------------------------------
r253138 | des | 2013-07-10 07:40:30 +0000 (Wed, 10 Jul 2013) | 4 lines

Install authpf-noip.

MFC after:	3 days

------------------------------------------------------------------------
r253139 | hiren | 2013-07-10 08:21:09 +0000 (Wed, 10 Jul 2013) | 5 lines

Adding urtwn(4) firmware and related changes.

Reviewed by:	rpaulo
Approved by:	sbruno (mentor)

------------------------------------------------------------------------
r253140 | kib | 2013-07-10 09:24:03 +0000 (Wed, 10 Jul 2013) | 9 lines

Clear m->object for the page taken from the delayed free list for
reuse as the pv chink page in reclaim_pv_chunk().  Having non-NULL
m->object is wrong for page not owned by an object and confuses both
vm_page_free_toq() and vm_page_remove() when the page is freed later.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days

------------------------------------------------------------------------
r253141 | kib | 2013-07-10 10:11:43 +0000 (Wed, 10 Jul 2013) | 6 lines

When panicing due to the gjournal overflow, print the geom metadata
journal id.

Requested by:	Andreas Longwitz <longwitz at incore.de>
MFC after:	1 week

------------------------------------------------------------------------
r253142 | ray | 2013-07-10 10:15:38 +0000 (Wed, 10 Jul 2013) | 2 lines

Remove trailing whitespaces.

------------------------------------------------------------------------
r253144 | netchild | 2013-07-10 10:40:52 +0000 (Wed, 10 Jul 2013) | 7 lines

Fix build for gcc users by declaring variables for unions in structs which
don't declare a variable. The size before/after this change of the structs
doesn't change with gcc/clang.

Noticed by:	several
Suggested by:	Gary Jennejohn <gljennjohn at googlemail.com>

------------------------------------------------------------------------
r253149 | theraven | 2013-07-10 10:57:09 +0000 (Wed, 10 Jul 2013) | 2 lines

Report error for out-of-range numerical inputs.  Requested by brooks.

------------------------------------------------------------------------
r253150 | andre | 2013-07-10 12:06:01 +0000 (Wed, 10 Jul 2013) | 5 lines

Extend debug logging of TCP timestamp related specification
violations.

Update related comments and style.

------------------------------------------------------------------------
r253158 | marcel | 2013-07-10 15:35:25 +0000 (Wed, 10 Jul 2013) | 16 lines

Add vfs_mounted and vfs_unmounted events so that components can be informed
about mount and unmount events. This is used by Juniper to implement a more
optimal implementation of NetBSD's veriexec.

This change differs from r253224 in the following way:
o   The vfs_mounted handler is called before mountcheckdirs() and with
    newdp locked. vp is unlocked.
o   The event handlers are declared in <sys/eventhandler.h> and not in
    <sys/mount.h>. The <sys/mount.h> header is used in user land code
    that pretends to be kernel code and as such creates a very convoluted
    environment. It's hard to untangle.

Submitted by:	stevek at juniper.net
Discussed with:	pjd@
Obtained from:	Juniper Networks, Inc.

------------------------------------------------------------------------
r253159 | theraven | 2013-07-10 16:28:24 +0000 (Wed, 10 Jul 2013) | 2 lines

Import new libcxxrt / libc++.  This brings some bug fixes, including a potential race condition for static initialisers.

------------------------------------------------------------------------
r253161 | marcel | 2013-07-10 17:42:20 +0000 (Wed, 10 Jul 2013) | 21 lines

Protect against broken hardware. In this particular case, protect against
H/W not de-asserting the interrupt at all. On x86, and because of the
following conditions, this results in a hard hang with interrupts disabled:
1.  The uart(4) driver uses a spin lock to protect against concurrent
    access to the H/W. Spin locks disable and restore interrupts.
2.  Restoring the interrupt on x86 always writes the flags register. Even
    if we're restoring the interrupt from disabled to disabled.
3.  The x86 CPU has a short window in which interrupts are enabled when the
    flags register is written.
4.  The uart(4) driver registers a fast interrupt by default.

To catch this case, we first try to clear any pending H/W interrupts and in
particular, before setting up the interrupt. This makes sure the interrupt
is masked on the PIC. The interrupt handler now has a limit set on the
number of iterations it'll go through to clear interrupt conditions. If the
limit is hit, the handler will return FILTER_SCHEDULE_THREAD. The attach
function will check for this return code and avoid setting up the interrupt
and foce polling in that case.

Obtained from:	Juniper Networks, Inc.

------------------------------------------------------------------------
r253162 | rdivacky | 2013-07-10 18:07:01 +0000 (Wed, 10 Jul 2013) | 2 lines

Fix -Wmissing-variable-declarations compiler warning.

------------------------------------------------------------------------
r253163 | pfg | 2013-07-10 18:19:48 +0000 (Wed, 10 Jul 2013) | 10 lines

Change i_gen in UFS to an unsigned type.

Missing type change from r252435.

This fixes a "Stale NFS file handle" error.

Reported by:	Claude Bisson
Tested by:	Claude Bisson
Pointed hat:	pfg

------------------------------------------------------------------------
r253167 | trociny | 2013-07-10 19:44:43 +0000 (Wed, 10 Jul 2013) | 10 lines

In r227839, when removing libkvm dependency on procfs(5),
kvm_uread() function, used for reading from /proc/pid/mem, was
removed too. But the function declaration remained in kvm.h
public header and the soname was not bumped.

Remove kvm_uread() from kvm.h and bump the soname.

Reported by:	rmh
Discussed on:	arch

------------------------------------------------------------------------
r253172 | marcel | 2013-07-10 21:37:50 +0000 (Wed, 10 Jul 2013) | 16 lines

Add 2 builtin words for working with directories:
	isdir?		( fd -- bool )
	freaddir	( fd -- ptr len TRUE | FALSE )

The 'isdir?' word returns `true' if the file descriptor is for a
directory and `false' otherwise.

The 'freaddir' word reads the next directory entry and if successful,
returns its name and 'true'. Otherwise 'false' is returned.

These words give the loader the ability to scan directories and read
files contained in them for 'rc.d'-like flexibility in handling which
modules to load and/or which tunables to set.

Obtained from:	Juniper Networks, Inc.

------------------------------------------------------------------------
r253173 | pfg | 2013-07-10 22:03:01 +0000 (Wed, 10 Jul 2013) | 6 lines

Implement 1003.1-2001 pathconf() keys.

This is based on r106058 in UFS.

MFC after:	1 month

------------------------------------------------------------------------
r253174 | marino | 2013-07-10 22:12:48 +0000 (Wed, 10 Jul 2013) | 4 lines

Add John Marino to committers-port.dot

Approved by:	bapt (mentor)

------------------------------------------------------------------------
r253175 | dteske | 2013-07-10 22:45:07 +0000 (Wed, 10 Jul 2013) | 10 lines

Introduce a new [yet unused] function for [efficiently] getting the path to
an executable by-name without forking or using externals.

In a performance benchmark of 10,000 runs on circa 2006 hardware, f_which
out-performed `which' with an average completion time of ~2.5 seconds versus
~56 seconds.

This should be handy for future use (not that I make it a habit to call
`which' in a loop 10,000 times).

------------------------------------------------------------------------
r253176 | jfv | 2013-07-10 23:14:24 +0000 (Wed, 10 Jul 2013) | 7 lines

Fix to a panic found internally, bad pointer during rxeof
processing. Thanks for John Baldwin for catching this. Not
clearing the flag member of the rxbuf could result in a NULL
mbuf pointer being used.

MFC after:	2 days (this needs to get into 9.2!)

------------------------------------------------------------------------
r253178 | jimharris | 2013-07-11 02:10:23 +0000 (Thu, 11 Jul 2013) | 4 lines

Bump date for nvme(4) and nvd(4).

MFC after:	3 days

------------------------------------------------------------------------
r253179 | jfv | 2013-07-11 03:44:06 +0000 (Thu, 11 Jul 2013) | 4 lines

Fix my last commit, flags rather than flag... duh.

MFC after: 2 days

------------------------------------------------------------------------
r253181 | grehan | 2013-07-11 03:54:35 +0000 (Thu, 11 Jul 2013) | 6 lines

Implement RTC CMOS nvram. Init some fields that are used
by FreeBSD and UEFI.
Tested with nvram(4).

Reviewed by:	neel

------------------------------------------------------------------------
r253185 | kib | 2013-07-11 05:10:36 +0000 (Thu, 11 Jul 2013) | 6 lines

MFamd64 r253140:
Clear m->object for the page taken from the delayed free list in
pmap_pv_reclaim().

Noted by:	alc

------------------------------------------------------------------------
r253186 | kib | 2013-07-11 05:15:30 +0000 (Thu, 11 Jul 2013) | 7 lines

Explicitely panic instead of possibly doing undefined things when
ptelist KVA is exhausted.  Currently this cannot happen, the added
panic serves as assert.

Discussed with:	alc
Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r253187 | kib | 2013-07-11 05:36:26 +0000 (Thu, 11 Jul 2013) | 13 lines

Do not invalidate page of the B_NOCACHE buffer or buffer after an I/O
error if any user wired mappings exist.  Doing the invalidation
destroys the user wiring.

The change is the temporal measure to close the bug, the more proper
fix is to delegate the invalidation of the page to upper layers
always.

Reported and tested by:	pho
Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks

------------------------------------------------------------------------
r253188 | kib | 2013-07-11 05:38:39 +0000 (Thu, 11 Jul 2013) | 11 lines

In the vm_page_set_invalid() function, do not assert that the page is
not busy, since its only caller brelse() can legitimately call it on
busy page.  This happens for VOP_PUTPAGES() on filesystems that use
buffers and which VOP_WRITE() method marked the buffer containing page
as non-cacheable.

Reported and tested by:	pho
Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks

------------------------------------------------------------------------
r253189 | kib | 2013-07-11 05:47:26 +0000 (Thu, 11 Jul 2013) | 14 lines

Never remove user-wired pages from an object when doing
msync(MS_INVALIDATE).  The vm_fault_copy_entry() requires that object
range which corresponds to the user-wired vm_map_entry, is always
fully populated.

Add OBJPR_NOTWIRED flag for vm_object_page_remove() to request the
preserving behaviour, use it when calling vm_object_page_remove() from
vm_object_sync().

Reported and tested by:	pho
Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks

------------------------------------------------------------------------
r253190 | kib | 2013-07-11 05:55:08 +0000 (Thu, 11 Jul 2013) | 19 lines

The mlockall() or VM_MAP_WIRE_HOLESOK does not interact properly with
parallel creation of the map entries, e.g. by mmap() or stack growing.
It also breaks when other entry is wired in parallel.

The vm_map_wire() iterates over the map entries in the region, and
assumes that map entries it finds are marked as in transition before,
also that any entry marked as in transition, are marked by the current
invocation of vm_map_wire().  This is not true for new entries in the
holes.

Add the thread owner of the MAP_ENTRY_IN_TRANSITION flag to struct
vm_map_entry.  In vm_map_wire() and vm_map_unwire(), only process the
entries which transition owner is the current thread.

Reported and tested by:	pho
Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks

------------------------------------------------------------------------
r253191 | kib | 2013-07-11 05:58:28 +0000 (Thu, 11 Jul 2013) | 16 lines

The vm_fault() should not be allowed to proceed on the map entry which
is being wired now.  The entry wired count is changed to non-zero in
advance, before the map lock is dropped.  This makes the vm_fault() to
perceive the entry as wired, and breaks the fragment which moves the
wire count from the shadowed page, to the upper page, making the code
unwiring non-wired page.

On the other hand, the vm_fault() calls from vm_fault_wire() should be
allowed to proceed, so only drain MAP_ENTRY_IN_TRANSITION from
vm_fault() when wiring_thread is not current.

Reported and tested by:	pho
Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks

------------------------------------------------------------------------
r253204 | andre | 2013-07-11 12:46:35 +0000 (Thu, 11 Jul 2013) | 7 lines

Fix style issues, a typo in "kern.ipc.nmbufs" and correctly plave and
expose the value of the tunable maxmbufmem as "kern.ipc.maxmbufmem"
through sysctl.

Reported by:	smh
MFC after:	1 day

------------------------------------------------------------------------
r253207 | andre | 2013-07-11 12:53:13 +0000 (Thu, 11 Jul 2013) | 5 lines

Make use of the fact that uma_zone_set_max(9) already returns the
rounded limit making a call to uma_zone_get_max(9) unnecessary.

MFC after:	1 day

------------------------------------------------------------------------
r253208 | andre | 2013-07-11 14:18:38 +0000 (Thu, 11 Jul 2013) | 44 lines

SipHash is a cryptographically strong pseudo-random function (a.k.a. keyed
hash function) optimized for speed on short messages returning a 64bit hash/
digest value.

SipHash is simpler and much faster than other secure MACs and competitive
in speed with popular non-cryptographic hash functions.  It uses a 128-bit
key without the hidden cost of a key expansion step.  SipHash iterates a
simple round function consisting of four additions, four xors, and six
rotations, interleaved with xors of message blocks for a pre-defined number
of compression and finalization rounds.  The absence of  secret load/store
addresses or secret branch conditions avoid timing attacks.  No state is
shared between messages.  Hashing is deterministic and doesn't use nonces.
It is not susceptible to length extension attacks.

Target applications include network traffic authentication, message
authentication (MAC) and hash-tables protection against hash-flooding
denial-of-service attacks.

The number of update/finalization rounds is defined during initialization:

 SipHash24_Init() for the fast and reasonable strong version.
 SipHash48_Init() for the strong version (half as fast).

SipHash usage is similar to other hash functions:

 struct SIPHASH_CTX ctx;
 char *k = "16bytes long key"
 char *s = "string";
 uint64_t h = 0;
 SipHash24_Init(&ctx);
 SipHash_SetKey(&ctx, k);
 SipHash_Update(&ctx, s, strlen(s));
 SipHash_Final(&h, &ctx);  /* or */
 h = SipHash_End(&ctx);    /* or */
 h = SipHash24(&ctx, k, s, strlen(s));

It was designed by Jean-Philippe Aumasson and Daniel J. Bernstein and
is described in the paper "SipHash: a fast short-input PRF", 2012.09.18:
 https://131002.net/siphash/siphash.pdf
 Permanent ID: b9a943a805fbfc6fde808af9fc0ecdfa

Implemented by:	andre (based on the paper)
Reviewed by:	cperciva

------------------------------------------------------------------------
r253209 | jimharris | 2013-07-11 15:02:38 +0000 (Thu, 11 Jul 2013) | 4 lines

Fix a poorly worded comment in nvme(4).

MFC after:	3 days

------------------------------------------------------------------------
r253210 | andre | 2013-07-11 15:29:25 +0000 (Thu, 11 Jul 2013) | 61 lines

Improve SYN cookies by encoding the MSS, WSCALE (window scaling) and SACK
information into the ISN (initial sequence number) without the additional
use of timestamp bits and switching to the very fast and cryptographically
strong SipHash-2-4 MAC hash algorithm to protect the SYN cookie against
forgeries.

The purpose of SYN cookies is to encode all necessary session state in
the 32 bits of our initial sequence number to avoid storing any information
locally in memory.  This is especially important when under heavy spoofed
SYN attacks where we would either run out of memory or the syncache would
fill with bogus connection attempts swamping out legitimate connections.

The original SYN cookies method only stored an indexed MSS values in the
cookie.  This isn't sufficient anymore and breaks down in the presence of
WSCALE information which is only exchanged during SYN and SYN-ACK.  If we
can't keep track of it then we may severely underestimate the available
send or receive window. This is compounded with large windows whose size
information on the TCP segment header is even lower numerically.  A number
of years back SYN cookies were extended to store the additional state in
the TCP timestamp fields, if available on a connection.  While timestamps
are common among the BSD, Linux and other *nix systems Windows never enabled
them by default and thus are not present for the vast majority of clients
seen on the Internet.

The common parameters used on TCP sessions have changed quite a bit since
SYN cookies very invented some 17 years ago.  Today we have a lot more
bandwidth available making the use window scaling almost mandatory.  Also
SACK has become standard making recovering from packet loss much more
efficient.

This change moves all necessary information into the ISS removing the need
for timestamps.  Both the MSS (16 bits) and send WSCALE (4 bits) are stored
in 3 bit indexed form together with a single bit for SACK.  While this is
significantly less than the original range, it is sufficient to encode all
common values with minimal rounding.

The MSS depends on the MTU of the path and with the dominance of ethernet
the main value seen is around 1460 bytes.  Encapsulations for DSL lines
and some other overheads reduce it by a few more bytes for many connections
seen.  Rounding down to the next lower value in some cases isn't a problem
as we send only slightly more packets for the same amount of data.

The send WSCALE index is bit more tricky as rounding down under-estimates
the available send space available towards the remote host, however a small
number values dominate and are carefully selected again.

The receive WSCALE isn't encoded at all but recalculated based on the local
receive socket buffer size when a valid SYN cookie returns.  A listen socket
buffer size is unlikely to change while active.

The index values for MSS and WSCALE are selected for minimal rounding errors
based on large traffic surveys.  These values have to be periodically
validated against newer traffic surveys adjusting the arrays tcp_sc_msstab[]
and tcp_sc_wstab[] if necessary.

In addition the hash MAC to protect the SYN cookies is changed from MD5
to SipHash-2-4, a much faster and cryptographically secure algorithm.

Reviewed by:	dwmalone
Tested by:	Fabian Keil <fk at fabiankeil.de>

------------------------------------------------------------------------
r253214 | andre | 2013-07-11 16:27:11 +0000 (Thu, 11 Jul 2013) | 4 lines

Fix const propagation issues to make GCC happy.

Submitted by:	Michael Butler <imb at protected-networks.net>

------------------------------------------------------------------------
r253215 | theraven | 2013-07-11 17:41:04 +0000 (Thu, 11 Jul 2013) | 5 lines

Cleanups to math.h that prevent namespace conflicts with C++.

Reviewed by:	bde
MFC after:	3 days

------------------------------------------------------------------------
r253217 | np | 2013-07-11 19:09:31 +0000 (Thu, 11 Jul 2013) | 2 lines

Attach to the 4x10G T540-CR card.

------------------------------------------------------------------------
r253219 | theraven | 2013-07-11 19:34:16 +0000 (Thu, 11 Jul 2013) | 2 lines

Fix some typoes in math.h cleanup.

------------------------------------------------------------------------
r253221 | kib | 2013-07-11 20:33:57 +0000 (Thu, 11 Jul 2013) | 9 lines

When swap pager allocates metadata in the pagedaemon context, allow it
to drain the reserve.  This was broken in r243040, causing deadlock.
Note that VM_WAIT call in case of uma_zalloc() failure from pagedaemon
would only wait for the v_pageout_free_min anyway.

Reported and tested by:	pho
Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r253224 | cperciva | 2013-07-11 22:19:18 +0000 (Thu, 11 Jul 2013) | 10 lines

Fix bug in deleting files: If two ports had the same tarball and one of
them changed (or was removed from the tree) then portsnap would delete
that file.  This happened earlier today when one of two empty port
directories was removed.  Uniquifying the lists of needed files fixes
this.

9.2-RELEASE candidate.

MFC after:	3 days

------------------------------------------------------------------------
r253228 | scottl | 2013-07-12 00:50:25 +0000 (Fri, 12 Jul 2013) | 6 lines

Refactor the various delete methods out of dastart().  Cleans up a bunch
of style and adds more modularity and clarity.

Obtained from:	Netflix
MFC after:	3 days

------------------------------------------------------------------------
r253247 | hrs | 2013-07-12 02:36:00 +0000 (Fri, 12 Jul 2013) | 5 lines

Use strtoumax() instead of strtoul() for id/ref attr in XML elements.
This improves compatibility when running an ILP32 binary on LP64 kernel.

Spotted by:	gjb

------------------------------------------------------------------------
r253249 | hrs | 2013-07-12 04:22:46 +0000 (Fri, 12 Jul 2013) | 5 lines

Revert r253247.  This change should be improved based on a lesson learnt
from r233646 first.

Pointed out by:	jmallett

------------------------------------------------------------------------
r253252 | jh | 2013-07-12 06:03:25 +0000 (Fri, 12 Jul 2013) | 2 lines

Clarify how "hide" and "unhide" commands work on directories.

------------------------------------------------------------------------
r253253 | hrs | 2013-07-12 06:54:29 +0000 (Fri, 12 Jul 2013) | 4 lines

Fix a wrong memcpy of struct sockaddr.

Spotted by:	dt71 at gmx.com

------------------------------------------------------------------------
r253254 | andre | 2013-07-12 07:43:56 +0000 (Fri, 12 Jul 2013) | 4 lines

Unbreak VIMAGE by correctly naming the vnet pointer in struct tcp_syncache.

Reported by:	trociny, rodrigc

------------------------------------------------------------------------
r253255 | rodrigc | 2013-07-12 08:03:10 +0000 (Fri, 12 Jul 2013) | 14 lines

PR: kern/168520
Submitted by: "YAMAMOTO, Shigeru" <shigeru at iij.ad.jp>
Reviewed by: adrian

In PC-BSD 9.1, VIMAGE is enabled in the kernel config.
For laptops with Bluetooth capability, such as the HP Elitebook 8460p,
the kernel will panic upon bootup, because curthread->td_vnet
is not initialized.

Properly initialize curthread->td_vnet when initializing the Bluetooth stack.

This allows laptops such as the HP Elitebook 8460p laptop
to properly boot with VIMAGE kernels.

------------------------------------------------------------------------
r253256 | oleg | 2013-07-12 09:20:55 +0000 (Fri, 12 Jul 2013) | 2 lines

Fix 'SEE ALSO' list.

------------------------------------------------------------------------
r253258 | des | 2013-07-12 10:07:21 +0000 (Fri, 12 Jul 2013) | 4 lines

Remove authpf-noip along with authpf.

Reminded by:	delphij@

------------------------------------------------------------------------
r253260 | theraven | 2013-07-12 11:03:51 +0000 (Fri, 12 Jul 2013) | 2 lines

Fix the build with C++ where __builtin_types_compatible_p is not allowed.

------------------------------------------------------------------------
r253261 | hrs | 2013-07-12 12:18:07 +0000 (Fri, 12 Jul 2013) | 3 lines

- Drop GIF_ACCEPT_REVETHIP flag by default.
- Add IFF_MONITOR support.

------------------------------------------------------------------------
r253262 | hrs | 2013-07-12 12:36:12 +0000 (Fri, 12 Jul 2013) | 3 lines

Add a leaf node CTL_NET.PF_ROUTE.0.AF.NET_RT_DUMP.0.FIB.  This returns
routing table with the specified FIB number, not td->td_proc->p_fibnum.

------------------------------------------------------------------------
r253266 | marius | 2013-07-12 14:24:52 +0000 (Fri, 12 Jul 2013) | 3 lines

Prefix the alias macros for members of struct __mcontext with an underscore
in order to avoid a clash in the net80211 code.

------------------------------------------------------------------------
r253267 | glebius | 2013-07-12 14:25:58 +0000 (Fri, 12 Jul 2013) | 5 lines

Add manual page for vmem(9). Obtained from NetBSD, modified to match
our implementation.

Obtained from:	NetBSD

------------------------------------------------------------------------
r253268 | glebius | 2013-07-12 14:46:40 +0000 (Fri, 12 Jul 2013) | 2 lines

Remove non existent in FreeBSD reference.

------------------------------------------------------------------------
r253270 | pluknet | 2013-07-12 15:08:37 +0000 (Fri, 12 Jul 2013) | 3 lines

- mdoc: remove superfluous paragraph macros.
- fix typo in xref manual section number.

------------------------------------------------------------------------
r253271 | jilles | 2013-07-12 15:29:41 +0000 (Fri, 12 Jul 2013) | 12 lines

sh: Do not read from stdin if an error occurs during -i -c cmd.

Although using -i with -c does not seem very useful, it seems inappropriate
to read commands from the terminal in this case.

Side effect: if the -s -c extension is used and the -s option is turned off
using 'set +s' during the interactive part, the shell now exits after an
error or interrupt. Note that POSIX only specifies -s as option to sh, not
to set.

See also Austin Group issue #718.

------------------------------------------------------------------------
r253272 | nwhitehorn | 2013-07-12 15:56:30 +0000 (Fri, 12 Jul 2013) | 4 lines

Fix check: bitwise and has only one &.

MFC after:	1 week

------------------------------------------------------------------------
r253274 | ken | 2013-07-12 17:09:50 +0000 (Fri, 12 Jul 2013) | 40 lines

Fix a problem with READ ELEMENT STATUS that occurs on some
changers that don't support the DVCID and CURDATA bits that were
introduced in the SMC spec.

These changers will return an Illegal Request type error if the
bits are set.  This causes "chio status" to fail.

The fix is two-fold.  First, for changers that claim to be SCSI-2
or older, don't set the DVCID and CURDATA bits for READ ELEMENT
STATUS.  For newer changers (SCSI-3 and newer), we default to
setting the new bits, but back off and try the READ ELEMENT STATUS
without the bits if we get an Illegal Request type error.

This has been tested on a Qualstar TLS-8211, which is a SCSI-2
changer that does not support the new bits, and a Spectra T-380,
which is a SCSI-3 changer that does support the new bits.  In the
absence of a SCSI-3 changer that does not support the bits, I
tested that with some error injection code.  (The SMC spec says
that support for CURDATA is mandatory, and DVCID is optional.)

scsi_ch.c:	Add a new quirk, CH_Q_NO_DVCID that gets set for
		SCSI-2 and older libraries, or newer libraries that
		report errors when the DVCID/CURDATA bits are set.

		In chgetelemstatus(), use the new quirk to
		determine whether or not to set DVCID and CURDATA.
		If we get an error with the bits set, back off and
		try without the bits.  Set the quirk flag if the
		read element status succeeds without the bits set.

		Increase the READ ELEMENT STATUS timeout to 60
		seconds after testing with a Spectra T-380.  The
		previous value was 10 seconds, and too short for
		the T-380.  This may be decreased later after
		some additional testing and investigation.

Tested by:	Andre Albsmeier <Andre.Albsmeier at siemens.com>
Sponsored by:	Spectra Logic
MFC after:	3 days

------------------------------------------------------------------------
r253275 | hrs | 2013-07-12 17:11:30 +0000 (Fri, 12 Jul 2013) | 2 lines

Add -F fibnum option to specify an FIB number for -r flag.

------------------------------------------------------------------------
r253276 | pfg | 2013-07-12 17:22:59 +0000 (Fri, 12 Jul 2013) | 4 lines

Add creation timestamp (birthtime) support for fuse.

This is based on similar support in MacFUSE.

------------------------------------------------------------------------
r253277 | schweikh | 2013-07-12 17:37:05 +0000 (Fri, 12 Jul 2013) | 2 lines

Typo corrected.

------------------------------------------------------------------------
r253279 | jimharris | 2013-07-12 18:13:41 +0000 (Fri, 12 Jul 2013) | 6 lines

%d should be used for printing int32_t instead of %zd.

clang does not complain about this - only gcc.

MFC after:	3 days

------------------------------------------------------------------------
r253280 | kib | 2013-07-12 18:52:33 +0000 (Fri, 12 Jul 2013) | 10 lines

Only copy as much bytes as there in superblock, instead of the full
block copy, when copying the superblock into the snapshot.  UFS1 does
not align superblock on the block boundary, and bcopy runs off the end
of the buffer.

Reported by:	Andre Albsmeier <Andre.Albsmeier at siemens.com>
Reviewed by:	mckusick
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week

------------------------------------------------------------------------
r253282 | trociny | 2013-07-12 19:08:33 +0000 (Fri, 12 Jul 2013) | 19 lines

A complete duplication of binding should be allowed if on both new and
duplicated sockets a multicast address is bound and either
SO_REUSEPORT or SO_REUSEADDR is set.

But actually it works for the following combinations:

  * SO_REUSEPORT is set for the fist socket and SO_REUSEPORT for the new;
  * SO_REUSEADDR is set for the fist socket and SO_REUSEADDR for the new;
  * SO_REUSEPORT is set for the fist socket and SO_REUSEADDR for the new;

and fails for this:

  * SO_REUSEADDR is set for the fist socket and SO_REUSEPORT for the new.

Fix the last case.

PR:		179901
MFC after:	1 month

------------------------------------------------------------------------
r253284 | jfv | 2013-07-12 21:14:42 +0000 (Fri, 12 Jul 2013) | 8 lines

Remove the conditional define around the option headers,
when building the driver as a module the result of the present
system results in INET and INET6 being undefined, and will cause
the panic in ixgbe_tso_setup(). The Makefile in the module directory
now renders the conditional in the source unnecessary and wrong.

MFC after: ASAP - the panic as a module must not get into 9.2

------------------------------------------------------------------------
r253285 | jfv | 2013-07-12 21:21:15 +0000 (Fri, 12 Jul 2013) | 4 lines

Opps, need to change the VF code as well.

MFC after:	ASAP

------------------------------------------------------------------------
r253288 | delphij | 2013-07-12 21:36:29 +0000 (Fri, 12 Jul 2013) | 9 lines

Merge from hpt27xx, r249468 (mav):

MFprojects/camlock r248982:
Stop abusing xpt_periph in random plases that really have no periph related
to CCB, for example, bus scanning.  NULL value is fine in such cases and it
is correctly logged in debug messages as "noperiph".  If at some point we
need some real XPT periphs (alike to pmpX now), quite likely they will be
per-bus, and not a single global instance as xpt_periph now.

------------------------------------------------------------------------
r253290 | gjb | 2013-07-12 22:02:11 +0000 (Fri, 12 Jul 2013) | 7 lines

Document that a literal jail name of 0 (zero) is not allowed.

PR:		174436
Submitted by:	Robert Schulze
Reviewed by:	mjg
MFC after:	3 days

------------------------------------------------------------------------
r253303 | jfv | 2013-07-12 22:36:26 +0000 (Fri, 12 Jul 2013) | 9 lines

Change the E1000 driver option header handling to match the
ixgbe driver. As it was, when building them as a module INET
and INET6 are not defined. In these drivers it does not cause
a panic, however it does result in different behavior in the
ioctl routine when you are using a module vs static, and I
think the behavior should be the same.

MFC after: 3 days

------------------------------------------------------------------------
r253304 | bapt | 2013-07-12 23:08:44 +0000 (Fri, 12 Jul 2013) | 4 lines

Ensure the locale is LC_ALL=C when regenerating src.conf.5

MFC after:	3 days

------------------------------------------------------------------------
r253305 | bapt | 2013-07-12 23:11:17 +0000 (Fri, 12 Jul 2013) | 3 lines

Disable building of pkg_install by default
If people still want to have pkg_install they can specify WITH_PKGTOOLS when building world

------------------------------------------------------------------------
r253306 | bapt | 2013-07-12 23:12:37 +0000 (Fri, 12 Jul 2013) | 2 lines

Regenerate src.conf(5) after changing WITHOUT_PKGTOOLS to WITH_PKGTOOLS

------------------------------------------------------------------------
r253307 | scottl | 2013-07-12 23:20:11 +0000 (Fri, 12 Jul 2013) | 7 lines

Const-ify the new da_delete_functions.
Remove a redundant sanity check

Submitted by:	Steven Hartland
Obtained from:	Netflix
MFC after:	3 days

------------------------------------------------------------------------
r253309 | rpaulo | 2013-07-13 00:39:07 +0000 (Sat, 13 Jul 2013) | 2 lines

Indent the "scp=... rlv=..." to make it easier to read the backtrace.

------------------------------------------------------------------------
r253314 | adrian | 2013-07-13 04:25:03 +0000 (Sat, 13 Jul 2013) | 18 lines

Bring over some link aggregation / LACP protocol improvements and debugging
additions.

* Add some new tracing events to aid in debugging.
* Add in a debugging mode to drop transmit and received frames, specifically
  to test whether seeing or hearing heartbeats correctly cause LACP to
  drop the port.
* Add in (and make default) a strict LACP mode, which requires the
  heartbeat on a port to be heard before it's used.  Sometimes vendor ports
  will hang but the link layer stays up, resulting in hung traffic.
* Add logging the number of link status flaps, again to aid in debugging
  badly behaving switch ports.
* Calculate the lagg interface port speed as the multiple of the
  configured ports, rather than the largest.

Obtained from:	Netflix
MFC after:	2 weeks

------------------------------------------------------------------------
r253315 | jhibbits | 2013-07-13 07:16:45 +0000 (Sat, 13 Jul 2013) | 3 lines

Clean up the modules list for PowerPC.  powerpc64 has MACHINE_CPUARCH of
powerpc.  While here, sort the list.

------------------------------------------------------------------------
r253316 | rpaulo | 2013-07-13 07:17:18 +0000 (Sat, 13 Jul 2013) | 2 lines

Fix the urtwnfw definitions. We can now use urtwnfw in kernel config files.

------------------------------------------------------------------------
r253318 | hrs | 2013-07-13 08:17:55 +0000 (Sat, 13 Jul 2013) | 4 lines

Fix mdoc syntax.

Pointed out by:	joeld

------------------------------------------------------------------------
r253319 | theraven | 2013-07-13 10:10:45 +0000 (Sat, 13 Jul 2013) | 4 lines

Ensure that the _Generic() macro in math.h works with qualified types.

tgmath.h contains the same bugs and so should be fixed in the same way.

------------------------------------------------------------------------
r253321 | theraven | 2013-07-13 13:04:38 +0000 (Sat, 13 Jul 2013) | 4 lines

Cleaner support for type qualifiers.

Submitted by:	Pasi Parviainen

------------------------------------------------------------------------
r253322 | mav | 2013-07-13 13:35:09 +0000 (Sat, 13 Jul 2013) | 9 lines

Improve handling of 0x3F/0x0E "Reported LUNs data has changed" and 0x25/0x00
"Logical unit not supported" errors.  First initiates specific target rescan,
second -- destroys specific LUN.  That allows to automatically detect changes
in list of device LUNs.  This mechanism doesn't work when target is completely
idle, but probably that is all what can be done without active polling.

Reviewed by:	ken
Sponsored by:	iXsystems, Inc.

------------------------------------------------------------------------
r253323 | mav | 2013-07-13 15:34:37 +0000 (Sat, 13 Jul 2013) | 3 lines

When printing opcode description, map T_NODEVICE to Direct Access Device to
handle REPORT LUNS, etc.

------------------------------------------------------------------------
r253325 | kib | 2013-07-13 19:32:50 +0000 (Sat, 13 Jul 2013) | 6 lines

Allow to call clock_gettime() on the clock id for zombie process.

Reported by:	Petr Salinger <Petr.Salinger at seznam.cz>
PR:	threads/180496
Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r253326 | kib | 2013-07-13 19:34:34 +0000 (Sat, 13 Jul 2013) | 4 lines

There is no need to count waiters for the runningbufspace.

Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r253327 | kib | 2013-07-13 19:36:18 +0000 (Sat, 13 Jul 2013) | 4 lines

Assert that runningbufspace does not underflow.

Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r253328 | kib | 2013-07-13 19:42:52 +0000 (Sat, 13 Jul 2013) | 10 lines

Create a proper stack frame for i386 version of bcopy(), despite the
function is leaf.  The frame allows ddb to not loose the direct caller
of bcopy() in backtrace.

Other functions from support.s would benefit from the same change as
well, but for now bcopy() is the most frequent offender.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week

-------------- next part --------------
------------------------------------------------------------------------
r252887 | jilles | 2013-07-06 14:21:22 +0000 (Sat, 06 Jul 2013) | 17 lines

MFC r250102: socket: Make shutdown() wake up a blocked accept().

A blocking accept (and some other operations) waits on &so->so_timeo. Once
it wakes up, it will detect the SBS_CANTRCVMORE bit.

The error from accept() is [ECONNABORTED] which is not the nicest one -- the
thread calling accept() needs to know out-of-band what is happening.

A spurious wakeup on so->so_timeo appears harmless (sleep retried) except
when lingering on close (SO_LINGER, and in that case there is no descriptor
to call shutdown() on) so this should be fairly safe.

A shutdown() already woke up a blocked accept() for TCP sockets, but not for
Unix domain sockets. This fix is generic for all domains.

This patch was sent to -hackers@ and -net@ on April 5.

------------------------------------------------------------------------
r252889 | tuexen | 2013-07-06 17:11:33 +0000 (Sat, 06 Jul 2013) | 3 lines

MFC rr237715, r238294:
Pass the src and dst address of a received packet explicitly around.

------------------------------------------------------------------------
r252891 | gavin | 2013-07-06 19:43:42 +0000 (Sat, 06 Jul 2013) | 12 lines

Merge r252337 from head:

  Don't try to re-insert an already present but invalid page.

  This could happen if a thread doing a page-in loses a ZFS range lock
  race to a thread writing to the same range

  This fixes "panic: vm_page_alloc: pindex already allocated" in
  http://docs.FreeBSD.org/cgi/mid.cgi?1372165971.96049.42.camel

Submitted by:	avg

------------------------------------------------------------------------
r252893 | kib | 2013-07-06 20:10:39 +0000 (Sat, 06 Jul 2013) | 4 lines

MFC r226454 (by bz):

Fix VNET build.

------------------------------------------------------------------------
r252896 | tuexen | 2013-07-06 20:35:21 +0000 (Sat, 06 Jul 2013) | 7 lines

MFC r238003, r239091:
Move common code parts to sctp_common_input_processing().

Fix a bug found by dim@:
Don't use an uninitilized variable, if INVARIANTS is on and an illegal
packet with destination 0 is received.

------------------------------------------------------------------------
r252897 | tuexen | 2013-07-06 20:39:44 +0000 (Sat, 06 Jul 2013) | 3 lines

MFC r238087:
Initialize a variable.

------------------------------------------------------------------------
r252898 | jfv | 2013-07-06 21:38:55 +0000 (Sat, 06 Jul 2013) | 2 lines

MFC ixgbe driver revisions 248901, 250108, and 251964

------------------------------------------------------------------------
r252899 | jfv | 2013-07-06 22:34:42 +0000 (Sat, 06 Jul 2013) | 3 lines

MFC e1000 driver revisions: 248906,248908,249074,249339,249509
                            250108,250109,250168,250413,250414

------------------------------------------------------------------------
r252900 | dim | 2013-07-06 22:39:17 +0000 (Sat, 06 Jul 2013) | 3 lines

Fix minor mis-merge in contrib/llvm/tools/clang/lib/Basic/Targets.cpp,
reducing the diff against the file in head.

------------------------------------------------------------------------
r252901 | dim | 2013-07-06 22:51:56 +0000 (Sat, 06 Jul 2013) | 8 lines

MFC r252587:

Pull in r185446 from clang trunk:

 Fix to PR15826 - clang hits assert in clang::ASTContext::getASTRecordLayout.

Reported by:	glebius

------------------------------------------------------------------------
r252902 | delphij | 2013-07-06 23:04:59 +0000 (Sat, 06 Jul 2013) | 10 lines

MFC r252852:

Update hpt27xx(4) driver to address a problem reported by FreeNAS
user, where when more than one hpt27xx adapters are being used,
the "unit number" stays at 0.

Many thanks to HighPoint for providing this driver update.

(This changeset have not included change found in 249468)

------------------------------------------------------------------------
r252903 | delphij | 2013-07-06 23:26:36 +0000 (Sat, 06 Jul 2013) | 9 lines

MFC r252867:

Import HighPoint DC Series Data Center HBA (DC7280 and R750) driver.
This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms.

Many thanks to HighPoint for providing this driver.

(This changeset have not included changes found in 249468 and 246713)

------------------------------------------------------------------------
r252904 | delphij | 2013-07-06 23:46:23 +0000 (Sat, 06 Jul 2013) | 9 lines

MFC r252857:

Refresh vendor driver version which fixes command queue
full issue with ARC-1214 and ARC-1224.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by:	?\233?\187?\131?\230?\184?\133?\233?\154?\134 <ching2048 areca com tw>

------------------------------------------------------------------------
r252905 | delphij | 2013-07-06 23:56:58 +0000 (Sat, 06 Jul 2013) | 9 lines

MFC r252869:

Update driver with recent vendor improvements, most notably support
of Skyhawk adapters.

Many thanks to Emulex for their continued support of FreeBSD.

Submitted by:	"Duvvuru,Venkat Kumar" <VenkatKumar.Duvvuru Emulex.Com>

------------------------------------------------------------------------
r252920 | mm | 2013-07-07 09:21:39 +0000 (Sun, 07 Jul 2013) | 7 lines

MFC r252732:
Fix misleading or remove irrelevant illumos messages and manpage references
in the zfs command.

PR:		bin/178996
Submitted by:	Peter Schaefer <peter.schaefer at wilhelmheinrichs.de>

------------------------------------------------------------------------
r252922 | tuexen | 2013-07-07 11:10:15 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r238122:
Use consistent method to determine IPV4_OUTPUT/IPV6_OUTPUT.

------------------------------------------------------------------------
r252923 | tuexen | 2013-07-07 11:15:54 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r238455:
Use case for selecting the address family (as in other places).

------------------------------------------------------------------------
r252924 | tuexen | 2013-07-07 11:20:12 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r239035:
Testing an interface property should depend on the interface, not
on an address.

------------------------------------------------------------------------
r252925 | tuexen | 2013-07-07 11:26:15 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240114:
Whitespace change.

------------------------------------------------------------------------
r252926 | tuexen | 2013-07-07 11:28:44 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r240115:
Use the consistenly the size of a variable. This helps to keep the code
simpler for the userland implementation.

------------------------------------------------------------------------
r252927 | tuexen | 2013-07-07 11:33:51 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240148:
Using %p in a format string requires a void *.

------------------------------------------------------------------------
r252928 | tuexen | 2013-07-07 11:36:46 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240158:
Get rid of a gcc'ism.

------------------------------------------------------------------------
r252929 | tuexen | 2013-07-07 11:41:12 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r240198:
Don't include a structure containing a flexible array in another
structure.

------------------------------------------------------------------------
r252930 | tuexen | 2013-07-07 11:44:32 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240250:
Whitespace cleanup.

------------------------------------------------------------------------
r252931 | tuexen | 2013-07-07 11:47:06 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240263:
Whitespace changes.

------------------------------------------------------------------------
r252932 | tuexen | 2013-07-07 11:50:51 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240507:
Small cleanups. No functional change.

------------------------------------------------------------------------
r252933 | tuexen | 2013-07-07 11:53:34 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240826:
Small cleanups. No functional change.

------------------------------------------------------------------------
r252934 | tuexen | 2013-07-07 11:56:28 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r240842:
Fix a bug related to handling Re-config chunks. It is not true that
the association can be removed if the socket is gone.

------------------------------------------------------------------------
r252935 | tuexen | 2013-07-07 11:58:43 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240848:
Declare a static function as such.

------------------------------------------------------------------------
r252936 | tuexen | 2013-07-07 12:25:28 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r240849:
Whitespace change.

------------------------------------------------------------------------
r252937 | tuexen | 2013-07-07 12:29:01 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r242326:
Add braces (as used elsewhere in the SCTP code).

------------------------------------------------------------------------
r252938 | tuexen | 2013-07-07 12:32:30 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r242327:
Whitespace changes due to upstream integration of SCTP changes in the
FreeBSD code base.

------------------------------------------------------------------------
r252939 | tuexen | 2013-07-07 12:34:47 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r242512:
Fix errno in a couple of error cases.

------------------------------------------------------------------------
r252940 | tuexen | 2013-07-07 12:50:04 +0000 (Sun, 07 Jul 2013) | 6 lines

MFC r242627:
Move from early SSN assignment to late SSN assignment.
This doesn't change functionality, but makes upcoming change
much easier.
Developed with rrs@ at the IETF 85.

------------------------------------------------------------------------
r252941 | tuexen | 2013-07-07 12:54:15 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r242708, r242709:
Improve PR-SCTP if used in combination with NR-SACK.
Based on work done by Mohammad Rajiullah.

------------------------------------------------------------------------
r252942 | tuexen | 2013-07-07 12:57:45 +0000 (Sun, 07 Jul 2013) | 6 lines

MFC r242714:
Add per outgoing stream accounting for chunks in the send
and sent queue. This provides no functional change, but is
a preparation for an upcoming stream reset improvement.
Done with rrs at .

------------------------------------------------------------------------
r252943 | tuexen | 2013-07-07 13:04:31 +0000 (Sun, 07 Jul 2013) | 7 lines

MFC r243157:
Get the accounting working. We now have counters how many
chunks for each SCTP outgoing stream are in the send and
sent queue.
While there, improve the naming of NR-SACK related constants
recently introduced.

------------------------------------------------------------------------
r252944 | tuexen | 2013-07-07 13:07:42 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r243186:
Add support for SCTP/UDP/IPV6.
his completes the support of
http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-udp-encaps

------------------------------------------------------------------------
r252945 | tuexen | 2013-07-07 13:09:17 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r243300:
Fix the handling of mapped IPv6 addresses in sctp_connectx().

------------------------------------------------------------------------
r252946 | tuexen | 2013-07-07 13:10:31 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r243302:
Cleanup the code a bit, which improves the portability.

------------------------------------------------------------------------
r252947 | tuexen | 2013-07-07 13:13:41 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r243516:
Remove unused function.

------------------------------------------------------------------------
r252948 | tuexen | 2013-07-07 13:15:56 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r243558:
Allow shutdown() to be used on fds returned from sctp_peeloff().

------------------------------------------------------------------------
r252949 | tuexen | 2013-07-07 13:18:19 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r243564:
Find the endpoint for an incoming packet also if the endpoint
comes from sctp_peeloff().

------------------------------------------------------------------------
r252950 | tuexen | 2013-07-07 13:20:35 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r243565:
Add support for sctp_peeloff() also in the front states of the
association.

------------------------------------------------------------------------
r252951 | lstewart | 2013-07-07 14:14:44 +0000 (Sun, 07 Jul 2013) | 18 lines

MFC r252504:

Import an implementation of the CAIA Delay-Gradient (CDG) congestion control
algorithm, which is based on the 2011 v0.1 patch release and described in the
paper "Revisiting TCP Congestion Control using Delay Gradients" by David Hayes
and Grenville Armitage. It is implemented as a kernel module compatible with the
modular congestion control framework.

CDG is a hybrid congestion control algorithm which reacts to both packet loss
and inferred queuing delay. It attempts to operate as a delay-based algorithm
where possible, but utilises heuristics to detect loss-based TCP cross traffic
and will compete effectively as required. CDG is therefore incrementally
deployable and suitable for use on shared networks.

In collaboration with:	David Hayes <david.hayes at ieee.org> and
				Grenville Armitage <garmitage at swin edu au>
Sponsored by:	Cisco University Research Program and FreeBSD Foundation

------------------------------------------------------------------------
r252953 | tuexen | 2013-07-07 15:18:09 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r244021:
Ensure that the padding of the last parameter of an INIT chunk
is not included in the chunk length as required by RFC 4960.
While there, cleanup sctp_send_initiate().

------------------------------------------------------------------------
r252954 | tuexen | 2013-07-07 15:47:44 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r244026:
Use correct padding of the ABORT chunk in case of an user initiated
abort cause is used.

------------------------------------------------------------------------
r252955 | tuexen | 2013-07-07 15:50:01 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r244033:
Get it compiling without INET and INET6 support (mainly userland stack).

------------------------------------------------------------------------
r252957 | tuexen | 2013-07-07 15:52:37 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r244728:
Fix a copy and paste error.

------------------------------------------------------------------------
r252958 | tuexen | 2013-07-07 15:55:01 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r244729:
Minor cleanups of debug messages.

------------------------------------------------------------------------
r252959 | tuexen | 2013-07-07 15:57:12 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r244730:
Some cleanups.

------------------------------------------------------------------------
r252960 | tuexen | 2013-07-07 16:01:00 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r246588:
Fix a bug where HEARTBEATs were still sent in SHUTDOWN_SENT or
SHUTDOWN_ACK_SENT state. While there, make the corresponding
code consistent.

------------------------------------------------------------------------
r252961 | tuexen | 2013-07-07 16:03:58 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r246595:
Cleanup the handling of address scopes. Announce in the INIT/INIT-ACK
only the supported address types. While there, do some whitespace
cleanups.

------------------------------------------------------------------------
r252962 | tuexen | 2013-07-07 16:05:35 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r246629:
Improve code style. No functional change.

------------------------------------------------------------------------
r252963 | tuexen | 2013-07-07 16:08:34 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r246635:
Make sure that received packets for removed addresses are handled
consistently. While there, make variable names consistent.

------------------------------------------------------------------------
r252964 | tuexen | 2013-07-07 16:11:13 +0000 (Sun, 07 Jul 2013) | 9 lines

MFC r246674:
Don't send kernel provided information in the User Initiated
ABORT cause, since the user can also provide this kind of
information. So the receiver doesn't know who provided the
information.
While there: Fix a bug where the stack would send a malformed
ABORT chunk when using a send() call with SCTP_ABORT|SCT_SENDALL
flags.

------------------------------------------------------------------------
r252966 | tuexen | 2013-07-07 16:13:54 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r246687:
Send the adaptation layer indication only if set by the user.

------------------------------------------------------------------------
r252967 | tuexen | 2013-07-07 16:16:32 +0000 (Sun, 07 Jul 2013) | 6 lines

MFC r247412:
Fix a potential race in returning setting errno when an
association goes down.
Reported by Mozilla in
https://bugzilla.mozilla.org/show_bug.cgi?id=845513

------------------------------------------------------------------------
r252968 | tuexen | 2013-07-07 16:25:39 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r248172:
Return an error if sctp_peeloff() fails because a socket can't be allocated.
sctp_peeloff() uses sonewconn() also in cases where listen() wasn't called.
So honor this use case.

------------------------------------------------------------------------
r252969 | tuexen | 2013-07-07 16:29:16 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r248953:
Add a macro for checking for IPv4 link local addresses.

------------------------------------------------------------------------
r252970 | tuexen | 2013-07-07 16:31:07 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r249333:
Remove the number of addresses restriction from sctp_connectx().
Remove unused code.
While there, do some cleanup of the code.

------------------------------------------------------------------------
r252971 | tuexen | 2013-07-07 16:51:17 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r250466:
Honor the net.inet6.ip6.v6only sysctl variable and the IPV6_V6ONLY
socket option for SCTP sockets in the same way as for UDP or TCP
sockets.

------------------------------------------------------------------------
r252972 | tuexen | 2013-07-07 16:53:44 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r250754:
Don't send an ABORT chunk with verification 0.

------------------------------------------------------------------------
r252973 | tuexen | 2013-07-07 16:55:57 +0000 (Sun, 07 Jul 2013) | 4 lines

MFC r250756:
Set errno to ETIMEDOUT if an SCTP association times out during
setup.

------------------------------------------------------------------------
r252974 | tuexen | 2013-07-07 16:59:33 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r251054:
Remove redundant checks.

------------------------------------------------------------------------
r252975 | tuexen | 2013-07-07 17:01:35 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r251248:
Use LIST_EMPTY when appropriate.

------------------------------------------------------------------------
r252976 | tuexen | 2013-07-07 17:04:23 +0000 (Sun, 07 Jul 2013) | 3 lines

MFC r252585:
Code cleanups.

------------------------------------------------------------------------
r252977 | tuexen | 2013-07-07 17:06:33 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r252718:
When processing an incoming ABORT, SHUTDOWN_COMPLETE or ERROR (NAT related)
chunk, take always the T-bit into account, when checking the verification
tag.

------------------------------------------------------------------------
r252978 | tuexen | 2013-07-07 17:08:59 +0000 (Sun, 07 Jul 2013) | 5 lines

MFC r252779:
Fix a bug were only 2048 streams where usable even though more than
2048 streams were negotiated on the wire. While there, remove the
hard coded limit of 2048 streams.

------------------------------------------------------------------------
r252993 | dim | 2013-07-07 19:05:35 +0000 (Sun, 07 Jul 2013) | 41 lines

MFC r252720:

Pull in r185594 from llvm trunk:

  Add MachineBasicBlock::addLiveIn().

  This function adds a live-in physical register to an MBB and ensures
  that it is copied to a virtual register immediately.

Pull in r185615 from llvm trunk:

  Live-in copies go *after* EH_LABELs.

  This will soon be tested by exception handling working at all.

Pull in r185617 from llvm trunk:

  Simplify landing pad lowering.

  Stop using the ISD::EXCEPTIONADDR and ISD::EHSELECTION when lowering
  landing pad arguments. These nodes were previously legalized into
  CopyFromReg nodes, but that never worked properly because the
  CopyFromReg node weren't guaranteed to be  scheduled at the top of the
  basic block.

  This meant the exception pointer and selector registers could be
  clobbered before being copied to a virtual register.

  This patch copies the two physical registers to virtual registers at
  the beginning of the basic block, and lowers the landingpad instruction
  directly to two CopyFromReg nodes reading the *virtual* registers. This
  is safe because virtual registers don't get clobbered.

  A future patch will remove the ISD::EXCEPTIONADDR and ISD::EHSELECTION
  nodes.

Together, these changes fix llvm PR 16038 ('qt4 webcore file results in
"Bad machine code: Using an undefined physical register"'), and should
make it possible again to compile the www/qt4-webkit port again on the
i386 arch, without using a CPUTYPE=i686 or higher setting.

------------------------------------------------------------------------
r252995 | dteske | 2013-07-07 19:13:34 +0000 (Sun, 07 Jul 2013) | 2 lines

MFC bsdconfig(8) and sysrc(8) from HEAD. (shazam!)

------------------------------------------------------------------------
r253010 | edwin | 2013-07-07 22:27:36 +0000 (Sun, 07 Jul 2013) | 14 lines

MFC of tzdata2013d, 253009

- Morocco:
  announced that the year's Ramadan daylight-savings transitions
  would be 2013-07-07 and 2013-08-10.

- Israel:
  As of 2013, DST starts at 02:00 on the Friday before the last
  Sunday in March.  DST ends at 02:00 on the first Sunday after
  October 1, unless it occurs on the second day of the Jewish Rosh
  Hashana holiday, in which case DST ends a day later (i.e. at 02:00
  the first Monday after October 2).  [Rosh Hashana holidays are
  factored in until 2100.]

------------------------------------------------------------------------
r253019 | gjb | 2013-07-08 01:46:11 +0000 (Mon, 08 Jul 2013) | 21 lines

MFC r252846:

 - Add SRC_FORCE_CHECKOUT configuration option to force svn to checkout
   the src/ tree into a directory that contains files/directories, such
   as a case where a custom kernel configuration file is specified.

 - Allow specification of multiple KERNCONFs to pass to 'make release'.

 - Move evaluation of NODOCS/NOPORTS earlier, and set based on how the
   release process expects these options to be evaluated.

 - Wrap KERNCONF specification in double quotes, and use 'eval' so multiple
   kernel configurations do not cause the build to fail in strange ways.

 - Set WITHOUT_X11 for the port build flags for the documentation toolchain
   build.  Also run 'clean distclean' targets during port build.

PR:		180192
MFC after:	3 days
Approved by:	kib (mentor, implicit)

------------------------------------------------------------------------
r253035 | andre | 2013-07-08 13:24:18 +0000 (Mon, 08 Jul 2013) | 15 lines

MFC r241726:

 Move UMA socket zone initialization from uipc_domain.c to uipc_socket.c
 into one place next to its other related functions to avoid confusion.

MFC r241729:

 Move socket UMA zone initialization functionality together into
 one place.

MFC r241779:

 Tidy up somaxconn (accept queue limit) and related functions
 and move it together into one place.

------------------------------------------------------------------------
r253037 | mav | 2013-07-08 15:54:38 +0000 (Mon, 08 Jul 2013) | 7 lines

MFC r249468:
Stop abusing xpt_periph in random plases that really have no periph related
to CCB, for example, bus scanning.  NULL value is fine in such cases and it
is correctly logged in debug messages as "noperiph".  If at some point we
need some real XPT periphs (alike to pmpX now), quite likely they will be
per-bus, and not a single global instance as xpt_periph now.

------------------------------------------------------------------------
r253038 | mav | 2013-07-08 15:59:11 +0000 (Mon, 08 Jul 2013) | 4 lines

MFC r252569:
Fix NULL-deference kernel panic on attempt of destroying non-existing
ramdisk-backed CTL LUN.

------------------------------------------------------------------------
r253039 | mav | 2013-07-08 16:02:03 +0000 (Mon, 08 Jul 2013) | 3 lines

MFC r252204, r252250:
Add bunch of names for Seagate and HGST vennor-specififc ASC/ASCQ codes.

------------------------------------------------------------------------
r253041 | mav | 2013-07-08 17:20:05 +0000 (Mon, 08 Jul 2013) | 9 lines

MFC r252203:
Add test for SATA registers writability and skip using them if it failed.

There are some systems reported, where PCI BAR(5), used for SATA registers
access, is present, but not functional.  Attempt to use it brakes devices
detection logic.  Try to detect those cases on attach by setting and testing
some bits in SControl register.  If bits are unsettable, fallback to legacy
ATA without hot-plug detection, speed control/reporting, etc.

------------------------------------------------------------------------
r253059 | hrs | 2013-07-09 07:51:11 +0000 (Tue, 09 Jul 2013) | 6 lines

MFC r252501:

Add Planex MZK-UE150N.

Submitted by:	Yusuke Tanaka

------------------------------------------------------------------------
r253062 | hrs | 2013-07-09 07:59:47 +0000 (Tue, 09 Jul 2013) | 4 lines

MFC 252408, 252557:

Do not display a warning message in a jail without AF_INET6 support.

------------------------------------------------------------------------
r253124 | rmacklem | 2013-07-10 00:31:28 +0000 (Wed, 10 Jul 2013) | 23 lines

MFC: r252528
A problem with the old NFS client where large writes to large files
would sometimes result in a corrupted file was reported via email.
This problem appears to have been caused by r251719 (reverting
r251719 fixed the problem). Although I have not been able to
reproduce this problem, I suspect it is caused by another thread
increasing np->n_size after the mtx_unlock(&np->n_mtx) but before
the vnode_pager_setsize() call. Since the np->n_mtx mutex serializes
updates to np->n_size, doing the vnode_pager_setsize() with the
mutex locked appears to avoid the problem.
Unfortunately, vnode_pager_setsize() where the new size is smaller,
cannot be called with a mutex held.
This patch returns the semantics to be close to pre-r251719 (actually
pre-r248567, r248581, r248567 for the new client) such that the call to
vnode_pager_setsize() is only delayed until after the mutex is
unlocked when np->n_size is shrinking. Since the file is growing
when being written, I believe this will fix the corruption.
A better solution might be to replace the mutex with a sleep lock,
but that is a non-trivial conversion, so this fix is hoped to be
sufficient in the meantime.

Tested by:	remy.nonnenmacher at activnetworks.com

------------------------------------------------------------------------
r253126 | yongari | 2013-07-10 01:26:22 +0000 (Wed, 10 Jul 2013) | 4 lines

MFC r252227:
  Don't blidly clear GPIOs configuration. Just use firmware configured
  one.  This change also fixes non-working traffic LED on BCM57780.

------------------------------------------------------------------------
r253128 | yongari | 2013-07-10 01:29:51 +0000 (Wed, 10 Jul 2013) | 5 lines

MFC r252402:
  Fix triggering false watchdog timeout when controller is in PAUSE
  state.  Previously it used to check if controller has sent a
  PAUSE frame to the remote peer.

------------------------------------------------------------------------
r253130 | yongari | 2013-07-10 01:32:58 +0000 (Wed, 10 Jul 2013) | 4 lines

MFC r252404:
  Fix triggering false watchdog timeout as done in bce(4) when
  controller is in PAUSE state.

------------------------------------------------------------------------
r253132 | bryanv | 2013-07-10 04:51:07 +0000 (Wed, 10 Jul 2013) | 13 lines

MFC VirtIO r252702,r252703,r252704,r252706,r252707,r252708,r252709

This brings in several bug fixes and better conformance with various
aspects of the spec that have changed.

r252702: Convert VirtIO to use ithreads instead of taskqueues
r252703: Block driver bug fixes and spec changes
r252704: Balloon driver improvements
r252706: Minor network driver improvements
r252707: Minor misc VirtIO changes
r252708: PCI driver bug fixes and cleanup
r252709: Fix SCSI driver lock not owned panic

------------------------------------------------------------------------
r253152 | des | 2013-07-10 14:06:35 +0000 (Wed, 10 Jul 2013) | 2 lines

MFH (r252375): remove useless side effect which triggers a clang bug.

------------------------------------------------------------------------
r253153 | des | 2013-07-10 14:11:13 +0000 (Wed, 10 Jul 2013) | 2 lines

MFH (r249479): OPENPAM_DEBUG enables debugging but does not turn it on

------------------------------------------------------------------------
r253154 | des | 2013-07-10 14:11:51 +0000 (Wed, 10 Jul 2013) | 2 lines

MFH (r249479): OPENPAM_DEBUG enables debugging but does not turn it on

------------------------------------------------------------------------
r253155 | des | 2013-07-10 14:13:37 +0000 (Wed, 10 Jul 2013) | 2 lines

MFH (r250056,r250057): add -Z option to zero unused blocks.

------------------------------------------------------------------------
r253156 | des | 2013-07-10 14:14:48 +0000 (Wed, 10 Jul 2013) | 2 lines

MFH (r250736): add -N option to list jail name instead of number

------------------------------------------------------------------------
r253157 | des | 2013-07-10 14:16:39 +0000 (Wed, 10 Jul 2013) | 3 lines

MFH (r252556): allow setting expiry to current date / time
MFH (r252688): fall back to sha512 if passwd_format is not set

------------------------------------------------------------------------
r253160 | sbruno | 2013-07-10 17:16:10 +0000 (Wed, 10 Jul 2013) | 9 lines

Jump on the 9.2r MFC bonanza and update ciss(4)

r250031
 - zero a data structure for notifications

r250022 r249977 r249947 r249908
 - handle cases of controllers advertising an sg_list of less than
   CISS_MAX_SG_ELEMENTS.  Fixes ciss(4) ZMR cases.

------------------------------------------------------------------------
r253164 | brooks | 2013-07-10 18:27:14 +0000 (Wed, 10 Jul 2013) | 10 lines

MFC r251765:

Simplify the hierarchy target's logic.[0]

Run hierarchy with WORLDTMP in the path so it works when it is invoked
directly.  Such use is nearly alwasy wrong but appears to be common.[1]

PR:		conf/178209 [0], conf/178547 [1]
Submitted by:	Garrett Cooper <yaneurabeya at gmail.com> [0]

------------------------------------------------------------------------
r253166 | trociny | 2013-07-10 19:42:07 +0000 (Wed, 10 Jul 2013) | 13 lines

Direct commit to stable branch to fix ABI breakage:

In r227839, when removing libkvm dependency on procfs(5),
kvm_uread() function, used for reading from /proc/pid/mem, was
removed too. This change broke ABI.

Bring kvm_uread() back so that the ABI is kept. In head soname is
going to be bumped instead.

Reported by:	rmh
Discussed on:	arch
Suggested by:	jilles

------------------------------------------------------------------------
r253168 | dteske | 2013-07-10 20:20:23 +0000 (Wed, 10 Jul 2013) | 2 lines

MFC r253121: Adjust comments to fit within 80-columns.

------------------------------------------------------------------------
r253169 | dteske | 2013-07-10 20:22:31 +0000 (Wed, 10 Jul 2013) | 26 lines

MFC r253118: Fix conditional (der should match the comment above it).
MFC r253117:

Do two things: First, don't obscure the backtitle. Second, read ~/.dialogrc
if it exists to determine if use_shadow is true (ON) or false (OFF).

The purpose of determining the value of use_shadow is to know how many lines
to subtract from the maximum height value in assuring that the backtitle is
not obscured.

The detriment of obscuring the backtitle is that it provides information
that is not easily obtained elsewhere. That is the command-line shortcut
used to access the current menu. As you navigate from one dialog to the
next, invariably transparently corssing module boundaries, the backtitle
represents the command-line argument used to get there. Obscuring this
information with a widget that is too-tall and/or too-wide would see that
data go unnoticed (leaving few other ways to get that information in the
same helpful context).

So despite the fact that this change reduces the standard maximum height for
all widgets, there is a trap-door to prevent this calculation. If you want
to utilize the full screen height on the terminal (remember, this adjustment
is not made for Xdialog(1)) you can set $NO_BACKTITLE to 1 (or any non-NULL
value for that matter) and this calculation will be skipped. You will be
able to draw a widget that partially obscures the backtitle if-necessary.

------------------------------------------------------------------------
r253170 | pfg | 2013-07-10 20:56:04 +0000 (Wed, 10 Jul 2013) | 4 lines

MFC	r252956:

Implement SEEK_HOLE/SEEK_DATA for ext2fs.

------------------------------------------------------------------------
r253171 | pfg | 2013-07-10 21:05:03 +0000 (Wed, 10 Jul 2013) | 9 lines

MFC	r252231:

sed: use getline() instead of fgetln().

In BSD, fgetln() available in libc but in Illumos the Solaris port had to
include it internally. It also seems to have caused problems [1].

Aid portability by using getline() instead.

------------------------------------------------------------------------
r253177 | rmacklem | 2013-07-11 01:30:24 +0000 (Thu, 11 Jul 2013) | 19 lines

MFC: r252673
A problem with the old NFS client where large writes to large files
would sometimes result in a corrupted file was reported via email.
This problem appears to have been caused by r251719 (reverting
r251719 fixed the problem). Although I have not been able to
reproduce this problem, I suspect it is caused by another thread
increasing np->n_size after the mtx_unlock(&np->n_mtx) but before
the vnode_pager_setsize() call. Since the np->n_mtx mutex serializes
updates to np->n_size, doing the vnode_pager_setsize() with the
mutex locked appears to avoid the problem.
Unfortunately, vnode_pager_setsize() where the new size is smaller,
cannot be called with a mutex held.
This patch returns the semantics to be close to pre-r251719 such that the
call to the vnode_pager_setsize() is only delayed until after the mutex is
unlocked when np->n_size is shrinking. Since the file is growing
when being written, I believe this will fix the corruption.

Tested by:	remy.nonnenmacher at activnetworks.com

------------------------------------------------------------------------
r253180 | bryanv | 2013-07-11 03:49:14 +0000 (Thu, 11 Jul 2013) | 7 lines

MFC VirtIO r252703,r252707

r252703: Document new cache write mode tunables/sysctl
r252707: Minor cleanup and use my FreeBSD.org email

Also change the release where first appeared closer to reality.

------------------------------------------------------------------------
r253183 | kib | 2013-07-11 04:47:44 +0000 (Thu, 11 Jul 2013) | 6 lines

MFC r252714:
The tvp vnode on rename is usually unlinked.  Drop the cached null
vnode for tvp to allow the free of the lower vnode, if needed.

PR:	kern/180236

------------------------------------------------------------------------
r253184 | alfred | 2013-07-11 04:57:08 +0000 (Thu, 11 Jul 2013) | 4 lines

Fix for lost software interrupts/cam lockup.

MFC: 252683

------------------------------------------------------------------------
r253192 | dim | 2013-07-11 06:48:53 +0000 (Thu, 11 Jul 2013) | 18 lines

MFC r253042:

Pull in r185616 from llvm trunk:

  FastISel can only append to basic blocks.

  Compute the insertion point from the end of the basic block instead of
  skipping labels from the front.

  This caused failures in landing pads when live-in copies where inserted
  before instruction selection.

I missed this change in r252720; without it, certain compilation flags
can cause exception labels to not be generated, but still referenced,
leading to link errors.

Reported by:	zeising

------------------------------------------------------------------------
r253193 | mav | 2013-07-11 07:14:51 +0000 (Thu, 11 Jul 2013) | 3 lines

MFC r253036:
Add quirk to configure headphones redirection on ASUS UX31A laptop.

------------------------------------------------------------------------
r253194 | mav | 2013-07-11 07:17:03 +0000 (Thu, 11 Jul 2013) | 4 lines

MFC r253069, r253074:
Add one more ID of Marvell SATA controller.
Add ID for Marvell 88SE9215 AHCI SATA controller.

------------------------------------------------------------------------
r253195 | yongari | 2013-07-11 08:18:00 +0000 (Thu, 11 Jul 2013) | 4 lines

MFC r245870:
  bge_attach() can fail before attaching mii(4). So make sure to check
  bge_miibus before detaching mii(4).

------------------------------------------------------------------------
r253197 | yongari | 2013-07-11 08:41:45 +0000 (Thu, 11 Jul 2013) | 3 lines

MFC r245867:
  For 57765 class controllers, set low watermark max receive frames to 1.

------------------------------------------------------------------------
r253200 | smh | 2013-07-11 09:10:17 +0000 (Thu, 11 Jul 2013) | 3 lines

MFC r253091:
Added 4K QUIRK for OCZ Vertex 4 SSDs

------------------------------------------------------------------------
r253202 | mav | 2013-07-11 09:27:56 +0000 (Thu, 11 Jul 2013) | 3 lines

Partially MFC r249095:
Add period script for graid(8) monitoring.

------------------------------------------------------------------------
r253203 | avg | 2013-07-11 12:42:46 +0000 (Thu, 11 Jul 2013) | 3 lines

MFC r253077: should_yield: protect from td_swvoltick being uninitialized
or too stale

------------------------------------------------------------------------
r253205 | des | 2013-07-11 12:47:06 +0000 (Thu, 11 Jul 2013) | 4 lines

MFH (r246553): document and explain need for setuid bit.

PR:		docs/167741

------------------------------------------------------------------------
r253206 | des | 2013-07-11 12:49:12 +0000 (Thu, 11 Jul 2013) | 4 lines

MFH (r246552): mention newgrp(1) and how to change the group password.

PR:		docs/167741

------------------------------------------------------------------------
r253211 | wblock | 2013-07-11 15:45:51 +0000 (Thu, 11 Jul 2013) | 26 lines

MFC r245910,r247370,r249371,r252492,r252586:

r252586:

Add descriptions to the FILES list, fix some mdoc complaints, move the
"neither" entry out of the table in BOOTING.

r252492:

Add a new gptboot(8) man page.  Factor out the redundant information
in gpart(8) and boot(8), adding references to gptboot(8) in both.

r249371:

Remove kernel options from the SYNOPSIS. They are already documented in the
geom(4) manual page SYNOPSIS.

r247370:

Fix typo in EFI GPT GUID.

r245910:

Expand description of how gptboot and gptzfsboot choose a partition for
booting.

------------------------------------------------------------------------
r253212 | wblock | 2013-07-11 15:53:19 +0000 (Thu, 11 Jul 2013) | 4 lines

MFC r252696:

Put the power modes in a list to make them easier to find.

------------------------------------------------------------------------
r253213 | wblock | 2013-07-11 15:55:57 +0000 (Thu, 11 Jul 2013) | 5 lines

MFC r252713:

Whitespace fixes: remove tabs on blank links, spaces following content,
tabs after spaces.

------------------------------------------------------------------------
r253216 | gjb | 2013-07-11 19:04:19 +0000 (Thu, 11 Jul 2013) | 6 lines

- Set stable/9 branch to -PRERELEASE status.
- Add 9.2 mdoc(7) macro.

Approved by:	re (implicit)
Approved by:	kib (mentor)

------------------------------------------------------------------------
r253218 | pfg | 2013-07-11 19:18:13 +0000 (Thu, 11 Jul 2013) | 9 lines

MFC	r253050:

Enhancement when writing an entire block of a file (from UFS r231313).

This change first attempts the uiomove() to the newly allocated
(and dirty) buffer and only zeros it if the uiomove() fails. The
effect is to eliminate the gratuitous zeroing of the buffer in
the usual case where the uiomove() successfully fills it.

------------------------------------------------------------------------
r253220 | dim | 2013-07-11 20:09:46 +0000 (Thu, 11 Jul 2013) | 11 lines

MFC r240966 (by brooks)

Add a COMPILER_FEATURES variable that is set in bsd.compiler.mk.

When the compiler is clang add c++11 to COMPILER_FEATURES.

When the compiler supports c++11, default to building libc++.  This will
not impact the compliation of programs, but will make it easier for
users with clang compiled systems to test libc++ by passing -stdlib=libc++
to their c++ compliations.

------------------------------------------------------------------------
r253222 | dim | 2013-07-11 21:33:03 +0000 (Thu, 11 Jul 2013) | 5 lines

MFC r253159 (by theraven):

Import new libcxxrt / libc++.  This brings some bug fixes, including a
potential race condition for static initialisers.

------------------------------------------------------------------------
r253223 | jilles | 2013-07-11 22:15:14 +0000 (Thu, 11 Jul 2013) | 2 lines

MFC r251211: test(1): Add information about replacing -nt/-ot.

------------------------------------------------------------------------
r253227 | hrs | 2013-07-12 00:40:49 +0000 (Fri, 12 Jul 2013) | 33 lines

MFC 230453, 230726, 252015, 252426:

- ipv6_enable + ipv6_gateway_enable should unset ACCEPT_RTADV by default for
  backward compatibility.

- Configurations in ipv6_prefix_IF should be recognized even if there is no
  ifconfig_IF_ipv6.

- DAD wait should be performed at once, not on a per-interface basis, if
  possible.  This fixes an issue that a system with a lot of IPv6-capable
  interfaces takes too long for booting.

- Add CIDR notation support like 192.168.1-2.10-16/24 to $ifconfig_IF_aliasN.
  This is an extended version of ipv4_addr_IF which supports both IPv4 and
  IPv6, and multiple range specifications.  To avoid to generate too many
  addresses, the maximum number of the generated addresses is currently
  limited to 31.

- Add $ifconfig_IF_aliases, which accepts multiple IP aliases in a variable.

- ipv6_prefix_IF now supports !/64 prefix length.  In addition to the old
  64-bit format (2001:db8:1:1), a full 128-bit format like 2001:db8:1:1::/64
  is supported.

- Replace ifconfig command with $IFCONFIG_CMD variable to support
  a dry-run mode in the future.

- Remove IP aliases before removing all of IPv4 addresses when doing
  "rc.d/netif down".

- Add a DAD wait to network6_getladdr() because it is possible to fail to
  configure an EUI64 address when ipv6_prefix_IF is specified.

------------------------------------------------------------------------
r253230 | hrs | 2013-07-12 01:06:08 +0000 (Fri, 12 Jul 2013) | 4 lines

MFC 243441:

Support a flag for ALLOW/BLOCK in source-specific multicast (RFC 4604).

------------------------------------------------------------------------
r253231 | hrs | 2013-07-12 01:08:12 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC 243324:

Do not put "already running" message when rc_quiet=yes.

PR:	bin/165477

------------------------------------------------------------------------
r253232 | hrs | 2013-07-12 01:12:28 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC 242301:

Load ipdivert.ko when natd_enable=YES.

PR:	conf/167566

------------------------------------------------------------------------
r253233 | hrs | 2013-07-12 01:16:19 +0000 (Fri, 12 Jul 2013) | 4 lines

MFC 242184:

Add setfib(1) support for services as <name>_fib in rc.conf.

------------------------------------------------------------------------
r253234 | hrs | 2013-07-12 01:23:41 +0000 (Fri, 12 Jul 2013) | 10 lines

MFC 243185, 243188, 243212:

Add -fib modifier to specify FIB number.  The FIB number can be in a
comma-separated list and/or range specification:

 # route add -inet 192.0.2.0/24 198.51.100.1 -fib 1,3-5,6

Although all of the subcommands supports the modifier, "monitor" does not
support the list or range specification at this moment.

------------------------------------------------------------------------
r253235 | hrs | 2013-07-12 01:25:24 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC 244325:

- Fix strtol() error handling.
- Add a range condition of given FIB number and the related error messages.
- Fix free() problem.

------------------------------------------------------------------------
r253236 | hrs | 2013-07-12 01:27:11 +0000 (Fri, 12 Jul 2013) | 4 lines

MFC 245168:

Fix -iface and -interface modifiers.

------------------------------------------------------------------------
r253237 | hrs | 2013-07-12 01:29:57 +0000 (Fri, 12 Jul 2013) | 5 lines

MFC 251581:

Fix a bug that the gateway address was not shown when a -gateway modifier
was used.

------------------------------------------------------------------------
r253238 | hrs | 2013-07-12 01:34:24 +0000 (Fri, 12 Jul 2013) | 18 lines

MFC 251584:

Add :ifname modifier to specify interface-specific routes into
{,ipv6_}static_routes and rc.d/routing.  For example:

 static_routes="foo bar:em0"
 route_foo="-net 10.0.0.0/24 -gateway 192.168.2.1"
 route_bar="-net 192.168.1.0/24 -gateway 192.168.0.2"

At boot time, all of the static routes are installed as before.
The differences are:

- "/etc/rc.d/netif start/stop <if>" now configures static routes
  with :<if> if any.
- "/etc/rc.d/routing start/stop <af> <if>" works as well.  <af> cannot be
  omitted when <if> is specified, but a keyword "any" or "all" can be used
  for <af> and <if>.

------------------------------------------------------------------------
r253239 | hrs | 2013-07-12 01:52:31 +0000 (Fri, 12 Jul 2013) | 25 lines

MFC 232379, 252511, 252548, 253060:

- Allow to configure net.inet6.ip6.{accept_rtadv,no_radr} by the
  loader tunables as well because they have to be configured before
  interface initialization for AF_INET6.

- Allow ND6_IFF_AUTO_LINKLOCAL for IFT_BRIDGE.  An interface with IFT_BRIDGE
  is initialized with !ND6_IFF_AUTO_LINKLOCAL && !ND6_IFF_ACCEPT_RTADV
  regardless of net.inet6.ip6.accept_rtadv and net.inet6.ip6.auto_linklocal.
  To configure an autoconfigured link-local address (RFC 4862), the
  following rc.conf(5) configuration can be used:

   ifconfig_bridge0_ipv6="inet6 auto_linklocal"

- if_bridge(4) now removes IPv6 addresses on a member interface to be
  added when the parent interface or one of the existing member
  interfaces has an IPv6 address.  if_bridge(4) merges each link-local
  scope zone which the member interfaces form respectively, so it causes
  address scope violation.  Removal of the IPv6 addresses prevents it.

- if_lagg(4) now removes IPv6 addresses on a member interfaces
  unconditionally.

- Set reasonable flags to non-IPv6-capable interfaces.

------------------------------------------------------------------------
r253240 | hrs | 2013-07-12 01:55:28 +0000 (Fri, 12 Jul 2013) | 4 lines

MFC 253093:

Make mandoc lint happy.

------------------------------------------------------------------------
r253241 | hrs | 2013-07-12 01:56:05 +0000 (Fri, 12 Jul 2013) | 4 lines

MFC 253066:

Update references.

------------------------------------------------------------------------
r253242 | hrs | 2013-07-12 01:59:30 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC 253058:

- Add missing "static" keywords.
- Add a check for ifindex to if_indextoifinfo().  It returns NULL when
  if_indextoname() fails.

------------------------------------------------------------------------
r253243 | hrs | 2013-07-12 02:11:42 +0000 (Fri, 12 Jul 2013) | 4 lines

MFC 245015:

Print the flags= part only when flags != 0.

------------------------------------------------------------------------
r253244 | sbruno | 2013-07-12 02:26:15 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC r251516

Implement foreign device handling.

PR:	kern/172091

------------------------------------------------------------------------
r253245 | yongari | 2013-07-12 02:28:01 +0000 (Fri, 12 Jul 2013) | 4 lines

MFC r253134:
  Avoid controller reinitialization which could be triggered by
  dhclient(8) or alias addresses are added.

------------------------------------------------------------------------
r253250 | grehan | 2013-07-12 05:45:09 +0000 (Fri, 12 Jul 2013) | 11 lines

MFC r245066
-------------------------------------------------------------------------
Teach the kernel to recognize that it is executing inside a bhyve virtual
machine.
-------------------------------------------------------------------------

This will help a 9.2 guest to run more effectively as a bhyve guest.

Reviewed by:	neel
Approved by:	re

------------------------------------------------------------------------
r253257 | kib | 2013-07-12 10:02:47 +0000 (Fri, 12 Jul 2013) | 5 lines

MFC r253095:
Fix typo in comment.

Approved by:	re (hrs)

------------------------------------------------------------------------
r253259 | kib | 2013-07-12 10:07:48 +0000 (Fri, 12 Jul 2013) | 12 lines

MFC r251282:
When auto-sizing the buffer cache, limit the amount of physical memory
used as the estimation of size, to 16GB.  This provides around 100K of
buffer headers and corresponding KVA for buffer map at the peak.
Sizing the cache larger is not useful, also resulting in the wasting
and exhausting of KVA for large machines.

MFC note: the commit message was adjusted to match the code change, the
sizing cap is for 16GB, as noted by delphij.

Approved by:	re (delphij)

------------------------------------------------------------------------
r253263 | tuexen | 2013-07-12 12:40:21 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC r253099:
Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statistics
accounting.

Approved by: re@

------------------------------------------------------------------------
r253269 | tuexen | 2013-07-12 14:58:09 +0000 (Fri, 12 Jul 2013) | 10 lines

MFC r253104:
Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by
sctp_opt_info().

MFC r253105:
Fix the handling of SCTP_CURRENT_ASSOC and SCTP_ALL_ASSOC in
sctp_opt_info().

Approved by: re@

------------------------------------------------------------------------
r253273 | marius | 2013-07-12 16:41:58 +0000 (Fri, 12 Jul 2013) | 17 lines

MFC: r253120

- As it turns out, not only MSI-X is broken for devices passed through by
  VMware up to at least ESXi 5.1. Actually, using INTx in that case instead
  may still result in interrupt storms, with MSI being the only working
  option in some configurations. So introduce a PCI_QUIRK_DISABLE_MSIX quirk
  which only blacklists MSI-X but not also MSI and use it for the VMware
  PCI-PCI-bridges. Note that, currently, we still assume that if MSI doesn't
  work, MSI-X won't work either - but that's part of the internal logic and
  not guaranteed as part of the API contract. While at it, add and employ
  a pci_has_quirk() helper.
  Reported and tested by: Paul Bucher
- Use NULL instead of 0 for pointers.

Submitted by:	jhb (mostly)
Approved by:	re (hrs), jhb

------------------------------------------------------------------------
r253278 | marius | 2013-07-12 18:02:10 +0000 (Fri, 12 Jul 2013) | 10 lines

MFC: r240981, r240990, r240992, r244695

Add 32-bit ABI compat shims. Those are necessary for i386 binary-only
tools like sysutils/hpacucli (HP P4xx RAID controller management
suite) working on amd64 systems.

PR:		139271
Submitted by:	Kazumi MORINAGA, Eugene Grosbein
Approved by:	re (kib)

------------------------------------------------------------------------
r253281 | trociny | 2013-07-12 18:54:47 +0000 (Fri, 12 Jul 2013) | 22 lines

MFC r252710:

In r227207, to fix the issue with possible NULL inp_socket pointer
dereferencing, when checking for SO_REUSEPORT option (and SO_REUSEADDR
for multicast), INP_REUSEPORT flag was introduced to cache the socket
option.  It was decided then that one flag would be enough to cache
both SO_REUSEPORT and SO_REUSEADDR: when processing SO_REUSEADDR
setsockopt(2), it was checked if it was called for a multicast address
and INP_REUSEPORT was set accordingly.

Unfortunately that approach does not work when setsockopt(2) is called
before binding to a multicast address: the multicast check fails and
INP_REUSEPORT is not set.

Fix this by adding INP_REUSEADDR flag to unconditionally cache
SO_REUSEADDR.

PR:		179901
Submitted by:	Michael Gmelin freebsd grem.de (initial version)
Reviewed by:	rwatson
Approved by:	re (kib)

------------------------------------------------------------------------
r253283 | dim | 2013-07-12 20:06:52 +0000 (Fri, 12 Jul 2013) | 4 lines

Update clang's target triple for FreeBSD 9.2-PRERELEASE.

Approved by:	re (delphij)

------------------------------------------------------------------------
r253289 | jimharris | 2013-07-12 22:01:18 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC r241431:

Add man pages for nvme(4) and nvd(4).

Approved by:	re (kib)

------------------------------------------------------------------------
r253291 | jimharris | 2013-07-12 22:02:35 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC r241479:

Remove whitespace.

Approved by:	re (kib)

------------------------------------------------------------------------
r253292 | remko | 2013-07-12 22:03:41 +0000 (Fri, 12 Jul 2013) | 9 lines

MFC r252294 and r252295:

Add support for the NTT Docomo L-02C Card

PR:		180017
Submitted by:	Masaharu FUJITA
Glanced at by:	imp
Approved by:	re (delphij)

------------------------------------------------------------------------
r253293 | jimharris | 2013-07-12 22:03:46 +0000 (Fri, 12 Jul 2013) | 7 lines

MFC r253111:

Update nvme(4) and nvd(4) to reflect recent work and upcoming inclusion
in 9.2 release.

Approved by:	re (kib)

------------------------------------------------------------------------
r253294 | jimharris | 2013-07-12 22:05:17 +0000 (Fri, 12 Jul 2013) | 7 lines

MFC r253107:

  Add pci_enable_busmaster() and pci_disable_busmaster() calls in
  nvme_attach() and nvme_detach() respectively.

Approved by:	re (kib)

------------------------------------------------------------------------
r253295 | jimharris | 2013-07-12 22:06:17 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC r253108:

  Do not retry failed async event requests.

Approved by:	re (kib)

------------------------------------------------------------------------
r253296 | jimharris | 2013-07-12 22:07:33 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC r253112:

  Update copyright dates.

Approved by:	re (kib)

------------------------------------------------------------------------
r253297 | jimharris | 2013-07-12 22:08:24 +0000 (Fri, 12 Jul 2013) | 7 lines

MFC r253113:

  Add comment explaining why CACHE_LINE_SIZE is defined in nvme_private.h
  if not already defined elsewhere.

Approved by:	re (kib)

------------------------------------------------------------------------
r253298 | jimharris | 2013-07-12 22:12:48 +0000 (Fri, 12 Jul 2013) | 21 lines

MFC r253109, r253279:

r253109:
  Incorporate feedback from bde@ based on r252672 changes:

  * Use 0/1 instead of sysexits.  Man pages are confusing on this topic,
    but 0/1 is sufficient for nvmecontrol.
  * Use err function family where possible instead of fprintf/exit.
  * Fix some typing errors.
  * Clean up some error message inconsistencies.

r253279:
  %d should be used for printing int32_t instead of %zd.

  clang does not complain about this - only gcc.

Incorporated r253279 prior to MFC timeout because it is required for gcc
builds.

Approved by:	re (kib)

------------------------------------------------------------------------
r253299 | jimharris | 2013-07-12 22:13:46 +0000 (Fri, 12 Jul 2013) | 9 lines

MFC r253110:

  Try to read firmware image before prompting the user to confirm
  firmware download.  This correctly prints an error and exits for
  an incorrect firmware image name before prompting the user to
  confirm the download.

Approved by:	re (kib)

------------------------------------------------------------------------
r253300 | jimharris | 2013-07-12 22:14:57 +0000 (Fri, 12 Jul 2013) | 11 lines

MFC r253114:

  Send per-namespace logpage commands to the controller devnode, so they
  are processed as admin commands, not I/O commands.

  As part of this change, pull out the code for parsing a namespace node
  string into a separate function, since it is used for both identify and
  logpage commands.

Approved by:	re (kib)

------------------------------------------------------------------------
r253301 | jimharris | 2013-07-12 22:15:50 +0000 (Fri, 12 Jul 2013) | 6 lines

MFC r253115:

  Condense the output for displaying LBA formats.

Approved by:	re (kib)

------------------------------------------------------------------------
r253302 | jimharris | 2013-07-12 22:16:43 +0000 (Fri, 12 Jul 2013) | 10 lines

MFC r253116:

  Ensure controller or namespace node name is specified before trying to
  access it.

  While here, also fix the identify usage message to show the -v and -x
  parameters.

Approved by:	re (kib)

------------------------------------------------------------------------
r253320 | des | 2013-07-13 10:47:17 +0000 (Sat, 13 Jul 2013) | 4 lines

MFH (r253138,r253258): install authpf-noip

Approved by:	re (delphij)

------------------------------------------------------------------------
r253324 | mckusick | 2013-07-13 18:09:42 +0000 (Sat, 13 Jul 2013) | 8 lines

MFC of 252527:

Make better use of metadata area by avoiding using it for data blocks
that no should no longer immediately follow their indirect blocks.

Reviewed by: Bruce Evans
Approved by: re (marius@)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-snapshots/attachments/20130714/04f6e4f2/attachment-0001.sig>


More information about the freebsd-snapshots mailing list