New stable release: HardenedBSD-stable 11-CURRENT v44

HardenedBSD-11-CURRENT-v44 -

Oliver Pinter (6):
Merge remote-tracking branch 'origin/freebsd/current/master' into hardened/current/master
HBSD: fix merge conflict in etc/rc.d/abi file
HBSD: fix noexec's paxflags parser
HBSD: update UPDATING-HardenedBSD
HBSD: bump __HardenedBSD_version after ASLR and NOEXEC changes
HBSD: fix the accidentally deleted line in kbdmux.c

Oliver Pinter + (128):
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master
Merge branch 'freebsd/current/master' into hardened/current/master

Shawn Webb (13):
HBSD: Update LATT-SEC kernel
HBSD: More HardenedBSD cleanup.
HBSD: Fix tabbing.
HBSD: Do not report ASLR deltas in jail ddb
HBSD: Bump __HardenedBSD_version to 43
HBSD: Fix building with FREEBSD_COMPAT32
HBSD: Change ASLR defaults for 32bit systems.
Merge remote-tracking branch 'origin/freebsd/current/master' into hardened/current/master
HBSD: Fix merge conflict in sys/ddb/db_ps.c.
Merge remote-tracking branch 'origin/freebsd/current/master' into hardened/current/master
HBSD: Fix merge conflict in sys/dev/kbdmux/kbdmux.c
HBSD: Remove extra KBDMUX_DFLT_KEYMAP kernel option.

ache (2):
EUC-type encodings don't have single byte characters >= 128
SJIS encoding don't have single byte characters >= 224

adrian (39):
[net80211] handle unlisted information elements.
class -> i_class. Thanks C++.
[net80211] Begin implementing rate control module stats.
Add initial VHT IE's and action codes.
Display the VHT IE names.
[net80211] Add some more missing IEs.
Add initial 802.11ac IEs and fields.
[net80211] IE 127 is not MESHEXTCAP, just EXTCAP.
Remove duplicate LE_READ_4() definition.
Add parsing for AP channel report IE.
[net80211] Add VHT Transmit Power Envelope element - 802.11ac-2013
[urtwn] migrate urtwn out into sys/dev/urtwn/ .
Now that urtwn is its own device, and it'll get hotplug loaded by devd/ifconfig/etc, don't build it in the kernel.
Remove urtwn/urtwnfw; it's built as a module now.
Remove from NOTES - it's built as a module now.
[urtwn] welcome basic 11n support to urtwn.
[net80211] add missing static declarations.
[net80211] Add fields to decode uAPSD fields.
[net80211] migrate the time_* macros to ieee80211_* namespace.
[bwn] fix time_before -> ieee80211_time_before()
Add support for the Nuvoton NCT5104D.
[iwn] Don't try to seamlessly recover from a firmware panic; just restart the interface.
[net80211] add amsdu and fast frames encap failure counters in the ioctl definition.
[net80211] teach wlanstats about the ff_encapfail field.
[net80211] Add an A-MSDU debug output shortcut.
[net80211] Add a new capability flag to indicate that the stack should do software A-MSDU encapsulation.
[net80211] note that M_FF will soon mean "fast-frames" or "A-MSDU."
[net80211] rename 11n rate macros into a useful spot
[urtwn] first cut of getting the fast-frames / amsdu support in shape.
[rsu] We don't do A-MPDU transmit right now, so don't bother registering for it.
[urtwn] disable doing AMPDU TX.
[net80211] Initial A-MSDU support for testing / evaluation
[net80211] missed commit from last one - always cleanup superg state.
[wlanstats] Convert rssi / signal / rate to use float.
[net80211] revert part of r282405 in order to restore IBSS behaviour.
[net8021] Pull out the ibss check code into a public function.
[ath] Only process beacon frames for the IBSS/BSSID if appropriate.
[net80211] print out the channel type (eg a, b, g, n) when creating an IBSS network.

ae (6):
Add support for IPPROTO_IPV6 socket layer for getsockopt/setsockopt calls. Also add mapping for several options from RFC 3493 and 3542.
Set buffer to empty string to prevent duplicated output in some cases.
Change in6_selectsrc() to allow usage of non-local IPv6 addresses in IPV6_PKTINFO ancillary data when IPV6_BINDANY socket option is set.
Reduce the number of local variables. Remove redundant check that inp pointer isn't NULL, it is safe, because we are handling IPV6_PKTINFO socket option in this block of code. Also, use in6ifa_withaddr() instead of ifa_withaddr().
Fix handling of net.inet.ipsec.dfbit=2 variable. IP_DF macro is in host bytes order, but ip_off field is in network bytes order. So, use htons() for correct check.
Fix regression introduced in r296986.

ak (1):
- Implement -T option to allow to specify a fs type for a vnode-backed memory disk - Rephrase -t option description (manpage) - Split long sentences (manpage)

allanjude (8):
Implement GELI (AES-XTS and AES-CBC only) in gptboot and gptzfsboot
Remove 50% ZFS conditional from bsdinstall/zfsboot
Do not prompt for GELI passphrase is encrypted with keys only
Fix GELIBoot support for GELI sector size is > 512
Create the GELIBOOT GEOM_ELI flag
GELIBoot should only prompt for the GELI passphrase if the provider has the G_ELI_FLAG_GELIBOOT set
Do not add swap to fstab when swapsize is 0
bsdinstall/zfsboot should create /tmp and /var/tmp if they do not exist

andrew (22):
Disable building the csqrt_test test on arm64, it hits an assert in llvm 3.8.
Add SMP support for the Allwinner A31 and A31s. This updated the existing code for the A20 to use the new PLATFORM_SMP interface, and extends it to add support for the new SoCs allowing for both to coexist within the same kernel.
Print the correct size of loader.efi when failing to load it into memory.
Remove old COMPAT_FREEBSD options from the ARM kernel configs. We replaced the ABI in 10.0, and have removed support for the old ABI in 11. As such any of these options to provide compatibility prior to 10 are unneeded.
Make it an error to build an ARM kernel with COMPAT_FREEBSDn where n Remove the invalid L0_BLOCK definition. ARMv8 doesn't support block translation in the level 0 descriptor.
Reduce the diff with intrng by renaming similar functions. This is a noop, but will help move to use the common interrupt handling code later.
Rename COUNT_IPI to INTR_IPI_COUNT to reduce the diff with intrng.
Move the opt_ files to be included first so their definitions can be used from within all further included files.
Use the saved program state register to detect when an exception frame is from userpsace. Previously we could have triggered a panic by trying to jump to a kernel address from userland as the trap handling code thought we received an ast in kernel mode.
Only define the platform methods for the Allwinner platforms we are building for.
Read the CPU ID for the current CPU from the GIC. The GIC may have a different ID space than the kernel. Because of this we need to read the ID from the hardware. The hardware will provide this value to the CPU by reading any of the first 8 Interrupt Processor Targets Registers.
Add support for 4 level pagetables. The userland address space has been increased to 256TiB. The kernel address space can also be increased to be the same size, but this will be performed in a later change.
Fix a format string when uint64_t is not unsigned long long by casting through uintmax_t.
Include sys/rman.h directly rather than relying on header pollution.
Reduce the diff for when we switch to intrng. The IPI interrupts will be split out to multiple handlers.
Add a table to map from the FreeBSD CPUID space to the GIC CPUID space. On many SoCs these two are the same, however there is no requirement for this to be the case, e.g. on the ARM Juno we boot on what the GIC thinks of as CPU 2, but FreeBSD numbers it CPU 0.
Allow vmparam.h to be included from assembly files on arm64.
Cleanup the early pagetable creation code in preperation for increasing the size of the arm64 DMAP region.
Use PHYS_IN_DMAP to check if a physical address is within the DMAP region.
Disable support for compat syscalls on arm64. These symbols were never shipped since arm64 exists only on 11+.
Revert a change that sneeked with 297619

avg (7):
remove emulation of VFS_HOLD and VFS_RELE from opensolaris compat
zfs receive: -u can be ignored sometimes
fix zfs set canmount=off on an unmounted filesystem
new x86 smp topology detection code
x86 topo: add some comments, descriptions and references to documentation
zio write issue threads should have lower (numerically greater) priority
topo_set_pu_id: turn a check into an assertion

avos (10):
net80211: add missing SLEEP -> AUTH state transition for station mode.
net80211: enable software beacon miss timer in SLEEP state
rum: separate some microcontroller vendor-specific requests into rum_do_mcu_request()
rum: do not try to restore bssid/TSF synchronization when device is not associated.
rum: simplify error handling in rum_newstate().
rum: add legacy power saving support (STA mode).
wpi: remove internal taskqueue
net80211: fix panic for DWDS vaps
wpi, iwn: fix check in find_eeprom_channel()
net80211: copy MAC address into iv_myaddr[] instead of aliasing it.

bapt (5):
Install a usable mailer.conf for dragonfly mailer agent if sendmail is disabled
Update pci_vendors database to 2016-02-27
Remove some unneeded headers
Cleanup headers
Add kern.features flags for linux and linux64 modules

