Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - S index
The Linux kernel configuration item CONFIG_STACKPROTECTOR_STRONG
:
( CONFIG_STACKPROTECTOR ) && ($( CONFIG_cc-option,-fstack-protector-strong ))
Functions will have the stack-protector canary logic added in any of the following conditions:
- local variable's address used as part of the right hand side of an assignment or function argument - local variable is an array (or union containing an array), regardless of array type or length - uses register local variables
This feature requires gcc version 4.9 or above, or a distribution gcc with the feature backported ("-fstack-protector-strong").
On an x86 "defconfig" build, this feature adds canary checks to about 20% of all kernel functions, which increases the kernel code size by about 2%.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - S index
Automatically generated (in year 2025). See also LKDDb sources on GitLab