]> code.ossystems Code Review - openembedded-core.git/commit
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)
committerSaul Wold <sgw@linux.intel.com>
Tue, 2 Jul 2013 14:58:10 +0000 (07:58 -0700)
commitff0e863f2d345c42393a14a193f76d699745a2b9
treeffbc60161ec8c704bbf01ed614f8a2047f06ce5a
parent1b894d56fae61d7f8da8fb50b82d1cce5cc9b8f2
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]

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