maiocustomer.blogg.se

How to install linux kernel
How to install linux kernel











how to install linux kernel

+#endif /* _ASM_RISCV_STACKPROTECTOR_H */ĭiff -git a/arch/riscv/kernel/process.c b/arch/riscv/kernel/process.c

how to install linux kernel

+ _stack_chk_guard = current->stack_canary + canary += tsc + (tsc stack_canary = canary + get_random_bytes(&canary, sizeof(canary)) + /* Try to get a semi random initial value. +static _always_inline void boot_init_stack_canary(void) + * NOTE: this must only be called from functions that never return, + * Initialize the stackprotector canary value. Size is expanded from 0x7de066 to 0x81fb32 (only 5%) to add canaryĪrch/riscv/include/asm/stackprotector.h | 33 +++++++++++++++++++++++++++++++++Ĭreate mode 100644 arch/riscv/include/asm/stackprotector.hĭiff -git a/arch/riscv/Kconfig b/arch/riscv/Kconfigĭiff -git a/arch/riscv/include/asm/stackprotector.h b/arch/riscv/include/asm/stackprotector.h The patch only add basic kernel support to stack-protectorįeature and some arch could have its own solution such asĪfter enabling STACKPROTECTOR and STACKPROTECTOR_STRONG, the. The -fstack-protector & -fstack-protector-strong features are from Masami Hiramatsu, linux-riscv, Greentime Hu To: palmerdabbelt, paul.walmsley, anup, greentime.hu, zong.li, me,Ĭc: Albert Ou, linux-kernel, linux-csky, Guo Ren, guoren, 18:36 ` riscv: Add STACKPROTECTOR supported kernel test robotĠ siblings, 2 replies 4+ messages in thread 7:28 ` riscv: Enable per-task stack canaries guoren Riscv: Add STACKPROTECTOR supported archive mirror help / color / mirror / Atom feed * riscv: Add STACKPROTECTOR supported 7:28 guoren













How to install linux kernel