From 7a64bdbbcf14023370b90b22de73c2f61a6f84ac Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 4 Apr 2021 00:11:00 +0200 Subject: Implemented basic user program ASLR --- kernel/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/main.c') diff --git a/kernel/main.c b/kernel/main.c index 14a3555..6752fcf 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -31,7 +31,7 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) cpu_enable_features(); cpu_print(); - srand(rdseed()); + srand(rand()); // Install drivers vfs_install(); -- cgit v1.2.3