tools: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Rem
tools: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank 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
show more ...
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Rework the handling of the children for the pthread_vfork_test. Thetrivial handler for SIGCHLD is installed, and SIGCHLD is blocked, tonot abandon our zombies to init(8). This way, the zombies are
Rework the handling of the children for the pthread_vfork_test. Thetrivial handler for SIGCHLD is installed, and SIGCHLD is blocked, tonot abandon our zombies to init(8). This way, the zombies are aroundslightly longer, allowing to actually exercise the logic for p_pwaituse by the test.MFC after: 1 week
This is simple testing program for revision 185647.It invokes multiple parallel threads and each thread calls vfork()system call.Approved by: kib