I am attempting to implement my own _security_check_cookie function so I can enable stack-protector=all.
When compiled, my implementation of __security_check_cookie has a call to __security_check_cookie inserted to the end of the function, which results in infinite recursion and the compiled program crashing.
with the removal of #[no_stack_check], what is the recommended method of instructing the compiler to not insert a stack check into a specific function?