From 5f302c04a24235ce766a27ca21e993221fb09e30 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Sat, 11 May 2019 20:38:41 +0200 Subject: 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 --- executor/syscalls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'executor/syscalls.h') 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}, -- cgit mrf-deployment