Skip to contentSkip to conversation

poky.conf: Enable security flags+pie by defaultEnable security flags+pie by default

PATCH In review Khem Raj 2 participants 4 messages Jul 28, 2018 – Jul 29, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 poky.conf: Enable security flags+pie by defaultEnable security flags+pie by default

This has been an opt-in for so long, some distributions e.g. poky-lsb uses it by default however, since most of linux distros have started to default to these settings for security enhancements, time has come for OE to make it default too

---
 meta-poky/conf/distro/poky.conf | 1 +
 1 file changed, 1 insertion(+)
meta-poky/conf/distro/poky.conf +1 -0
index 1c4feeceaa9..392c2383ee4 100644
@@ -98,4 +98,5 @@ ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
 require conf/distro/include/poky-world-exclude.inc
 require conf/distro/include/no-static-libs.inc
 require conf/distro/include/yocto-uninative.inc
+require conf/distro/include/security_flags.inc
 INHERIT += "uninative"
Signature · 1 line
2.18.0
#1 lore raw

Interestingly, considering that poky-lsb used to do this, the autobuilder is failing. See the ross/flags row on
https://autobuilder.yocto.io/tgrid.

Ross

Quoted 28 lines · Khem Raj

This has been an opt-in for so long, some distributions e.g. poky-lsb uses it by default however, since most of linux distros have started to default to these settings for security enhancements, time has come for OE to make it default too

---
 meta-poky/conf/distro/poky.conf | 1 +
 1 file changed, 1 insertion(+)
meta-poky/conf/distro/poky.conf +1 -1
index 1c4feeceaa9..392c2383ee4 100644
@@ -98,4 +98,5 @@ ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
 require conf/distro/include/poky-world-exclude.inc
 require conf/distro/include/no-static-libs.inc
 require conf/distro/include/yocto-uninative.inc
+require conf/distro/include/security_flags.inc
 INHERIT += "uninative"
--

2.18.0

--
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

author
#2 lore raw

Hi Ross

Quoted 5 lines · Ross

Interestingly, considering that poky-lsb used to do this, the autobuilder is failing. See the ross/flags row on
https://autobuilder.yocto.io/tgrid.

https://autobuilder.yocto.io/builders/nightly-no-x11/builds/1160/steps/Running%20Sanity%20Tests/logs/stdio

This seems to be mark failed but all tests have passed. I wonder what is marking it so.

musl one looks real, I will take a look

Quoted 31 lines

Ross

Quoted 28 lines · Khem Raj

This has been an opt-in for so long, some distributions e.g. poky-lsb uses it by default however, since most of linux distros have started to default to these settings for security enhancements, time has come for OE to make it default too

---
 meta-poky/conf/distro/poky.conf | 1 +
 1 file changed, 1 insertion(+)
meta-poky/conf/distro/poky.conf +1 -1
index 1c4feeceaa9..392c2383ee4 100644
@@ -98,4 +98,5 @@ ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
 require conf/distro/include/poky-world-exclude.inc
 require conf/distro/include/no-static-libs.inc
 require conf/distro/include/yocto-uninative.inc
+require conf/distro/include/security_flags.inc
 INHERIT += "uninative"
--

2.18.0

--
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

#3 lore raw
Quoted 8 lines · Khem Raj

Hi Ross

Quoted 5 lines · Ross

Interestingly, considering that poky-lsb used to do this, the autobuilder is failing. See the ross/flags row on
https://autobuilder.yocto.io/tgrid.

Quoted 4 lines

https://autobuilder.yocto.io/builders/nightly-no-x11/builds/1160/steps/Running%20Sanity%20Tests/logs/stdio

This seems to be mark failed but all tests have passed. I wonder what is marking it so.

I've re-fired that to see if it goes away.

Quoted 1 line

musl one looks real, I will take a look

And the ppc builder basically exploded in fire.

Ross