android-tools: Enable position-independent executable
PATCH 1/1 android-tools: Enable position-independent executable
Enable position-independent executable security flag for adb and fastboot. Verified that flag is enabled by using checksec.py
Upstream-Status: Pending
--- .../recipes-devtool/android-tools/android-tools_29.0.6.r14.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb +2 -0
@@ -77,6 +77,8 @@ PREREQUISITE_core = "liblog libbase libsparse liblog libcutils" TOOLS_TO_BUILD = "libcrypto_utils libadb libziparchive fastboot adb img2simg simg2img libbacktrace" TOOLS_TO_BUILD:append:class-target = " adbd" +SECURITY_CFLAGS:append:aarch64 = " -pie -fPIE" + do_compile() { case "${HOST_ARCH}" in
Signature · 1 line
2.25.1
Please ignore this patch.
[OE-core] tag doesn't belong to subject for meta-oe patches, use [meta-oe] instead.
Upstream-Status belongs to .patch files in the metadata, not to commit message of metadata changes.
Quoted 45 lines · Pawan Badganchi
Enable position-independent executable security flag for adb and fastboot. Verified that flag is enabled by using
checksec.pyUpstream-Status: Pending
Signed-off-by Pawan <[email protected]>--- .../recipes-devtool/android-tools/android-tools_29.0.6.r14.bb | 2 ++ 1 file changed, 2 insertions(+)(quoted diff) +0
-0android-tools_29.0.6.r14.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/ android-tools_29.0.6.r14.bb
indexfbad5e136..6ec90c2f5100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/ android-tools_29.0.6.r14.bb
+++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/ android-tools_29.0.6.r14.bb(quoted diff) +0
-0@@ -77,6 +77,8 @@ PREREQUISITE_core = "liblog libbase libsparse libloglibcutils"
TOOLS_TO_BUILD= "libcrypto_utilslibadb libziparchive fastboot adb
img2simg simg2img libbacktrace"
TOOLS_TO_BUILD:append:class-target = " adbd"meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb +2
-1+SECURITY_CFLAGS:append:aarch64 = " -pie -fPIE" + do_compile() { case "${HOST_ARCH}" in --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#108983):
https://lists.openembedded.org/g/openembedded-devel/message/108983
Mute This Topic: https://lists.openembedded.org/mt/104507422/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Thank you, but ignore this patch