Fix the symlink creation from r249484 so that repeated
installs work correctly.

Suggested by Tijl Coosemans.


git-svn-id: svn://svn.freebsd.org/base/head@249633 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
An even more refined version of r249484, until we can come up with
a good fix for the -print-file-name=include breakage.

As suggested by Andrey Chernov.


git-svn-id: svn://svn.freebsd.org/base/head@249634 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix the uart(4) module build.  Without uart_dev_lpc the module cannot be loaded.


git-svn-id: svn://svn.freebsd.org/base/head@249636 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use uint32_t for fields that are fetched via ath_hal_getcapability().


git-svn-id: svn://svn.freebsd.org/base/head@249639 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Print out the chainmask configuration.


git-svn-id: svn://svn.freebsd.org/base/head@249640 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
.. don't know how this snuck into this commit. Sorry.

Fix compile build before anyone notices.


git-svn-id: svn://svn.freebsd.org/base/head@249641 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a debug statement to log the currently chosen chainmask configuration.


git-svn-id: svn://svn.freebsd.org/base/head@249642 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sem: Restart the POSIX sem_* calls after signals with SA_RESTART set.

Programs often do not expect an [EINTR] return from sem_wait() and POSIX
only allows it if the signal was installed without SA_RESTART. The timeout
in sem_timedwait() is absolute so it can be restarted normally.

The umtx call can be invoked with a relative timeout and in that case
[ERESTART] must be changed to [EINTR]. However, libc does not do this.

The old POSIX semaphore implementation did this correctly (before r249566),
unlike the new umtx one.

It may be desirable to avoid [EINTR] completely, which matches the pthread
functions and is explicitly permitted by POSIX. However, the kernel must
return [EINTR] at least for signals with SA_RESTART clear, otherwise pthread
cancellation will not abort a semaphore wait. In this commit, only restore
the 8.x behaviour which is also permitted by POSIX.

Discussed with:	jhb
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@249644 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Don't compare unsigned socklen_t against < 0.

Reviewed by:	jhb


git-svn-id: svn://svn.freebsd.org/base/head@249649 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Include PID in the error message which is printed when the maxproc limit
is exceeded. Improve formatting of the message while here.

PR:		kern/60550
Submitted by:	Lowell Gilbert, bde


git-svn-id: svn://svn.freebsd.org/base/head@249650 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/master'