From dc5564eb36462b29de4a0dbf85ef9f91df2eecca Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 25 Jun 2024 15:43:52 +0200 Subject: executor: prohibit malloc/calloc via linter We include a number of C++ headers in the runnner. On FreeBSD some of them mention malloc, and our defines break the build. Use the style test to check only our files for these things. --- executor/common_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_test.h') diff --git a/executor/common_test.h b/executor/common_test.h index 67585be9a..c5f7f5bca 100644 --- a/executor/common_test.h +++ b/executor/common_test.h @@ -31,7 +31,7 @@ static long syz_errno(volatile long v) // syz_exit(status int32) static long syz_exit(volatile long status) { - _exit(status); + doexit(status); return 0; } #endif -- cgit mrf-deployment