summaryrefslogtreecommitdiff
path: root/tests/libc/kernel_stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libc/kernel_stub.h')
-rw-r--r--tests/libc/kernel_stub.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/libc/kernel_stub.h b/tests/libc/kernel_stub.h
index 467ad20..65047f9 100644
--- a/tests/libc/kernel_stub.h
+++ b/tests/libc/kernel_stub.h
@@ -24,4 +24,13 @@ long syscall1( long n, long a1 );
long syscall2( long n, long a1, long a2 );
long syscall3( long n, long a1, long a2, long a3 );
+// SSP stub, we don't want to link against libssp
+
+#include <stdint.h>
+#include <stdlib.h>
+
+#define STACK_CHK_GUARD 0xe2dee396
+
+extern uintptr_t __stack_chk_guard;
+
#endif