]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc: Configure with extra hardening options
authorKhem Raj <raj.khem@gmail.com>
Fri, 26 May 2017 16:15:01 +0000 (09:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Jun 2017 22:45:49 +0000 (23:45 +0100)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/glibc/glibc_2.25.bb

index ab6fbbea2a15ea4652c2ad9eb1f7b51042058e12..83a1249b8c1d601e14ef9ee38be87117ff6be620 100644 (file)
@@ -77,6 +77,10 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --with-headers=${STAGING_INCDIR} \
                 --without-selinux \
                 --enable-obsolete-rpc \
+                --enable-tunables \
+                --enable-bind-now \
+                --enable-stack-protector=strong \
+                --enable-stackguard-randomization \
                 ${GLIBC_EXTRA_OECONF}"
 
 EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"