File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ config APPELFLOADER_DEPENDENCIES
1919 imply LIBPOSIX_POLL_YIELD
2020 imply LIBPOSIX_SYSINFO
2121 imply LIBPOSIX_USER
22- imply LIBUKSWRAND
22+ imply LIBUKRANDOM
2323 imply LIBPOSIX_ENVIRON
2424
2525### App configuration
Original file line number Diff line number Diff line change 4848#endif /* CONFIG_LIBPOSIX_PROCESS */
4949#include <uk/thread.h>
5050#include <uk/sched.h>
51- #if CONFIG_LIBUKSWRAND
52- #include <uk/swrand .h>
53- #endif /* CONFIG_LIBUKSWRAND */
51+ #if CONFIG_LIBUKRANDOM
52+ #include <uk/random .h>
53+ #endif /* CONFIG_LIBUKRANDOM */
5454#if CONFIG_APPELFLOADER_VFSEXEC_ENVPATH
5555#include <uk/argparse.h>
5656#include <uk/streambuf.h>
@@ -347,14 +347,14 @@ int main(int argc, char *argv[])
347347 /*
348348 * Initialize application thread
349349 */
350- #if CONFIG_LIBUKSWRAND
351- uk_swrand_fill_buffer (rand , sizeof (rand ));
352- #else /* !CONFIG_LIBUKSWRAND */
350+ #if CONFIG_LIBUKRANDOM
351+ uk_random_fill_buffer (rand , sizeof (rand ));
352+ #else /* !CONFIG_LIBUKRANDOM */
353353 /* Without random numbers, use a hardcoded seed */
354354 uk_pr_warn ("%s: Using hard-coded random seed\n" , progname );
355355 rand [0 ] = 0xB0B0 ;
356356 rand [1 ] = 0xF00D ;
357- #endif /* !CONFIG_LIBUKSWRAND */
357+ #endif /* !CONFIG_LIBUKRANDOM */
358358
359359 uk_pr_debug ("%s: Prepare application thread...\n" , progname );
360360 elf_ctx_init (& app_thread -> ctx , prog , progname ,
You can’t perform that action at this time.
0 commit comments