MFC: Diff reduction to -current libc_r (part 2/2):
- _get_curthread()/_set_curthread()
- use struct 'pthread *' instead of 'pthread_t' internally
- join_status.ret is now 'void *' instead of 'int'
- use FALLTHROUGH instead of "fall through"
- correct PANIC message in pthread_exit()

Approved by:	deischen
MFC: add missing braces in _thread_gc()

Approved by:	deischen
reduce diffs to -current (white-space only changes)
MFC: r1.21:
Change noop option -h to do the real work.  Now mode of symbolic link
is changed if -h option is given.

Requested by:	johan

Reviewed by:	bde jhb ru (original commit)
Obtained from:	NetBSD (code)
MFC: -h documentation

PR:		41926
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Reviewed by:	bde ru jhb
MFC: revisions 1.45 and 1.46: allow empty case/esac statements, allow
left parenthesis before pattern in case blocks.

PR:		43275 35879
MFC 1.322: Create symlink for /etc/group.

I've requested to re@FreeBSD.org during 4.7-RELEASE code freeze, but
it wasn't approved (actually, no response was made.)  However, I should
commit this as soon as freeze phase was over; this is my fault that
this MFC commit is late.

PR:		43455
Submitted by:	n-kogane@syd.odn.ad.jp
New errata item:  xargs -J isn't really deprecated although the 4.7
release notes claim this.

PR:		44070
Submitted by:	gad
Reviewed by:	jmallett
MFen 1.1.2.87
Clean up -stable's file-rewrite sequential heuristic case to match -current.
Our file ops limit the sequential count to 127 so we do not need to reserve
16 bits to hold the count.  This should not have any effect on performance.
Sync with -CURRENT: typo fixes and time zone idiocy.
MFC: fix security bug in contains_dot_dot routine.

PR:             43575
Submitted by:   Brett Glass <brett@lariat.org>
Store the return value of read(2) into a signed variable, so error
indications are processed properly instead of forwarded to write(2)
as a bogus very, very big write.  This should fix 'Invalid argument'
errors when the HTTP connection is aborted by the remote server.

Reported by:	Nikolay Petrov <nik@hq.panda.bg>
Reviewed by:	silence on -audit
Approved by:	silence on -audit
Add hardware translation in sync with french translation in -CURRENT
errata/article.sgml : Typos fix
relnotes/* : adding mailling list support
Makefile : Welcome hardware dir to the build
Bump Original Revision
MFen 1.22.2.303
MFC:
	With FD locking now disabled, don't print the owner of the FD at
	all, as it results pretty trivially in a NULL dereference when
	dumping thread info.

Approved by:	deischen
MFbed: errata/article.sgml: 1.1.2.86 -> 1.1.2.87
MFC: improved constant #if handling and better English in the manual.