/** Copyright 2021, JΓ©rΓ΄me Duval, jerome.duval@gmail.com.* Distributed under the terms of the MIT License.*/#include <sys/cdefs.h>#include <SupportDefs.h>#include <util/Random.h>extern "C" {long __stack_chk_guard;void__stack_chk_fail(){panic("stack smashing detected\n");}}voidstack_protector_init(){__stack_chk_guard = secure_get_random<long>();}