diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/genconfig.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index e8df5965..533df600 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -105,6 +105,11 @@ EOF struct rlimit *old_limit); int main(int argc, char *argv[]) { prlimit(0, 0, 0, 0); } EOF + + probesymbol TOYBOX_GETRANDOM << EOF + #include <sys/random.h> + int main(void) { char buf[100]; getrandom(buf, 100, 0); } +EOF } genconfig() |