summaryrefslogtreecommitdiff
path: root/libk/stack_protector.c
AgeCommit message (Collapse)Author
2024-06-21libk: use a random value for the stack protectorDanny Holman
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>
2024-05-27libk: create a subset libc for kernel useDanny Holman
Create a subset of the C library for use inside the kernel. Signed-off-by: Danny Holman <dholman@gymli.org>