bdrewery (116):
Only call bwillwrite() for logging to vnodes, as other fo_write() calls do.
Require kldunload -f to unload.
Add missing break for r296472.
Follow-up r296324: Fix STATICOBJS dependency guesses conditions.
Filemon: Attach from the child to avoid racing with the parent attach.
Just exit in the child if execve(2) fails.
Record command exit status in the typescript file when running simple commands.
Don't ever create object directories here with MK_AUTO_OBJ.
DIRDEPS_BUILD: Update clang dependencies after r296417.
PROGS: Track child meta files.
Remove things set already by
DIRDEPS_BUILD+PROGS: Fix staging not respecting (BINDIR|PROGNAME)[._]${PROG}.
Follow-up r295827: Don't enable meta stats when recursing PROGS.
FILEMON_SET_FD: Disallow changing the fd.
Remove these broken filemon tests.
DIRDEPS_BUILD: Let PROGS bootstrapping work.
These group names may be used as a cookie, so replace any non-fs-safe characters.
Fix and connect setjmp test.
Remove redundant files already tracked by tools/build/mk/
Fix make -n upgrade_checks.
Fix upgrade of bmake by not setting conflicting MAKE_VERSION.
Fix bmake upgrade NO_MAN warnings.
FAST_DEPEND: Use .dinclude to enable full .depend logic in bmake.
Use the new bmake .dinclude feature to make these safe.
Enable FAST_DEPEND by default.
Revert r296645 as it breaks stable/10->head builds.
Avoid bmake upgrade NO_MAN warning by just setting MAN to empty.
Avoid MK_TESTS error on stable/10 by just preventing SUBDIR recursion.
Add more casper leftover files.
DIRDEPS_BUILD: Remove the cookie when target is out-of-date.
DIRDEPS_BUILD: None of this is needed anymore.
Remove out-of-place make(buildincludes) check.
DIRDEPS_BUILD: Extend beforeinstall: staging hack.
DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.
DIRDEPS_BUILD: Avoid rebuilds due to changed build commands with newly staged tools.
DIRDEPS_BUILD: Fix building during dirdeps.
DIRDEPS_BUILD: Reduce restaging here.
DIRDEPS_BUILD: Add a sure way to prohibit building 'all' during dirdeps phase.
META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.
META_MODE: We can only use a cookie if filemon is being used.
Remove exists() checks so normal out-of-date handling can be used.
Don't even define or append subdir targets with NO_SUBDIR.
Remove bogus .ORDER.
Revert r269030. CLEANFILES is already added to .NOPATH since r241298.
Add more .NOMETA missed in r291320
Add missing CLEANFILES.
DIRDEPS_BUILD: Update dependencies.
Move Makefile.lib32 to Makefile.libcompat and generalize it.
Follow-up r296709: Fix build32 not properly building all libraries.
Stop looking up these values in every subdir on install.
Reduce duplicated logic from r291744.
Enable FAST_DEPEND by default.
We only support GCC 4.8 for these flags.
Follow-up r296700: Fix incorrectly declaring these as .MAIN.
Reword SX_NOADAPTIVE description to be clear that adaptive is default.
Partially revert r266227 and stop stripping paths in ldscripts.
Remove incorrect BUGS entry about asserting lock not held.
DIRDEPS_BUILD: Update dependencies.
Track filemon usage via a proc.p_filemon pointer rather than its own lists.
Stop tracking stat(2).
Consolidate open(2) and openat(2) code.
Use curthread for vn_fullpath.
Document openat(2) behavior.
Attempt to use the namecache for openat(2) path resolution.
Consolidate common link(2) logic.
Spell out 'system calls'.
Follow-up r297156: Close the log in filemon_dtr rather than in the last reference.
Return any log write failure encountered when closing the filemon fd.
Remove unused done argument to copyinstr(9).
Handle copyin failures.
Remove disconnected casperd, missed in r296047.
Fix M_RTABLE memory leak from r274118 (11/2014).
Pass the expected struct radix_node_head * to vfs_free_netcred.
Explicit 'make obj' for library dirs in build32 is not needed.
Don't reset CC away from full-pathed gcc.
CCACHE_BUILD: Don't use ccache when generating some files with CC -E.
Fix off-by-one found by GCC 5.3.2.
Remove unneeded return left from refactoring.
Make GCC happy by removing empty #elif.
LIBRARIES_ONLY should only be defined during install32.
Build libcompat (lib32) with a --sysroot pointing into its stage directory.
Update flags for external GCC.
Fix libcompat not handling some external toolchain flags.
WITHOUT_CROSS_COMPILER: Fix this to use external compiler logic.
External compiler: Remove redundant flags from CXXFLAGS.
CROSS_BINUTILS_PREFIX: Reduce redundant logic.
WITHOUT_TOOLCHAIN: Fix includes not being staged in WORLDTMP.
We don't have a CPPFLAGS, COPTS or CPUFLAGS.
Use proper rather than from r297058.
Reword descriptions of asserting locks held without WITNESS.
show-valid-targets: Show host targets and also order all of the targets.
Move hosttools to so it shows under host targets in show-valid-targets.
show-valid-targets: Organize all targets by the all_machine_list.
Remove redundant code imported into in r290956.
show-valid-targets: Indent each target 2 spaces.
Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.
Fix the external GCC build after r297271 by setting -L /usr/lib.
Remove FAST_DEPEND reference missed in r297434.
DIRDEPS_BUILD: Don't reset OBJROOT in sub-makes.
hosttools: Trim unneeded directories.
Define OBJTOP earlier if possible for use in targets.
We don't support DPLIBS.
WITHOUT_TOOLCHAIN: Fix build of rtld.
LIB32+WITHOUT_TOOLCHAIN: Fix build by staging includes.
WITHOUT_TOOLCHAIN: Skip building of h_raw.
Follow-up r297282: Make the COPTS warning more useful.
DIRDEPS_BUILD: Use 1 parameter for defining -rpath-link.
Remove leftover _LDSCRIPTROOT missed in r297270.
Follow-up r295924: Only sync hash-based db files open for writing when closing.

br (1):
Add support for ddb(4).

brooks (2):
Add a cross reference to ktrace(2).

brueffer (2):
Fix mdoc markup.
Fix minor problems caught by mandoc -Tlint.

bz (18):
Remove duplicate external declaration of tcprexmtthresh making gcc compiles barf.
Only check for SYS_freebsd6_lseek if the syscall code is defined. Whether this is the right or best solution is unclear but it fixes the build for now.
Fix the printf for PAE kernels where it'd be long long to unbreak the build.
Convert the printfs here from %lx to %jx as well after r297000 in order to be able to compile this into arm kernels.
Allow pci_host_generic to be compiled into ARM kernels, used, e.g., in simulators.
Adding pci_host_generic unconditionally breaks ARM boards with a PCI(e) interface. Make it a device option to be included in the kernel configs that request this file.
Correct comment.
Mfp4 @180378:
Fix compile errors after r297225:
Catch up with some more fields. I needed the bpf one lately.
Make the KASSERT message in hash destroy more informative. While the pointer might not be too helpful, the malloc type might at least give a good hint about which hashtbl we are talking.
Try to unbreak the build: the 'vap' variable is only used if ieee80211 debugging compile is on.
Mfp: r296346
Mfp: r296345
Mfp: r296309
Mfp: r296259
Mfp: r296260
Mfp: r296310,r296343

cem (5):
fail(9): Upstreaming some fail point enhancements
fail.9: Bump Dd
fail(9): Only gather/print stacks if STACK is enabled
Add td_swinvoltick to track last involuntary context switch
ioat(4): ioat_get_dmaengine(): Add M_WAITOK mode

cy (1):
Add DTrace probes for packets flagged as bad by ipfilter. All probes for bad packets are named ipf_fi_bad_*. An example of its use might be:

davidcs (2):
Fix code so that buf_ring allocation for Tx Queues and their mutexes is done during during bxe_attach() and freed during bxe_detach()
Modifications to achieve a common source base from FreeBSD7.x thru 10.x

dchagin (19):
Link the newly created process to the corresponding parent as if CLONE_PARENT is set, then the parent of the new process will be the same as that of the calling process.
According to POSIX and Linux implementation the alarm() system call is always successfull. So, ignore any errors and return 0 as a Linux do.
Linux accept() system call return EOPNOTSUPP errno instead of EINVAL for UDP sockets.
Does not leak fp. While here remove bogus cast of fp->f_data.
Load linux64 module for amd64 if Linux abi enabled.
Put a commit message from r296502 about Linux alarm() system call behaviour to the source.
Better english.
Rework r296543:
Implement fstatfs64 system call.
Regen for r297061 (fstatfs64 Linux syscall).
Whitespaces, style(9) fixes. No functional changes.
Return EOVERFLOW in case when actual statfs values are large enough and not fit into 32 bit fileds of a Linux struct statfs.
Check bsd_to_linux_statfs() return value. Forgotten in r297070.
Implement O_NONBLOCK flag via fcntl(F_SETFL) for eventfd object.
When write(2) on eventfd object fails with the error EAGAIN do not return the number of bytes written.
Whitespaces and style(9) fix. No functional changes.
iConvert Linux SOL_IPV6 level.
Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET.
Move Linux specific times tests up to guarantee the values are defined.

