FreeBSD kernel kern code
|
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/libkern.h>
Go to the source code of this file.
Macros | |
#define | __arraycount(__x) (sizeof(__x) / sizeof(__x[0])) |
Functions | |
__FBSDID ("$BSDSUniX$") | |
void | __stack_chk_fail (void) |
static void | __stack_chk_init (void *dummy __unused) |
SYSINIT (stack_chk, SI_SUB_RANDOM, SI_ORDER_ANY, __stack_chk_init, NULL) | |
Variables | |
long | __stack_chk_guard [8] = {} |
#define __arraycount | ( | __x | ) | (sizeof(__x) / sizeof(__x[0])) |
Definition at line 20 of file stack_protector.c.
Referenced by __stack_chk_init().
__FBSDID | ( | "$BSDSUniX$" | ) |
void __stack_chk_fail | ( | void | ) |
Definition at line 14 of file stack_protector.c.
References panic().
|
static |
Definition at line 22 of file stack_protector.c.
References __arraycount, and __stack_chk_guard.
SYSINIT | ( | stack_chk | , |
SI_SUB_RANDOM | , | ||
SI_ORDER_ANY | , | ||
__stack_chk_init | , | ||
NULL | |||
) |
long __stack_chk_guard[8] = {} |
Definition at line 10 of file stack_protector.c.
Referenced by __stack_chk_init().