From 88ec97282e185df0bdc0d760bcd5f0a2e4891362 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 25 Apr 2024 14:00:41 +0200 Subject: 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. --- sys/darwin/sys.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/darwin') 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 include include -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]) -- cgit mrf-deployment