]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: Use get_random_canary() for stack canary init
authorLuo Qiu <luoqiu@kylinsec.com.cn>
Wed, 22 Apr 2026 07:45:12 +0000 (15:45 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 22 Apr 2026 07:45:12 +0000 (15:45 +0800)
commita28547576b3b3c95f2261cd5374c1e459f36d9dc
treefa8cb851e697be305095bcf3dfa0e5667ff1a1e5
parent847634955b0810d0b93382a588312f745a5947be
LoongArch: Use get_random_canary() for stack canary init

Like others, replace the custom stack canary initialization with the
get_random_canary() helper, following the pattern established in commit
622754e84b10 ("stackprotector: actually use get_random_canary()").

Signed-off-by: Luo Qiu <luoqiu@kylinsec.com.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/stackprotector.h