diff options
author | Roland Hieber <rhi@pengutronix.de> | 2019-03-11 00:40:38 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2019-03-11 06:47:41 +0100 |
commit | bdc5584b15cd2aefcbfc7e355076ede829b85fd6 (patch) | |
tree | f598240211c78c074559f9f22b90e9cda568c71f /configs/platform-rpi/kernelconfig | |
parent | b9a40535aed91a201e70e13aad722d2d589fff2c (diff) | |
download | DistroKit-bdc5584b15cd2aefcbfc7e355076ede829b85fd6.tar.gz DistroKit-bdc5584b15cd2aefcbfc7e355076ede829b85fd6.tar.xz |
rpi: enable gcc stack clash protection
This setting was introduced in PTXdist 2019.03.0:
Generate code to prevent stack clash style attacks. When this
option is enabled, the compiler will only allocate one page of
stack space at a time and each page is accessed immediately after
allocation. Thus, it prevents allocations from jumping over any
stack guard page provided by the operating system.
Make use of it to get more secure binaries with gcc-8's new
-fstack-clash-protection option.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Diffstat (limited to 'configs/platform-rpi/kernelconfig')
0 files changed, 0 insertions, 0 deletions