MFC r235280:
Remove a constant which is only used on non-FreeBSD platform.
(The actual code for the socket option handling has been #ifdefed
out forever...)


git-svn-id: svn://svn.freebsd.org/base/stable/9@235430 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r235282:
Only provide the supported features in the SCTP_ASSOC_CHANGE notif
if the state is SCTP_COMM_UP or SCTP_RESTART.
While there, do some cleanups.


git-svn-id: svn://svn.freebsd.org/base/stable/9@235431 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r235283:
Fix a bug in the handling of association reset request.


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

Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form.


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

Fix parsing values which contain multiple "=" signs.

Submitted by:	glarkin
Sponsored by:	iXsystems


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

Add the ability to configure multiple interfaces

Submitted by:	glarkin
Obtained from:	PC-BSD


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

Fix some issues creaing zpool mirror / raidz1(2)(3) devices.
Fix issues stamping boot on other ZFS drives, now you can boot after removing
mirror drive.

Submitted by:	kmoore
Obtained from:	PC-BSD
Sponsored by:	iXsystems


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

Use a unique zpool name during install, in the case of having another
PC-BSD / FreeBSD zpool on the system for another install.

Submitted by:	kmoore
Obtained from:	PC-BSD
Sponsored by:	iXsystems


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

Add powerpc / powerpc64 support to pc-sysinstall. This patch will
autodetect if on powerpc and use the APM gpart GEOM class
automaticaly.  At this time support for full disk installation is
the only supported scheme.

Submitted by:	kmoore
Obtained from:	PC-BSD
Sponsored by:	iXsystems


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

Add bootcamp bootloader stamp.

Submitted by:	kmoore
Obtained from:	PC-BSD
Sponsored by:	iXsystems


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

The value of flags matching VNOVAL can't be supported. Return EOPNOTSUPP
from setfflags() in this case. This fixes the return value of
chflags(path, -1).


git-svn-id: svn://svn.freebsd.org/base/stable/9@235449 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r235143:
Plug a leak.


git-svn-id: svn://svn.freebsd.org/base/stable/9@235466 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r230643: stop_scheduler -> td_stopsched


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

Initial copy of xz-embedded to sys/contrib/.

The upcoming geom_compress module (a read-only gzip/ulzma translation layer,
similar to what geom_uzip does) will leverage parts of this.


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

Update contrib/xz-embedded to build with new GEOM_UNCOMPRESS module.


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

GEOM_UNCOMPRESS module, can be used with uzip images and with new ulzma images.


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

mkulzma used to create lzma compressed images, just like mkuzip do.


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

Fix off-by-one error in sati_inquiry_block_device_translate_data().  Bug would
result in INQUIRY VPD 0x81 to SATA devices to return only 63 bytes of data
instead of 64 during SCSI/ATA translation.

Sponsored by: Intel


git-svn-id: svn://svn.freebsd.org/base/stable/9@235494 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r235201 r235419:
	 Add missing period at the end of the error message

Approved by:	cperciva (implicit)


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

Check vplabel for NULL before dereferencing it.  Fixes a panic
when running atop with MAC_MLS enabled.


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