diff options
| author | Mark Johnston <markjdb@gmail.com> | 2019-03-06 20:29:33 -0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-07 19:46:55 +0100 |
| commit | 4fc2fa55acc12f9e82084e52521380b84be9a08b (patch) | |
| tree | 237a9aff39c7bcf107ddc9949f3d6dca51fa731d /executor/defs.h | |
| parent | c08c1cd05c3c8e0cf6b24a0425f058c6555b82cc (diff) | |
sys/freebsd: avoid mangling syscall names
syz-extract was removing certain prefixes from syscall names, but this
caused some problems:
- freebsd* prefixes are for compatibility syscalls when the syscall ABI
has changed. For instance, we have both fstat() and
freebsd11_fstat(), and it is desirable to fuzz them both.
- Stripping prefixes may leave us with undefined SYS_ constants. This
resulted in some test failures in pkg/csource, which emitted code
referencing SYS_semctl when it should have been SYS___semctl.
Fix the problem by updating syscall descriptions to match the names
given by the FreeBSD kernel. Add some new descriptions for
compatibility syscalls, fix the mknodat() description (dev_t is now 64
bits wide on FreeBSD), and remove mknod$loop, which appears to be
Linux-specific.
Diffstat (limited to 'executor/defs.h')
| -rw-r--r-- | executor/defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/defs.h b/executor/defs.h index 8e2a70847..db674ec2d 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -20,7 +20,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "87222f38848c14df07a6a0304da0b1915e3396bb" +#define SYZ_REVISION "873616249e74ae100e93afb6a14e4fef92b3acc4" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 |
