diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2025-02-24 22:07:25 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-02-26 15:09:39 +0000 |
| commit | 6a8fcbc4a6172c831c89c507007f59fba13408aa (patch) | |
| tree | 191db2484e48818a04c85d7dd129c4dd5b74655e /executor/common_bsd.h | |
| parent | 95b975e5e85f53f742d82ed39cb09e6a8266cfa7 (diff) | |
executor: pull in errno.h on BSD systems
The error handling for the setsid() call in sandbox_common() requires
it. Without it, some csource builds fail.
Diffstat (limited to 'executor/common_bsd.h')
| -rw-r--r-- | executor/common_bsd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h index 7d387be16..1e0389af5 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -387,6 +387,7 @@ static long syz_extract_tcp_res(volatile long a0, volatile long a1, volatile lon #if SYZ_EXECUTOR || SYZ_SANDBOX_SETUID || SYZ_SANDBOX_NONE +#include <errno.h> #include <sys/resource.h> #include <unistd.h> |
