diff options
| author | Anton Lindqvist <anton@basename.se> | 2019-05-11 20:38:41 +0200 |
|---|---|---|
| committer | Anton Lindqvist <anton@basename.se> | 2019-05-12 14:03:04 +0200 |
| commit | 5f302c04a24235ce766a27ca21e993221fb09e30 (patch) | |
| tree | b3c85c3da6bfefaf79e1164efcb146a38ec45dfb /executor | |
| parent | 45065351dd01e87059e4ed1cf025c2ef292994a4 (diff) | |
sys/openbsd: add missing padding arguments
Due to missing padding arguments, stack garbage could end up being used as
actual arguments. More reading for the curious[1].
While here, add missing descriptions for pread and pwrite.
[1] https://flak.tedunangst.com/post/syzkaller-found-a-bug
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/defs.h | 2 | ||||
| -rw-r--r-- | executor/syscalls.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/executor/defs.h b/executor/defs.h index 788875f41..92bace9b3 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -130,7 +130,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "216c98ad3498631ce9d36fbfa6fa8f98d1f2c5cb" +#define SYZ_REVISION "1b6671ad8d712ebbd04cdedcec2c7d0d224996b9" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/executor/syscalls.h b/executor/syscalls.h index 37b36814a..53b08e7ab 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -15278,7 +15278,9 @@ const call_t syscalls[] = { {"pipe2", 101}, {"pledge", 108}, {"poll", 252}, + {"pread", 173}, {"preadv", 267}, + {"pwrite", 174}, {"pwritev", 268}, {"read", 3}, {"readlink", 58}, |
