- Mark unused parameters __unused in handler
- Call sigqueue with getpid() instead of 0 -- the latter idiom appears to only
be valid on NetBSD

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division
Add limits.h #include for LINE_MAX

Sponsored by: EMC / Isilon Storage Division
Add sys/socket.h #include for struct sockaddr_in

Sponsored by: EMC / Isilon Storage Division
Port t_mmap.c to FreeBSD

- Add needed headers for the testcases
- Omit mmap_block on non-NetBSD OSes
- Use "security.bsd.map_at_zero" instead of "vm.user_va0_disable"

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division
Omit the pollts testcases on FreeBSD

Sponsored by: EMC / Isilon Storage Division
Omit all of the testcases as revoke(2) is only implemented on devfs(5)

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division
Mark signo __unused in handler(..)

Sponsored by: EMC / Isilon Storage Division
- Omit the poll testcases on FreeBSD (they require pollts)
- Add necessary headers for the testcases

Sponsored by: EMC / Isilon Storage Division
Add limits.h #include for INT_MAX

Sponsored by: EMC / Isilon Storage Division
Use <atf_srcdir>/truncate_test.root_owned instead of /usr/bin/fpr as fpr does
not exist on FreeBSD

truncate_test.root_owned will be generated at build time and owned by root

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division
- Mark sig/signo __unused
- Do not provide a relative path via #include "h_macros.h"

Sponsored by: EMC / Isilon Storage Division
- Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al)
- Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is int64_t
on FreeBSD)

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division
Add limits.h #include for SSIZE_MAX

Sponsored by: EMC / Isilon Storage Division
Add limits.h #include for SSIZE_MAX

Sponsored by: EMC / Isilon Storage Division
Fix a typo (__FreeBSD__ -> __NetBSD__ when omitting setrlimit_nthr)
Mark signum __unused

Sponsored by: EMC / Isilon Storage Division
Omit the mprotect_exec testcase on FreeBSD

Sponsored by: EMC / Isilon Storage Division
Show SFP+/QSFP memory map dump on higher verbose levels.

Sponsored by:	Yandex LLC
MFC after:	1 week
Clean up (refactor) discovery a little; no functional changes.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font

To restore the default font using vidcontrol(1), use the "-f" flag
without an argument:
    vidcontrol -f < /dev/ttyv0

PR:		193910
Differential Revision:	https://reviews.freebsd.org/D971
Submitted by:	Marcin Cieslak <saper@saper.info>
Reviewed by:	ray@, emaste@
Approved by:	ray@
MFC after:	1 week