aboutsummaryrefslogtreecommitdiffstats
path: root/sys/darwin
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-04-25 14:00:41 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-04-29 14:53:56 +0000
commit88ec97282e185df0bdc0d760bcd5f0a2e4891362 (patch)
tree95b6a8de04d1edcddd7526df75328c5da8c664df /sys/darwin
parent337657e0d5b5c120b163c09fbcfc49ae5897cb39 (diff)
pkg/host: explicitly disable syz_execute_func
Disable the syscall in descriptions rather than in the code. This makes it more visible for users that it's disabled, and makes it less special (will not need to move this logic to host). Also change the condition in syz-sysgen to be more precise, otherwise syz_execute_func becomes unused function.
Diffstat (limited to 'sys/darwin')
-rw-r--r--sys/darwin/sys.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/darwin/sys.txt b/sys/darwin/sys.txt
index 88d218b73..44c5aa6b4 100644
--- a/sys/darwin/sys.txt
+++ b/sys/darwin/sys.txt
@@ -17,7 +17,7 @@ include <time.h>
include <signal.h>
include <sys/wait.h>
-syz_execute_func(text ptr[in, text[target]])
+syz_execute_func(text ptr[in, text[target]]) (disabled)
poll(fds ptr[in, array[pollfd]], nfds len[fds], timeout int32)
select(n len[inp], inp ptr[inout, fd_set], outp ptr[inout, fd_set], exp ptr[inout, fd_set], tvp ptr[inout, timeval])