freebsd-src/tools/regression/redzone9
Warner Losh 6bfca4dcab tools: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by:		Netflix
2023-11-26 22:24:01 -07:00
..
Makefile
README Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
redzone.c tools: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
test.sh

To verify that redzone(9) works properly:

	# make
	# make install
	# kldload redzone
	# sh test.sh

And look at the logs/console output.