Lines 55-62
Link Here
|
55 |
/* |
55 |
/* |
56 |
* Initialize the stackprotector canary value. |
56 |
* Initialize the stackprotector canary value. |
57 |
* |
57 |
* |
58 |
* NOTE: this must only be called from functions that never return, |
58 |
* NOTE: this must only be called from functions that never return |
59 |
* and it must always be inlined. |
59 |
* and it must always be inlined. |
|
|
60 |
* |
61 |
* In addition, it should be called from a compilation unit for which |
62 |
* stack protector is disabled. Alternatively, the caller should not end |
63 |
* with a function call which gets tail-call optimized as that would |
64 |
* lead to checking a modified canary value. |
60 |
*/ |
65 |
*/ |
61 |
static __always_inline void boot_init_stack_canary(void) |
66 |
static __always_inline void boot_init_stack_canary(void) |
62 |
{ |
67 |
{ |