From 38cfba2f71bfa9bdea562cb6465b9dc0155fc467 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 8 Mar 2021 19:30:48 +0100 Subject: Better randomization (soon: random memory locs) --- kernel/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel') diff --git a/kernel/main.c b/kernel/main.c index 2e2e030..f0bfc3c 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -37,6 +37,7 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) cpu_enable_features(); cpu_print(); + srand(rdseed()); // Install drivers vfs_install(); -- cgit v1.2.3