des (11):
*sigh* fix props
Vendor import of OpenSSH 7.0p1
Vendor import of OpenSSH 7.1p1.
Vendor import of OpenSSH 7.1p2.
Upgrade to Unbound 1.5.8.
Vendor import of OpenSSH 7.2p1.
Upgrade to OpenSSH 7.2p2.
Re-add AES-CBC ciphers to the default cipher list on the server.
Define __bounded__ to fix the gcc build. While there, raise WARNS.
Not ready for level 6 yet due to -Wredundant-decls.
Apply upstream r3651: the IPv6 address of the L root has changed.

dim (103):
Import llvm 3.7.0 release (r246257).
Import llvm 3.7.1 release (r255217).
Import clang 3.7.1 release (r255217).
Vendor import of llvm trunk r256633:
Vendor import of clang trunk r256633:
Vendor import of compiler-rt trunk r256633:
Vendor import of stripped lldb trunk r256633:
Merge ^/head r292913 through r292935.
Convert a few upstream files back to their original DOS line endings.
Update llvm to trunk r256633.
Update clang to trunk r256633.
Drop patches which are certain to be obsolete now.
Using trunk for now, instead of 3.7.1.
Merge ^/head r292936 through r292950.
Drop the clang patch which added a custom vendor suffix to the version printed with -v. We have historically put a date stamp there (roughly corresponding to the date of import), but this has never been used for anything, and the patch has also never been upstreamed, so let's get rid of it now.
Update clang's file, and regenerate various generated configuration headers (these used to be generated by autoconf, but upstream has deprecated autoconf in favor of CMake).
Update various build glue files for the new llvm/clang version number.
First part of updating llvm/clang build glue: getting llvm-tblgen, clang-tblgen and clang itself built.
Next part of updating llvm/clang build glue: getting the WITH_CLANG_EXTRAS tools built.
For determining the compiler version, quote the string to be echo'd, otherwise the command might fail. This is because clang -v now results in the following:
Fix a clang 3.8.0 warning in pflogd.c:
Merge ^/head r292951 through r293015.
Merge ^/head r293016 through r293035.
Merge ^/head r293036 through r293174.
Vendor import of llvm trunk r256945:
Vendor import of clang trunk r256945:
Vendor import of compiler-rt trunk r256945:
Vendor import of lldb trunk r256945:
Update llvm to trunk r256945.
Update clang to trunk r256945.
Add new pkuintrin.h intrinsics header.
Update llvm/clang svn revision.
Update llvm library dependencies.
Some additional llvm tools need libz. While here, consistently use LIBADD+=.
Merge ^/head r293175 through r293279.
Update lldb to trunk r256945.
For clang 3.8.0 and higher targeting arm, use the new -mno-movt flag to disable emitting movt instructions.
As a quick fix, import r257103 from upstream llvm trunk, and r257104 from upstream clang trunk, which sets the default debug tuning back to gdb. The lldb debug tuning is not yet grokked completely by our ELF manipulation tools.
Similar to r293384, for libstand, also use the new -mno-movt flag with clang >= 3.8.0 targeting arm.
As submitted upstream in a review, avoid using undefined behavior in llvm's LinkAllPasses.h. This caused some of the calls not to be emitted, if the optimization level was -O2 or higher.
Merge ^/head r293280 through r293429.
Remove a few files missed in the last lldb import.
Reduce diffs between upstream lldb and ours.
After upstream llvm trunk r252903 and clang trunk r252904, -mcpu=xscale was not recognized anymore for arm targets. Fix this by adding the correct sub-arch to the xscale definition in ARMTargetParser.def. This fix (from Andrew Turner) has also been submitted upstream.
Merge ^/head r293430 through r293685.
Vendor import of llvm trunk r257626:
Vendor import of compiler-rt trunk r257626:
Vendor import of lldb trunk r257626:
Merge ^/head r293686 through r293849.
Update llvm, clang and lldb to trunk r257626, and update build glue.
Merge ^/head r293850 through r294089.
Vendor import of llvm release_38 branch r257836:
Merge ^head r294090 through r294168.
Update llvm, clang and lldb to release_38 branch r257836.
Update llvm/clang build glue.
Undo r289072, which reverted upstream llvm trunk r240144. This is going to be fixed for real by importing upstream llvm trunk r257902.
Pull in r257902 from upstream llvm trunk, by James Y Knight (this will be merged to the official release_38 branch soon, but we need it ASAP):
Pull in r257977 from upstream llvm trunk, by Keno Fischer:
Pull in r258110 from upstream clang trunk, by Faisal Vali:
Merge ^/head r294169 through r294598.
Vendor import of llvm release_38 branch r258549:
Update llvm and clang to release_38 branch r258549.
Undo r294499 for now (which disabled -mlong-calls), so arm builds can succeed again.
Merge ^/head r294599 through r294776.
Vendor import of llvm release_38 branch r258968:
Vendor import of compiler-rt release_38 branch r258968:
Update llvm, clang and lldb to release_38 branch r258968.
Merge ^/head r294777 through r294960.
Merge compiler-rt release_38 branch r258968.
Merge ^/head r294961 through r295350.
For now, disable shrink-wrapping (a new optimization pass that computes the safe point to insert the prologue and epilogue of the function) on X86. This prevents problems with some functions using TLS, such as in jemalloc, and which was the cause for Address Sanitizer crashes. The correct fix is still being discussed upstream.
Merge ^/head r295351 through r295543.
Similar to r293384 and r293426, for sys/boot, also use the new -mno-movt flag with clang >= 3.8.0 targeting arm.
Vendor import of llvm release_38 branch r260756:
Update llvm, clang and lldb to release_38 branch r260756.
Merge ^/head r295544 through r295600.
Merge ^/head r295601 through r295844.
Update llvm and clang to release_38 branch r261369.
Update compiler-rt to release_38 branch r261369.
Merge ^/head r295845 through r295901.
Merge ^/head r295902 through r296006.
Undo r295543, since the shrink wrapping bug was fixed upstream by Davide Italiano and Quentin Colombet.
Update llvm and clang to release_38 branch r261684.
Update llvm and clang to 3.8.0 release.
Regenerate llvm and clang manpages.
Merge ^/head r296007 through r296368.
Merge ^/head r296369 through r296409.
Put the tentative merge-back date in
Upgrade our copies of clang, llvm, lldb and compiler-rt to 3.8.0 release.
Convert two llvm source files to native line ending, which was also done upstream. Merging doesn't automatically do this, unfortunately.
Add another libclang_rt library to ObsoleteFiles, so the enclosing directory can be removed completely.
Since kernel modules can now contain sections of type SHT_AMD64_UNWIND, the boot loader should not skip over these anymore while loading images. Otherwise the kernel can still panic when it doesn't find the .eh_frame section belonging to the .rela.eh_frame section.
Add an UPDATING entry about installing the boot loaders after installing the kernel, on amd64.
In nvmecontrol, fix gcc warnings about the local 'power' variables shadowing a global declaration.
Pull in r246280 from upstream libc++ trunk (by Eric Fiselier):
Pull in r250279 from upstream libc++ trunk (by Eric Fiselier):
Fix gcc warnings about possibly uninitialized variables in gpioctl.c.
Fix the following gcc warnings on sparc64, when TCP_OFFLOAD is not defined:
For C++, expose long long types and functions (lldiv_t, llabs, lldiv, etc) in stdlib.h. These will be needed for newer versions of libc++, which uses them for defining overloaded versions of abs() and div().
Pull in r264335 from upstream llvm trunk:
Pull in r264465 from upstream llvm trunk (by David Majnemer):
Compile libcxxrt as C++11, since it is only really used in combination with libc++, which is also C++11. Also change one _Static_assert (which is really C11) back into static_assert, like upstream.
Pull in r255683 from upstream libc++ trunk (by Eric Fiselier):

dumbbell (8):
drm/i915: Update to match Linux 3.8.13
drm: Fix dev->ioctl_count references leak
drm/i915: Fix malloc type in i915_gem_object_bind_to_gtt()
agp: Do not attach to Intel GEN6+
drm/i915: Fix page fault handler failure
drm/i915: Call i915_gem_gtt_fini() when the device is detached
drm/i915: Import Linux commit 168f83660211b9e059e3bc0638daaa01e9ea0b71
CAM: Generalize 4k quirk to all Samsung MZ7* SSDs

ed (7):
Replace the CloudABI system call table by a machine generated version.
Turn on $FreeBSD$ keyword expansion to the system call table.
Regenerate system call table after r297247.
Sync in the latest CloudABI system call definitions.
Regenerate system call table after r297468.
Make Position Independent Executables work for CloudABI.
Make CloudABI's way of doing TLS more friendly to userspace emulators.

