freebsd-skq/lib/libproc
kevans 450bfda5be 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
..
tests Detach from the child process before completing the test. 2018-07-27 20:34:15 +00:00
_libproc.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
crc32.c
crc32.h
libproc.h Add an envp argument to proc_create(). 2017-12-03 16:50:16 +00:00
Makefile Add an envp argument to proc_create(). 2017-12-03 16:50:16 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile.inc
proc_bkpt.c Remove an unneeded temporary variable in two functions. 2019-07-19 23:10:43 +00:00
proc_create.c Use a global extern declaration to appease gcc. 2017-12-06 17:52:01 +00:00
proc_regs.c mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUM 2019-08-22 21:43:21 +00:00
proc_rtld.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
proc_sym.c Be consistent about temporary variable use in adjacent loops. 2019-07-22 18:27:17 +00:00
proc_util.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00