security_flags: Add the compiler and linker flags that enhance security
authorSaul Wold <sgw@linux.intel.com>
Fri, 28 Jun 2013 18:46:03 +0000 (11:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Jul 2013 21:26:57 +0000 (22:26 +0100)
commit9b7cbfafadd04c01a59334a670aadae2acbbf9ec
treefdac61e646da38a91cbed46993ee01e6528f1ca3
parent7fce3a58ef60ad16744efff335fd21f55a0e0659
security_flags: Add the compiler and linker flags that enhance security

These flags add addition checks at compile, link and runtime to prevent
stack smashing, checking for buffer overflows, and link at program start
to prevent call spoofing later.

This needs to be explicitly enabled by adding the following line to your
local.conf:

require conf/distro/include/security_flags.inc

[YOCTO #3868]

(From OE-Core rev: ff0e863f2d345c42393a14a193f76d699745a2b9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/security_flags.inc [new file with mode: 0644]