emaste (27):
Un-trim part of lldb trunk r256633
Build Valgrind.cpp for LLDB, not only CLANG_EXTRAS
Update build infrastructure for LLDB 3.8
Merge LLDB 3.8
tunefs: clear the entire previous label when setting a new one
libc/{i386,amd64}: Do not export .cerror when building WITHOUT_SYMVER
boot1.efi: use += to append to LDFLAGS
libdwarf: fix SHT_REL relocation processing
libelf: correct byte count in cross-endian note translation
Bump __FreeBSD_version for libelf cross-endian fix in r296685
Bump BOOTSTRAPPING test for libelf after cross-endian fix in r296685
boot/efi: Prefer nm to objdump
Fix atkbdmap.h generation for sc/vt consoles
Fix copy-n-pasteo in r296899 ukbdmap.h header generation for pc98
libc: don't build compat functions if building WITHOUT_SYMVER
vtfontcvt: support .hex fonts with characters beyond the Unicode BMP
kbdcontrol: add -P path option to add keymap search paths
Remove armeb FreeBSD 6 compat shim
i915: disable GEN6_MBCTL write in gen6_init_clock_gating
Remove tools/vt/setfont
libc: stop exporting curbrk and minbrk in the private namespace
elfcopy: overhaul of LMA handling
simplify compile-time default keyboard map generation
libc: stop exporting cerror
Add option to specify built-in keymap for kbdmux
Rename SHT_AMD64_UNWIND to SHT_X86_64_UNWIND per ABI doc rationalize licence condition numbering

emax (1):
fix incorrect usage of hid_set_data() which causes crash in bthidd(8) on amd64 WITH_SSP builds

fanf (2):
Fix whois queries for ARIN AS numbers.
Handle whois referrals between RIRs

gahr (1):
Enhance uuencode with a -r option to produce raw output.

gibbs (1):
Provide high precision conversion from ns,us,ms -> sbintime in kevent

glebius (14):
Allow minimum and maximum sweep size be the same.
Comment fix: statistics are not read-only.
Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro.
Revert r296868. The cast is useful to protect against passing incorrect argument type to the macro.
Provide sysctl(9) macro to deal with array of counter(9).
Redo r294869. The array of counters for TCP states doesn't belong to struct tcpstat, because the structure can be zeroed out by netstat(1) -z, and of course running connection counts shouldn't be touched.
Print running TCP connection counts with TCP statistics.
Free the temporary buffer in sysctl_handle_counter_u64_array().
Due to invalid use of a signed intermediate value in the bounds checking during argument validity verification, unbound zero'ing of the process LDT and adjacent memory can be initiated from usermode.
Space and style(9) corrections for recent mbuf changes.
The sendfile(2) allows to send extra data from userspace before the file data (headers). Historically the size of the headers was not checked against the socket buffer space. Application could easily overcommit the socket buffer space.
Fix an error in r292373. Use proper count to update "pages in" counter.
Add early_customize_cmd() that allows to register custom functions run before the build stage.
Add optional configuration knob NANO_CUST_FILES_MTREE. If set, it will require an entry in custom mtree definition for every custom installed file.

gnn (7):
Fix typo: nmd->cur_tx_ring should be used in pci_vtnet_netmap_writev() The buffer length should be checked to avoid overflow, but there is no API to get the slot length, so the hardcoded value is used. Return the currently-first request chain back to the available queue if there are no more packets. Report the link as up if we managed to open vale port. Use consistent coding style.
Add an mbuf provider to DTrace.
FreeBSD previously provided route caching for TCP (and UDP). Re-add route caching for TCP, with some improvements. In particular, invalidate the route cache if a new route is added, which might be a better match. The cache is automatically invalidated if the old route is deleted.
Move mbuf provider under SDT to indicate that it is FreeBSD specific and not a stable interface.
Remove dependency on mbuf provider as mbuf SDTs are now in the SDT space.
Add ethertype reserved for network testing
Unbreak the RSS/PCBGROUp build.

gonzo (2):
Make it possible for operations to refer to GPIO pins by name
Remove misleading comment. musb supports host mode for more than two years now

grembo (1):
Update fetch.1 and fetch.3 to reflect libfetch's actual use of CA bundles

hselasky (13):
Run the LinuxKPI PCI shutdown handler free of the Giant mutex.
Improve detection of extended QSFP diagnostics.
Fix witness panic in the ipoib_ioctl() function when unloading the ipoib module.
Use hardware computed Toeplitz hash for incoming flowids
Improve the implementation and documentation of the SYSCTL_COUNTER_U64_ARRAY() macro.
Fix crash in krping when run as a client due to NULL pointer access. Initialize pointer in question which is used only when fast registers mode is selected.
Fix kernel build after adding new sysctl asserts in r296933.
Add missing curly brackets in for loop.
Add more UHCI PCI IDs.
Verify that all segments in the loaded segment list are back to back with regard to the page offset, and not only the two first ones.
Add new USB ID to UDL driver.
Fix bugs in currently unused bit searching loop.
Add new USB quirk.

ian (20):
Fix a bug in bsdgrep that caused the program to hang in a tight loop for some combinations of command line options and search patterns. The code was examining regexec flags looking for a regcomp flag value. The fix is to look in the struct field where the decoded regcomp flag was stored when the regex was compiled.
Require firewall setup before running rc.d/netwait, otherwise the ping packets sent by netwait may not get through.
Remove FREEBSD_BOOT_LOADER that already exists in std.armv6 config file.
It appears nfs_mountroot() will use the env var "boot.netif.mtu" if it exists, so mention that along with all the other boot.netif vars.
Fix fallout from r292180 (Dec 2015)... ensure that every driver which has a DRIVER_MODULE() referencing mmc_driver has a MODULE_DEPEND() on mmc. This is because the kernel linker only searches for symbols in dependent modules, so loading sdhci_pci (and other bus-flavors of sdhci) would fail when mmc was not compiled into the kernel (even if you hand-loaded mmc first).
Garbage collect the bswap routines from libstand. The declaration was wrapped in an i386 ifdef with a comment questioning their usefulness even there. It turns out they aren't referenced anywhere, but their presence prevents using sys/endian.h in libstand code.
Actually garbage collect the unused code, as mentioned in r297147, which this change should have been part of.
If the dhcp server provides an interface-mtu option, parse the value and set that mtu on the interface.
If the dhcp server delivers an interface-mtu option, parse it and store the value in a new global intf_mtu for use by the application.
If the dhcp server provided an interface-mtu option, transcribe the value to the boot.netif.mtu env var, which will be picked up by pre-existing code in nfs_mountroot() and used to configure the interface accordingly.
Build the zfs module on armv6, but not on older arm.
Set ifctx->gotrootpath=1 only when the root path came from the dhcp/bootp server (and not when it came from a fallback method such as the ROOTDEVNAME option). This makes the code in bootpc_init() choose the first interface that provided a rootpath name. Previously it was choosing the first interface that got an IP address, which could be on a different and potentially unreachable subnet than the server providing the rootfs.
Switch bootpc_adjust_interface() from returning int to void. Its one caller doesn't check for errors, and all the errors that can happen result in it calling panic anyway, except for one that's really more of a warning (and is going to disappear on an upcoming commit anyway).
Stop setting the default route to the IP of the interface itself when the bootp/dhcp server doesn't provide a router option. Doing so prevents setting defaultrouter= in rc.conf (it fails because there's already a bogus default route installed by bootpc_init).
Do not try to install a default route for each interface found, because only the first one will actually work and all the others just result in errors (which would get printed but otherwise ignored).
Add more DPRINTF() to the ftdi driver. Now everything that can change the chip's state has a DPRINTF, with things that happen repeatedly at debug=2 level and things that happen frequently (like per-transfer IO) at debug=3.
Comestic changes; when INTRNG support was added, some functions became oddly separated from related functionality. This just moves some blocks of code around so that setup_intr and teardown_intr are near each other again, and likewise for enable/disable_intr. No functional changes.
Fix a copyright glitch before it gets copy-pasted again. I think this must have started as collateral damage in a global search-replace, then it got copied around when I cloned a file to begin creating a new file.
Code cleanup: stop searching for a pin in the array and just use the pin number directly as an index. We create the array ourselves and nothing can change the order of items in it, it's a simple 1:1 mapping.
Remove unecessary locking, mostly from places where a read is done of a value that can't ever be in an inconsistant intermediate state even when some other thread is in the middle of writing the value/register.

