insmntque() is always called with the lock held in exclusive mode,
then:
- assume the lock is held in exclusive mode and remove a moot check
  about the lock acquisition.
- in the destructor remove !MPSAFE specific chunk.

Reviewed by:	kib
MFC after:	2 weeks
Add x86 CPUs supported by clang on head.

Reviewed by:	arch (silence)
X-MFC:		r242624
r16312 is not any longer real since many years (likely since when VFS
received granular locking) but the comment present in UFS has been
copied all over other filesystems code incorrectly for several times.

Removes comments that makes no sense now.

Reviewed by:	kib
MFC after:	3 days
Use '%zd' printf format for ssize_t.
Use '%zd' format specifier for ssize_t

Found by: clang
Zero the whole struct not just the size of a pointer.

Found by: clang
Clean up and update comments for CPUTYPE.

Requested by:	rdivacky
Use '%zu' and '%zd' as appropriate for size_t / ssize_t.
Disable WEP hardware encryption on the AR5210, in order to allow other
encryption types.

The AR5210 only has four WEP key slots, in contrast to what the
later MACs have (ie, the keycache.)  So there's no way to store a "clear"
key.

Even if the driver is taught to not allocate CLR key entries for
the AR5210, the hardware will actually attempt to decode the encrypted
frames with the (likely all 0!) WEP keys.

So for now, disable the hardware encryption entirely and just so it
all in software.  That allows both WEP -and- WPA to actually work.

If someone wishes to try and make hardware WEP _but_ software WPA work,
they'll have to create a HAL capability to enable/disable hardware
encryption based on the current STA/Hostap mode. However, making
multi-vap work with one WEP and one WPA VAP will require hardware
encryption to be disabled anyway.
Don't allocate or program a key for the AR5210.

The AR5210 doesn't support HAL_CIPHER_CLR ('clear encryption' keycache
slots), so don't bother - just map them to slot 0 and never program them.
Remove unused variable.
Add 'w' flag to:

Use whitespace (spaces and tabs) as the delimiter.
Consecutive spaces and tabs count as one single field
separator.

Reviewed by:	swildner@dragonflybsd.org
Approved by:	cperciva
Obtained from:	DragonFlyBSD
MFC after:	1 week
Remove unneeded includes.

Tested with "make universe"; there are no conditional features.

Approved by:	cperciva
MFC after:	3 daus
Unbreak amd64 cross-build where amd64 is the target. While clang
may be installed as cc and we don't need to build gcc as a
cross-tools, we still build gcc and thus need cc_tools built
as a build tool. Not doing this results in building gengenrtl with
the target compiler while we need to run it on the build machine.
Do not put "already running" message when rc_quiet=yes.

PR:	bin/165477
change mode the group file to 0644 after a successfull rename(2)
Correctly set the password file mode after renaming in NIS mode
- Don't pass geom and provider names as format strings.
- Add __printflike() attributes.
- Remove an extra argument for the g_new_geomf() call in swapongeom_ev().

Reviewed by:	pjd
only rename(2) after chmod(2) has succeed
report error if chmod(2) fails

Reported by:	jh
In NIS mode first chmod(2) the temporary file  and is succeed then rename(2)