freebsd-skq/tests/sys/kern
Kyle Evans e21f96a811 mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUM
machine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h via
machine/reg.h. Many of the regnum definitions are too short and too generic
to be exposing to any userland application including one of these two
headers. Moreover, these actively cause build failures in googletest
(template <typename T1 ...> expanding to template <typename 9 ...>).

Hide the definitions behind _KERNEL or _WANT_MIPS_REGNUM, and patch all of
the userland consumers to define as needed.

Discussed with:	imp, jhb
Reviewed by:	imp, jhb
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D21330
2019-08-22 21:43:21 +00:00
..
acct DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
execve DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pipe Revert r337929 2018-08-16 22:04:00 +00:00
coredump_phnum_helper.c Add test case for >65535 segment coredumps 2016-11-01 19:18:16 +00:00
coredump_phnum_test.sh Fix sys.kern.coredump_phnum_test.coredump_phnum on i386 2019-04-22 11:21:20 +00:00
kcov.c Allow the kcov buffer to be mmaped multiple times. 2019-02-21 10:11:15 +00:00
kern_copyin.c Revert r337929 2018-08-16 22:04:00 +00:00
kern_descrip_test.c kern_descrip_test: Fix trivial buffer overrun with readlink(2) 2016-05-12 03:44:29 +00:00
kill_zombie.c Add a test for kill() on a zombie 2019-08-06 21:17:22 +00:00
libkern_crc32.c Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
Makefile Add a test for kill() on a zombie 2019-08-06 21:17:22 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile.inc Add include Makefiles for tests/sys/{fs,kern,kqueue,mac}/... 2017-01-14 20:21:21 +00:00
pdeathsig_helper.c Rename PROC_PDEATHSIG_SET -> PROC_PDEATHSIG_CTL and PROC_PDEATHSIG_GET 2018-04-20 15:19:27 +00:00
pdeathsig.c sys.kern.pdeathsig.signal_delivered_ptrace: fix startup. 2019-08-19 09:33:09 +00:00
ptrace_test.c mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUM 2019-08-22 21:43:21 +00:00
reaper.c Reparent a child of pdfork(2) to its reaper when the procdesc is closed. 2018-10-16 20:06:56 +00:00
sigaltstack.c Maybe make gcc happy 2018-11-30 23:47:57 +00:00
sys_getrandom.c Appease GCC 4.2 2018-03-21 04:44:19 +00:00
unix_passfd_test.c Revert r337929 2018-08-16 22:04:00 +00:00
unix_seqpacket_test.c Send all of data, not just a portion of it 2017-05-28 09:21:28 +00:00
unix_socketpair_test.c Drop "All rights reserved" from the files I own 2019-03-11 22:23:56 +00:00
waitpid_nohang.c wait: Do not copyout uninitialized status/rusage/wrusage. 2016-09-09 21:58:48 +00:00