imp (23):
Don't install debug symbols onto embedded images...
Stop assuming that bio_cmd is a bit field.
Add raw RX-50 support. These are 400k single sided disks with 80 tracks and 10 sectors per track. More exotic RX-50 types not supported, nor is there support for de-interleaving the first two tracks where the physical sectors are 0 1 2 3 4 5 6 7 8 9, but they should be interpreted as 0 5 1 6 2 7 3 8 4 9. This is purely to read the media with dd. The FAT that's on these disks won't work with msdosfs anyway.
Don't assume bio_cmd is a bit field.
Don't assume that bio_cmd is a bitfield.
Move to new value for XPT_GET_SIM_KNOB to avoid clash with XPT_ATA_IO.
Don't assume that bio_cmd is bit mask.
Don't assume that bio_cmd is a bit mask.
Don't assume that bio_cmd is a bitfield.
Factor out lib32 generation to its own file. This is prep for a similar Makefile.libsoft which will do the same for armv6 soft fp API libraries in prep for pulling the trigger on moving to armv6 hard float. Once there's two files, I'll work with bdrewery@ to merge the two files as they are mostly the same. The high rate of churn for Makefile* makes it quite difficult to make progress out of tree.
Use the newly minted Makefile.libcompat to implement libsoft libraries for the armv6 ABI switch. This also make WITH_LIBSOFT functional on the arm platform. As a transition thing, this seems to work even without switching the ABI (we basically build the same libraries twice when MK_LIBSOFT=yes until the ABI cut over next month). MK_LIBSOFT remains default no.
Just install ar5523.bin into /usr/share/firmware and stop compiling it in.
Remove bare & 0x3; it encodes the values of BIO_READ and BIO_WRITE. It's also unnecessary since the only cases in this switch are those two.
Make sure we check for CAM_CDB_POINTER for all drivers. Also, for the drivers I've touched, filter out CAM_CDB_PHYS.
ms_abi is supported with gcc 4.5 or newer, so build it with gcc if it is 4.5 or newer.
Fix debug printf
Implement suggestion by jhb@ to have _PATH_FIRMWARE instead of hard coding it to be "/usr/share/firmware".
Sometimes, it's useful to export the entire line to an external program without listening to the devd socket for all events. Define two new pseudo variables $*, the entire event from devctl and $_, the entire event without the type character, since it might be easier to use in some circumstances.
Support simple soft floating point abi for CPUTYPE in arm. Complex types to follow.
Move pccard_safe_quote() up to subr_bus.c and rename to devctl_safe_quote() so it can be used more generally.
Make $_ match the docs.
Add a timestamp variable to the environment. This is when the event was read from the kernel by devd.
Update cust_pkgng with a simpler, more robust version. We don't need to loop for pkg, which simplifies things.

jamie (3):
Move the various per-type arrays of OSD data into a single structure array.
Add osd_reserve() and osd_set_reserved(), which allow M_WAITOK allocation of an OSD array,
Use osd_reserve / osd_jail_set_reserved, which is known to succeed. Also don't work around nonexistent osd_register failure.

jceel (1):
Check value returned from ucl_parser_add_file().

jhb (28):
Fix reporting of the CloudABI ABI in kdump.
Use ptrace(2) LWP events to track threads reliably in truss.
Simplify AIO initialization now that it is standard.
Use SI_SUB_LAST instead of SI_SUB_SMP as the "catch-all" subsystem.
Remove entries for old AIO system calls for FreeBSD 6 compat.
Do not include system call wrappers in libc for old FreeBSD system calls.
Check IPI status more frequently when waiting.
Fully handle size_t lengths in AIO requests.
Enable interrupts on the BSP once all PICs are initialized.
Fix parsing of a 1GB page table entry.
Don't start the random harvester process until timers are working.
Tidy up the unmapped I/O code in qphysio.
Rework handling of thread sleeps before timers are working.
Remove #ifdef's from various structures used in the cxgbe/cxl driver.
Correct error messages in recently added test.
Cap IOSIZE_MAX to INT_MAX for 32-bit processes.
Various updates to the PCI-express capability output.
Output information about PCI-e devices with slots.
Move i386/i386/autoconf.c to sys/x86/x86 and use it on both amd64 and i386.
Don't wakeup the fdc worker thread once a second when idle.
Remove an unneeded check.
Remove a redundant check.
Convert pci_delete_child() to a bus_child_deleted() method.
Associate device_t objects with ACPI handles via PCI_CHILD_ADDED().
Add more fine-grained kernel options for NUMA support.

