aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-04 00:11:00 +0200
committerMarvin Borner2021-04-04 00:11:00 +0200
commit7a64bdbbcf14023370b90b22de73c2f61a6f84ac (patch)
tree7f26778ddcd9f7e213f70e60e04c1805c4f2572f /kernel/main.c
parent9127d8e4d09207d5c9d98024ca6610310a7273ad (diff)
Implemented basic user program ASLR
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c2
1 files changed, 1 insertions, 1 deletions
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();