diff options
author | Danny Holman <dholman@gymli.org> | 2024-06-21 23:32:18 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-06-21 23:32:18 -0500 |
commit | 0e8081d8e9db8b9482da7e92a72194bfa927223d (patch) | |
tree | a8250c2071b1af527d896b718827ff7081cb5b56 /arch/i386/kernel/multiboot.c | |
parent | arch: i386: gdt: flush_gdt no longer takes arguments (diff) | |
download | box-0e8081d8e9db8b9482da7e92a72194bfa927223d.tar.gz box-0e8081d8e9db8b9482da7e92a72194bfa927223d.tar.zst box-0e8081d8e9db8b9482da7e92a72194bfa927223d.zip |
libk: use a random value for the stack protector
Don't hardcode the __stack_chk_guard value, generate a random value
(using RDRAND on x86) before running any C code.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions