Add support for default stack-protector flag
authorLouis Mayencourt <louis.mayencourt@arm.com>
Tue, 26 Mar 2019 16:59:26 +0000 (16:59 +0000)
committerLouis Mayencourt <louis.mayencourt@arm.com>
Tue, 30 Apr 2019 13:42:40 +0000 (14:42 +0100)
commitfd7b287cbe9147ca9e07dd9f30c49c58bbdd92a8
tree4fc749c663ad98fb4d463023a58ccf70ec069e39
parentc3e4e0888d92f5e82fdd626e2eb5fdee3892bb2a
Add support for default stack-protector flag

The current stack-protector support is for none, "strong" or "all".
The default use of the flag enables the stack-protection to all
functions that declare a character array of eight bytes or more in
length on their stack.
This option can be tuned with the --param=ssp-buffer-size=N option.

Change-Id: I11ad9568187d58de1b962b8ae04edd1dc8578fb0
Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
docs/user-guide.rst
lib/stack_protector/stack_protector.mk