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/common_linux.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/common_linux.h')
0 files changed, 0 insertions, 0 deletions
