aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/genconfig.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh
index 58b99acd..955c82cd 100755
--- a/scripts/genconfig.sh
+++ b/scripts/genconfig.sh
@@ -107,6 +107,12 @@ EOF
#include <sys/random.h>
int main(void) { char buf[100]; getrandom(buf, 100, 0); }
EOF
+
+ probesymbol TOYBOX_COPYFILERANGE << EOF
+ #include <sys/syscall.h>
+ #include <unistd.h>
+ int main(void) { copyfilerange(0, 0, 1, 0, 123, 0); }
+EOF
}
genconfig()