Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/lib/libc/secure/stack_protector_compat.c
39476 views
1
/*
2
* Written by Alexander Kabaev <[email protected]>
3
* The file is in public domain.
4
*/
5
6
#include <sys/cdefs.h>
7
void __stack_chk_fail(void);
8
9
#ifdef PIC
10
void
11
__stack_chk_fail_local_hidden(void)
12
{
13
14
__stack_chk_fail();
15
}
16
17
__sym_compat(__stack_chk_fail_local, __stack_chk_fail_local_hidden, FBSD_1.0);
18
#endif
19
20