diff options
author | Rob Landley <rob@landley.net> | 2020-06-01 03:31:14 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-06-01 03:31:14 -0500 |
commit | b2dd9953d83b9e6d8012b6b1b43869316eb112b7 (patch) | |
tree | d6ff80e6b10e0701fa2e28f6d1517d4fc9319858 /scripts | |
parent | a0849e8645a197179a5411a2e5b6478a38feff1f (diff) | |
download | toybox-b2dd9953d83b9e6d8012b6b1b43869316eb112b7.tar.gz |
Ahem. The new copy_file_range() check needs the config symbol probe.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/genconfig.sh | 6 |
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() |