jhibbits (13):
Add to CFLAGS, rather than replacing.
Add ummax()/ummin() to libkern.
Use uintmax_t (typedef'd to rman_res_t type) for rman ranges.
Increase booke bus max address to 36-bits.
Bump libdevinfo SHLIB_MAJOR, forgotten in r297000.
Add old version to OLD_LIBS
Forgot lib32
Convert a long to rman_res_t, fixing a sign extension bug.
Fix some more long -> rman_res_t
Fix the resource_list_print_type() calls to use uintmax_t.
Make i2c device child auto-probe work for MPC85xx and QorIQ SoCs.
Add support for the Microchip mcp7941x.
Fix a masking bug for e500 PMC.

jilles (7):
sh: Fix some dead stores.
libc: Add some tests for memcmp().
sh: Avoid out-of-bounds access in setoptionbyindex() for 'set -o nolog'.
sh: Add test for 'set -o nolog'.
sh: Fix copying uninitialized field 'special'.
rc.d: Make msgs a proper rc.d script.
sh: Fix use-after-free if a trap replaces itself.

jkim (1):
Merge byacc 20160324.

jmcneill (14):
Fix display output for non-HDMI display devices.
Add HDMI device nodes to Banana Pi dts.
Return BUS_PROBE_GENERIC instead of 0 from ofw_clkbus_probe, giving platform specific drivers a chance to override the generic driver.
clk_parse_ofw_out_names is supposed to return a list of indices when the clock-indices property is present, so change the "uint32_t *indices" parameter to "uint32_t **indices" to allow this.
Fix support for fixed factor clocks. - Use a different device description for fixed and fixed factor clocks. - Fix a bug where the "clock-div" property was stored in the "mult" field of the clock definition. - Get the fixed factor parent clock by index instead of by name, as a clock-names property is not required to be present here.
Pass clkdev_if methods through to parent device by default.
Move support for Synopsys Designware APB UART out of ns8250 and into a separate driver. Add support for activating clock and hwreset resources for these devices when the EXT_RESOURCES option is present.
Improve HDMI display detection by searching the CEA-861 extension block for an HDMI vendor-specific data block (VSDB) containing the HDMI 24-bit IEEE registration ID (0x000C03).
Convert Allwinner port to extres clk/hwreset/regulator APIs.
Match on compatible string "allwinner,sun4i-a10-sram-controller" instead of "allwinner,sun4i-sramc", to match upstream DTS.
Add function for mapping SRAM-D area to USB0 (OTG) controller. Use a lower pass number to ensure that this driver is loaded before EMAC or OTG, regardless of the order of nodes in the DT.
Attach hwreset resources at the same time as clock resources.
Fix incorrect pin definitions for Allwinner A31.
Enable PHY regulator when the optional "phy-supply" property is present.

jtl (3):
Some cleanup in tcp_respond() in preparation for another change: - Reorder variables by size - Move initializer closer to where it is used - Remove unneeded variable
As reported on the transport@ and current@ mailing lists, the FreeBSD TCP stack is not compliant with RFC 7323, which requires that TCP stacks send a timestamp option on all packets (except, optionally, RSTs) after the session is established.
to_flags is currently a 64-bit integer; however, we only use 7 bits. Furthermore, there is no reason this needs to be a 64-bit integer for the forseeable future.

julian (4):
Add a few details that make it easier to use this macro.
Use the right argumant name
Change a little to match what appears to be the right way of specifying an argument (from looking at other man pages)
Add the ability to print out ht emodule specific information in likely formats. Among other things this gives us the ability to find outthe syscall number of a dynamically loaded syscall that has a dynamicly allocated vector number.

kan (3):
Do not override top level CFLAGS in libexec/dma
Do nothing if requested clk frequency is already correct.
Use correct response bits for MMC_RSP_R4-R7 types

kevlo (3):
Update superblock and inode structs for ext4.
Update comment: Linux does set a randomized generation number of an inode on ext2/3/4.
Fix comment.

kib (29):
In the link_elf_obj.c, handle sections of type SHT_AMD64_UNWIND same as SHT_PROGBITS. This is needed after the clang 3.8 import, which generates that type for .eh_frame section, which had SHT_PROGBITS type before.
Convert all panics from the link_elf_obj kernel linker for object files format into printfs and errors to caller. Some leaks of resources are there, but the same leaks are present in other error pathes. With the change, the kernel at least boots even when module with unexpected or corrupted ELF structure is preloaded.
Do not perform unneccessary shared recursion on the allproc_lock in pfs_visible(). The recursion does not cause deadlock because the sx implementation does not prefer exclusive waiters over the shared, but this is an implementation detail.
Fix handling of umtxp resource limit in sh(1)/ulimit(1), limits(1), add login.conf(5) support.
The PKRU state size is 4 bytes, its support makes the XSAVE area size non-multiple of 64 bytes. Thereafter, the user state save area is misaligned, which triggers assertion in the debugging kernels, or segmentation violation on accesses for non-debugging configs.
Fix typo.
Implement process-shared spinlocks.
From libthr, remove special and strange code to set up session and control terminal, activated when running with pid 1. It is application duty to handle this, and unsuspecting init replacements which are linked with libthr would be broken by this.
Provide more information on failing checks in mutex_assert_is_owned() and mutex_assert_not_owned(). snprintf() use in this context should be safe.
Lock pshared_lock shared around fork, to ensure that the COW snapshot of the pshared hash in child is consistent and can be safely used.
Apparently there are some popular programs around which assume that it is safe to call pthread_mutex_init() on the same shared mutex several times. POSIX claims that the behaviour in this case is undefined.
Fix locking mistake in softdep_waitidle(). The surrounding code expects that the loop is always exited with the SU lock owned, even on error.
Handle the driver KPI change from r292373. Ensure that managed device pagers fault routines always return with a result page, be it the proper and valid result page, or initially passed freshly allocated placeholder. Do not free the passed in page until we are able to provide the replacement, and do not assign NULL to *mres.
Style: wrap long lines.
Split the global taskqueue used to process all UFS trim completions, into per-mount taskqueue with the private taskqueue processing thread. This allows to drain the taskqueue on unmount, to ensure that all TRIMs are finished before mount structures are freed.
Add defines for the LAPIC TSC deadline timer mode. The LVT timer mode field is two-bit, extend the mask.
Use TSC deadline mode for LAPIC timer, when available. The mode fires LAPIC timer iinterrupt when TSC reaches the value written to the IA32_TSC_DEADLINE MSR. To arm or reset the timer in deadline mode, a single non-serializing MSR write is enough. This is an advance from the one-shot mode of LAPIC, where timer operated with the FSB frequency and required two (serialized in case of xAPIC) writes to the APIC registers.
Do not load LAPIC_DCR_TIMER with an undefined value. If we are in the deadline mode the divide configuration is not used and lapic_timer_divisor is not set.
Use ANSI function definition.
Calibrate the frequency of the of the native_lapic_ipi_wait() loop, and avoid a delay while waiting for IPI delivery acknowledgement in xAPIC mode. This makes the loop exit immediately after the delivery bit in APIC_ICR register is set, instead of waiting for some microseconds.
Fix several bugs in r297374: - fix UP build [1] - do not obliterate initial reading of rdtsc by the loop counter [2] - restore the meaning of the argument -1 to native_lapic_ipi_wait() as wait until LAPIC acknowledge without timeout - correct formula for calculating loop iteration count for 1us, it was inverted, and ensure that even on unlikely slow CPUs at least one check for ack is performed.
Type of the interrupt handlers on x86 cannot be expressed in C. Simplify and unify placeholder type definitions.
Do not access buffer if bread(9) or cluster_read(9) failed. On error, the functions free the buffer and set the pointer to NULL. Also remove useless call to brelse(9) on the error path.
Style(9), use tabs for the #define LOOPS line. Print unsigned values with %u. Make code slightly more compact by inlining loop limit.
Remove unused variable. It was write-only before r297139.
Assert that the lock objects put into the off-page, fit into the page.
Use the ABI-prescribed name for SHT_X86_64_UNWIND in the loader and kernel linker, after the r297686.
Use ANSI C function definitions, fix spelling in a comment.
Use __FBSDID() for .c files from lib/libthr/thread.

kp (2):
pf: Improve forwarding detection
pf: Friendly error message for status if pf.ko is not loaded

lidl (2):
Allow O_CLOEXEC to be used in dbopen() flags
Do not truncate office phones in finger's summary listing

loos (12):
Fixes a few style(9) issues, remove extra blank lines.
Add support for dual emac mode.
Set the destination port in all TX segments.
Increase the arbitrary limit of TX segments.
Count the input and output packets.
Enable multicast addresses on vlan ports. Fixes the reception of broadcast packets on vlan aware mode.
Use the internal references for ADC, this fixes the ADC readings on uBMC.
Add the SPI driver for am335x.
Bump up the read and write timeouts. The old value was too small for low speed transfers.
Add basic FDT support for the mx25l SPI flash.
Use the AM33XX_IOPAD() MACRO which is easier to read (uses the same offset of TRM).
Enable SPI1 on Beaglebone Black.

markj (8):
MFV r296306: 6604 harden DIF bounds checking
Remove the fasttrap implementation for sparc.
Fix fasttrap tracepoint locking.
Fix a couple of silly mistakes in r291962.
Remove unused variables dtrace_in_probe and dtrace_in_probe_addr.
Modify defrouter_remove() to perform the router lookup before removal.
Modify nd6_llinfo_timer() to acquire the nd6 lock before the LLE lock.
Fix the lladdr copy in in6_lltable_dump_entry() after r292978.

mav (48):
Update meaning of -n argument.
MFV r296505: 6531 Provide mechanism to artificially limit disk performance
MFV r296511: 6537 Panic on zpool scrub with DEBUG kernel
MFV r296513: 6450 scrub/resilver unnecessarily traverses snapshots created after the scrub started
MFV r296515: 6536 zfs send: want a way to disable setting of DRR_FLAG_FREERECORDS
MFV r296518: 5027 zfs large block support (add copyright)
MFV r296520: 6562 Refquota on receive doesn't account for overage
MFV r296522: 6541 Pool feature-flag check defeated if "verify" is included in the dedup property value
MFV r296527: 6659 nvlist_free(NULL) is a no-op
MFV r296529: 6672 arc_reclaim_thread() should use gethrtime() instead of ddi_get_lbolt() 6673 want a macro to convert seconds to nanoseconds and vice-versa
MFV r296532: 6637 replacing "dontclose" with "should_close"
MFV r296534: 6550 cmd/zfs: cleanup gcc warnings
MFV r296536: 6551 cmd/zpool: cleanup gcc warnings
MFV r296538: 6544 incorrect comment in libzfs.h about offline status
MFV r296540: 4448 zfs diff misprints unicode characters
Add new IOCTL compat shims for ABI breakage caused by r296510: MFV r296505: 6531 Provide mechanism to artificially limit disk performance
Missed addition to r296563 to fix newer tools to work with older kernel.
MFV r296609: 6370 ZFS send fails to transmit some holes
Make ZFS more picky to GEOM stripe sizes and offsets.
Make ZFS ignore stripe sizes above SPA_MAXASHIFT (8KB).
Revert r292074 (by smh): Limit stripesize reported from nvd(4) to 4K
Allow standard commands for "unknown" classes in RESCUE mode.
Use `geom disk list` instead `camcontrol identify`.
Unify and improve metadata wiping.
Don't bother to invoke gmirror or zpool if the module is not loaded.
Oops, remove debugging forgotten in r296655.
dd report short write as error, so don't halt on it.
Fix small memory leak on attempt to access deleted snapshot.
Add paragraph about isp(4) improvements.
Add IDs for Intel Wellsburg USB controllers.
Fix incorrect (fortunately bigger) malloc size.
Optimize IPMI watchdog patting.
Unify ignoring EEXIST from zvol_create_minor().
Polish wbwd(4) driver and add more supported chips.
Unify ichwd(4) attachment messages in dmesg.
Pass through error code from make_dev_p().
Add support for AMD FCH watchdog timers.
Add some device IDs found on AMD FCH shipsets.
Modify "4958 zdb trips assert on pools with ashift >= 0xe".
Switch from using make_dev_p() to make_dev_s() to close races.
Plug open count leak on zvol rename.
MFV r297504: 6681 zfs list burning lots of time in dodefault() via dsl_prop_*
MFV r297505: 6739 userland version of cv_timedwait_hires() always assumes absolute time
MFV r297506: 6738 zfs send stream padding needs documentation
Pass through some new block device features.
Alike to r293708 relax pool check in vdev_geom_open_by_path().
Reduce code duplication when executing Passthrough IOCB.
Register symbolic port/node names in FC name server.

maxim (8):
o Document net.inet.icmp.maskfake and net.inet.icmp.tstamprepl sysctls.
o Xr icmp(4).
o Kill EoL whitespaces. No functional changes.
o No need to resolve a mask that we get with ICMP_MASKREPLY, pass it directly to inet_ntoa(3).
o Kill EoL whitespaces.
o Restore some good whitespace killed in the previous commit.
o "avaliable" -> "available".
OpenBSD 5.9 and FreeBSD 10.3 releases added.

mmel (17):
Use EARLY_DRIVER_MODULE() with BUS_PASS_BUS priority for ofw_gpiobus and ofw_iicbus. This causes enumeration of gpiobus/iicbus at the base driver attach time. Due to this, childern drivers can be also attached early.
CLK: Remove forgotten mutex from clk_fixed class.
CLK: Add enumerator for 'clocks' OFW node. Add bus device bindings for clk_fixed class.
CLK: Add and use explicit locking for access to clock device registers. Implicit locking (for read/write/modify) is not sufficient for complex cases.
Add regulator framework, a next part of new 'extended resources' family of support frameworks(i.e. clk/reset/phy/tsensors/fuses...).
Add phy framework, a next part of new 'extended resources' family of support frameworks (i.e. clk/regulators/tsensors/fuses...).
Import basic support for Nvidia Jetson TK1 board and tegra124 SoC. The following pheripherals are supported: UART, MMC, AHCI, EHCI, PCIe, I2C, PMIC, GPIO, CPU temperature and clock.
A20: Gpiobus can be attached only after full gpio driver initialization. While i'm in, remove now unused global variable.
TEGRA: Fix tegra_pcie driver after rman_res_t size change.
TEGRA: Connect TEGRA124 to universe build.
ARM: Teach LINUX_BOOT_ABI to recognize DT blob. This allow us to boot FreeBSD kernel (using uImage encapsulation) directly from U-boot using 'bootm' command or by Android fastboot loader. For now, kernel uImage must be marked as Linux, but we can add support for FreeBSD into U-Boot later.
ARM: Fix ATAG handling in LINUX_BOOT_API: - Don't convert atags address passed from U-Boot. It's real physical address (and we have 1:1 mapping). - Size of tags is encoded in words, not in bytes
ARM: Parse command line delivered by U-Boot: - in atags - in DT blob (by using 'fdt chosen' U-Boot command)
TEGRA: Fixes for UART driver: - add mising 'or' in tegra_uart_attach() Pointed by: kan - fix indentation of tegra_softc - remove forgoten debug printf
ARM: Fix bug introduced in r297286. - don't put command line without guard to kernel environment. - kernel environment delivered from ubldr must have absolute precedence.
TEGRA: Fix CPU frequency switching. The PLL_X, base CPU frequency source, doesn't have a bypass switch and thus we must use another frequency source for CPU while changing its frequency. PLL_P is ideal for this, it runs at 480MHz and CPU can be clocked at this frequency at any CPU voltage.
ehci_interrupt is MPSAFE code. Most drivers in tree calls bus_setup_intr with MPSAFE, some are not. Fix those.

mp (2):
Signal handling within tcsh vfork code path will conflict with some system libraries (such as libthr) which maintain their own signal state. This change adds the tcsh SAVESIGVEC option to save and restore the sigvecs for the signals the child modifies before it execs.
Revert r296416 by removing SAVESIGVEC and switching to fork instead. This fixes usage with system libraries which maintain their own signal state.

ngie (5):
Delete empty sys/modules/aio/ directory
Better handle filesystems mounted with -o noexec
Use a SKIP testplan instead of bailing out if/when the tester isn't root, or the geom class can't be loaded cleanly [*]
Chase r296204 by renaming tzsetup(1) to tzsetup(8) in the tests
Disable the NetBSD-specific EFAULT requirements test in gettimeofday_err

np (36):
cxgbe(4): Updated register dumps.
cxgbe(4): Add a struct sge_params to store per-adapter SGE parameters. Move the code that reads all the parameters to t4_init_sge_params in the shared code. Use these per-adapter values instead of globals.
cxgbe(4): Overhaul the shared code that deals with the chip's TP block, which is responsible for filtering and RSS.
cxgbe(4): Update the interrupt handlers for hardware errors.
cxgbe(4): Updates to mailbox routines in the shared code.
cxgbe(4): Updates to the shared routines that deal with the serial EEPROM, flash, and VPD.
cxgbe(4): Remove __devinit and SPEED_ as part of catch up with internal shared code.
cxgbe(4): Updates to shared routines that get/set various parameters via the firmware.
cxgbe(4): Use t4_link_down_rc_str in shared code to decode the reason the link is down, instead of doing it in OS specific code.
cxgbe(4): Many new functions in the shared code, unused at this time.
cxgbe(4): Fix t4_tp_get_rdma_stats.
cxgbe(4): Minor updates to the shared routines that deal with firmware images.
cxgbe(4): Reshuffle and rototill t4_hw.c, solely to reduce diffs with the internal shared code.
cxgbe(4): Rename regwin_lock to reg_lock. It is used to protect access to indirect registers only.
cxgbe(4): Allow the addr/len pair that is being validated in validate_mem_range to span multiple memory types. Update validate_mt_off_len to use validate_mem_range.
cxgbe(4): Add general purpose routines that offer safe access to the chip's memory windows. Convert existing users of these windows to the new routines.
cxgb(4): Remove redundant part of an assertion.
cxgbe(4): Fix bug in r296603. The memory window needs to be repositioned if the start address isn't in the window already. One of the bounds check used the end address instead.
cxgbe(4): Improvements to the code that deals with the firmware's log.
cxgbe(4): Add a sysctl for the event capture mask of the TP block's logic analyzer.
cxgbe(4): Add sysctls to display the TP microcode version and the expansion rom version (if there's one).
cxgbe(4): sysctls to display the TOE's TCP timers.
cxgbe(4): Catch up with the latest list of card capabilities as reported by the firmware.
cxgbe(4): Fix typo in previous commit.
cxgbe(4): Remove a couple of pointless assignments in sysctl_meminfo. Do not display range if start = stop (this is a workaround for some unused regions).
cxgbe(4): Update some register settings in the default configuration files to match the "uwire" configuration.
cxgbe(4): Enable additional capabilities in the default configuration files. All features with FreeBSD drivers of some kind are now in the default configuration.
cxgbe(4): Enable PFs 0-3, and allow creation of SR-IOV VFs on these PFs in the default configuration files.
cxgbe(4): Tidy up PAUSE frame accounting.
iw_cxgbe/libcxgb4: Pull in many applicable fixes from the upstream Linux iWARP driver and userspace library to the FreeBSD iw_cxgbe and libcxgb4.
cxgbe(4): Be consistent and call ETHER_BPF_MTAP before writing anything to the descriptor ring no matter what path the frame takes within the driver's tx.
Plug leak in m_unshare.
cxgbe/iw_cxgbe: Fix for stray "start_ep_timer timer already started!" messages.
krping wasn't designed to take more than one client. Fail any connect requests if cb->state is not IDLE.
Remove unnecessary dequeue_mutex (added in r294610) from the iWARP connection manager. Examining so_comp without synchronization with iw_so_event_handler is a harmless race.
Add wait_event_interruptible_timeout to linuxkpi.

obrien (3):
Moving libxo to properly tracked, 3rd-Party imported handling.
More closely match the tarball.
Bring down 0.4.5 vendor files and other catchups with the distribution tarball.

pfg (22):
Revert r296175 Undo update of libedit 2016-02-27
libdtrace: use calloc(3) instead of malloc(3) when it makes sense.
aio_qphysio(): Avoid uninitialized pointer read on error.
localedef(1): minor sorting to match Illumos.
netstat: avoid returning uninitialized value in p_sockaddr().
Small typo.
freopen(3): prevent uninitialized errno.
freopen(3): prevent uninitialized errno.
freopen(3): prevent uninitialized errno.
restore(8): fix use of uninitialized value.
pci_emul_dior(): fix uninitialized scalar variable.
mtest: Prevent access to uninitialized value.
Small typo.
Fix indentation oops.
g_sched_destroy(): prevent return of uninitialized scalar variable.
chdone(): Prevent returning uninitialized scalar value.
bhyve: Remove unneeded variable ncq.
bhyveload: fix from loading undefined size.
Fix sed functions 'i' and 'a' from discarding leading white space.
fsck_msdosfs(8): Optimimize memsets
chdone(): Prevent returning uninitialized scalar value.
audit(8): leave unsigned comparison for last.

phil (1):
Move generated file from contrib to build directory.

phk (2):
Unquote NANO_PACKAGE_LIST so that it actually can be a list and so that the default value of "*" works.
Create /usr/local/etc before filling things into it.

rpokala (2):
Storage Controller Interface driver - typo in unimplemented macro in scic_sds_controller_registers.h
Revert accidental submit of WIP as part of r297609

rrs (3):
Fix a sneaky bug where we were missing an extern to get the rxt threshold.. and thus created our own defaulted to 0 :-(
This is work done by Michael Tuexen and myself at the IETF. This adds the new I-Data (Interleaved Data) message. This allows a user to be able to have complete freedom from Head Of Line blocking that was previously there due to the in-ability to send multiple large messages without the TSN's being in sequence. The code as been tested with Michaels various packet drill scripts as well as inter-networking between the IETF's location in Argentina and Germany.
A couple of minor changes that I missed that Michael had done, most noted in these is the change to non-strict ordering for incoming data (this will make pkt-drill test 14 fail but its expected).

rstone (1):
Clean up repeated "All rights reserved"

rwatson (1):
Put IPSec's anouncement of its successful intialisation under bootverbose: now that it's a default kernel option, we don't really need to tell the world about it on every boot, especially as it won't be used by most users.

sbruno (2):
Add 4k enabled cam quirks for Samsung SM863 Series SSDs
Repair a overflow condition where a user could submit a string that was not getting a proper bounds check.

sephe (26):
hyperv/hn: Move if_initname to an earlier place
hyperv/hn: Factor out hn_channel_attach
hyperv/hn: Make the # of TX rings configurable.
hyperv: Factor out snprinf_hv_guid()
hyperv/vmbus: Implement bus_child_pnpinfo_str method
hyperv/evttimer: Use an independent message slot so that it can work
hyperv/vmbus: Use taskqueue_fast for non-performance critical messages
hyperv/vmbus: Remove NULL check for taskqueue_create_fast(M_WAITOK)
hyperv/hn: Reduce TCP segment aggregation limit for multiple RX rings
hyperv/hn: Factor out hn_set_lro_lenlim()
hyperv/hn: When short of mbufs on the RX path, don't spam the console.
hyperv/vmbus: use a better retry method in hv_vmbus_post_message()
hyperv/utils: Allow hint to disable individual utility
hyperv/vmbus: Create per-cpu fast taskqueue for msg handling
tcp/lro: Return TCP_LRO_NO_ENTRIES if we are short of LRO entries.
vt: Use textmode when we're running on hypervisors
hyperv: Register Hyper-V timer early enough for TSC freq calibration
tcp/lro: Use tcp_lro_flush_all in device drivers to avoid code duplication
tcp/lro: Change SLIST to LIST, so that removing an entry is O(1)
hyperv: Use mb() instead of atomic_thread_fence_seq_cst()
hyperv/vmbus: Use default mtx for channel message queue
hyperv: Typo in r297634
x86: Allow interrupt vector allocation/free even on UP
xen: Set ipi_{alloc,free} even for UP
hyperv: Use lapic_{alloc,free}_ipi to allocate private interrupt vector
hyperv: Revert r297481

sgalabov (18):
Add MIPS_INTRNG to sys/conf/options.mips
Improve U-Boot API detection
Enable 4-byte address support for the mx25l family of SPI flash devices.
This revision adds support to if_rt for more SoCs.
Bring MIPS INTRNG support back up again, in line with D5370
This revision adds the following parts:
Initial import of Ralink/Mediatek MIPS SoC support #2
Initial import of Ralink/Mediatek MIPS SoC support #3
Initial import of Ralink/Mediatek MIPS SoC support #4
Initial import of Ralink/Mediatek MIPS SoC support #5
Initial import of Ralink/Mediatek MIPS SoC support #6
Initial import of Ralink/Mediatek MIPS SoC support #7
Fix wrong memory mapping
Disable USB PHY slew rate calibration for Mediatek SoCs for now
Introduce XHCI support for MT7621 SoC
Introduce Mediatek/Ralink PCIe support
Introduce better locking for mtk_gpio_v[12] drivers
Fix MIPS INTRNG omissions, add soft/hard interrupts with different names

sjg (4):
Merge bmake-20160307
We need libutil
xo_config.h no longer in contrib, so -I's needed
Update to bmake-20160315

skra (13):
Generalize IPI support for ARM intrng and use it for interrupt controller IPI provider.
Remove FDT specific parts from INTRNG. Change its interface to make it universal.
Rework am33xx interrupt controller for INTRNG and enable it on BEAGLEBONE by default.
Rework TI gpio interrupt controller for INTRNG. It's used on PANDABOARD and BEAGLEBONE where INTRNG is already enabled by default.
Define local-intc for BCM2836 platform (RPI2) and make BCM2835 intc a child of it. This is done in conformity with Linux dts files and as preparation for rework of BCM2836 interrupt controller for INTRNG.
Rework bcm283x interrupt controller for INTRNG and enable it on RPI-B by default.
Implement bcm2836 interrupt controller for INTRNG and enable it on RPI2 by default.
Rework BCM283x gpio interrupt controller for INTRNG. It's used on RPI-B and RPI2 where INTRNG is already enabled by default.
Fix typo. No functional change.
Fix PIC lookup by device and xref. There was not taken into account the situation that someone has a pointer to device but not its xref. This situation is regular now, after r297539.
Implement intr_isrc_init_on_cpu() and use it to replace very same code implemented in every interrupt controller driver running SMP. This function returns true, if provided ISRC should be enabled on given cpu.
Fix intr_irq_shuffle(). After r297539, ISRCs doing IPI may be also registered into global interrupt table. Thus, they must be filtered out like per-cpu interrupts. Fortunately, it does not influence anything on interrupt controllers which already use INTRNG.
Properly initialize isrc_cpu field of ISRC which is setup for an IPI.

smh (1):
Prevent invalid ixgbe advertise setting warning

sobomax (7):
Second argument of the mips_timer_init_params() is boolean, so pass in "1" for true consistently.
For the MD_ROOT option don't inject /dev/md0 as root dev when ROOTDEVNAME is defined explicitly. It's kinda pointless and results in extra step in boot sequence which is not really needed, i.e.:
Add -S option to print out summary after compression has been completed.
When -S is specified dump summary to stdout, not stderr, so it's easier to capture and process it with external tools via pipe.
In the de-duplication mode, when found matching md5 checksum also read back block and compare actual content. Just output original block instead of back reference in the unlikely event of collision.
Fix build with HWPMC_HOOKS enabled.
Document vfs.root.mountfrom.

trasz (37):
Mention resolvconf(8) in resolv.conf(5).
Fix spelling of MAXNAMLEN.
Fix autofs triggering problem. Assume you have an NFS server,, with share "share". This commit fixes a problem where "mkdir /net/" would return spurious error instead of creating the directory if the target filesystem wasn't mounted yet; subsequent attempts would work correctly.
Remove cn_consume from 'struct componentname'. It was never set to anything other than 0.
Refactor the way we restore cn_lkflags; no functional changes.
Use S_BLKSIZE instead of magic constant.
Remove name length limitation from autofs(5). The linear search with strlens is somewhat suboptimal, but it's a temporary measure that will be replaced with red-black trees later on.
Add myself to MAINTAINERS.
Fix autofs handling of filesystem labels containing plus signs and slashes.
Restore accidentaly removed comment line.
Use the log_errno value passed to the function instead of the errno global variable.
Make fail() preserve the errno.
Pacify Coverity.
Pacify Coverity in a better way, to avoid write-only variable when building without INVARIANTS.
Add a special case for NTFS to the -media autofs(5) map.
Add lock assertion.
Wait for root mount tokens before showing the root mount prompt. This restores the pre-r290196 behaviour, eliminating the need to manually press '.' a couple of times to get USB to finish probing.
Make the autofs(5) -hosts map more robust, primarily to make it correctly handle NFS shares containing whitespace. This also adds the -E parameter to showmount(8).
Speed up lookups in autofs(5) by using red-black trees instead of linear searches.
Fix iSCSI initiator crash that could happen with out-of-memory conditions with in-flight IO and subsequent reconnection.
Fix bunch of .Xrs.
Add phttpget(8) .Xr to fetch(1).
Remove some NULL checks for M_WAITOK allocations.
Remove NULL checks after M_WAITOK allocations, which - by definition - can never return NULL.
Fix overflows, making it impossible to add negative amounts using rctl(8).
Improve comments.
Refactor; no functional changes.
Reduce code duplication. There should be no (intended) functional changes.
Reduce code duplication.
Reorder the functions; no functional changes.
Call rctl_enforce() in all cases the resource usage goes up, even when called from racct_*_force() functions. It makes the "log" and "devctl" actions work in those cases.
Drop the 'resource' argument to racct_decay(); it wouldn't make sense to iterate separately for each resource.
Fix mismerge.
Add configurable rate limit for "log" and "devctl" actions.
Use proper locking macros in RACCT in RCTL.
Add four new RCTL resources - readbps, readiops, writebps and writeiops, for limiting disk (actually filesystem) IO.
Make it possible to tweak RCTL throttling sysctls at runtime.

tuexen (8):
Actually send a asconf chunk, not only queue one.
Support checksum offloading for TCP/IPV6 and UDP/IPV6. Support SCTP checksum offloading for SCTP/IPV6. Support SCTP checksum offloading on all controllers except 82575.
Add const to several constants. Thanks to Nicholas Nethercote for providing the patch via
Improve compilation on windows 64-bit (for the userland stack).
Trigger sending of queued ASCONF chunks if outstanding ones are ACKED.
Restrict local addresses until they are acked by the peer.
Don't allow the user to set a peer primary which is restricted and not pending.
Set the chunk id for ERROR chunks. This is work with rrs@. MFC after: 1 week

wblock (4):
Adjust misleading wording of the -G option and simplify a few surrounding sentences. From a discussion on -ports.
Replace "user land", which, for any definition of the word "user", sounds like some kind of horrific theme park. "Hey kids, want to go to User Land?" "No! We'll be good!"
Fix two more unhappy instances of "user land".
Add another real-life example of setting a quirk for a USB gaming keyboard. From forum thread:

wma (13):
Fix GIC interrupt decoding in INTRNG code
Make MPIC compatible with ARM_INTRNG
Add support for USB3.0 on Armada38x
Add xhci_mv.c
pmap arm64: fixing pmap_invalidate_range
Remove redefinitions in ARMADA code
ARM64 copyinout improvements
arm64: Fixing user space boudary checking in copyinout.S
arm64: bzero optimization
Add bzero.S to ARM64 machdep
arm64: pagezero improvement
Implement dtrace_getupcstack in ARM64
Speedup BGX link polling on ARM64

zbb (14):
Fix "received NULL mbuf" bug in VNIC
Fix bug in VNIC causing phony number of available TX descriptors
Don't manage free SQ entry index by the atomic operations
Improve HW checksums support in VNIC
Reduce OFW PCI code duplication - involves ARM, PPC and SPARC64
Disable MSI-x for AHCI on Alpine plattform
Fix typo in the VNIC's PF function name
Improve TX path of the VNIC driver
Fix MAC address configuration for VNIC
Don't omit m_dup() for non-writeable mbufs that need checksum calculation
Fix number of the enabled VFs in VNIC
Fix PowerPC LINT build after r297392
Fix interrupts delivery on ThunderX for VF IDs beyond 8
Fix sending TSO packets larger than single DMA segment on VNIC