summaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/stackprotector.h
AgeCommit message (Collapse)Author
2022-12-14LoongArch: Add basic STACKPROTECTOR supportHuacai Chen
Add basic stack protector support similar to other architectures. A constant canary value is set at boot time, and with help of compiler's -fstack-protector we can detect stack corruption. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>