Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] binutils: Enable --enable-new-dtags
@ 2023-02-23  6:58 Khem Raj
  2023-02-23 23:34 ` [OE-core] " Alexandre Belloni
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Khem Raj @ 2023-02-23  6:58 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Use DT_RUNPATH over DT_RPATH. If DT_RUNPATH is present, LD_LIBRARY_PATH is searched before
DT_RUNPATH, Search order is DT_RPATH then LD_LIBRARY_PATH then
DT_RUNPATH, this order ensures that injecting
malicious shared objects is way harder with DT_RUNPATH.

This is now default on major linux distributions already

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/binutils/binutils.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index b2dbf241df..c69d29448f 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -96,6 +96,7 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
                 --disable-werror \
                 --enable-deterministic-archives \
                 --enable-plugins \
+                --enable-new-dtags \
                 --disable-gdb \
                 --disable-gdbserver \
                 --disable-libdecnumber \
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-03-08 15:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-23  6:58 [PATCH] binutils: Enable --enable-new-dtags Khem Raj
2023-02-23 23:34 ` [OE-core] " Alexandre Belloni
2023-02-24  1:56   ` Khem Raj
2023-02-27  6:43     ` Khem Raj
2023-02-27  8:37       ` Richard Purdie
2023-02-28 16:18 ` Alexandre Belloni
2023-02-28 16:43   ` Khem Raj
2023-02-28 17:50     ` Richard Purdie
2023-02-28 22:45       ` Alexandre Belloni
2023-03-01  9:25         ` Alexandre Belloni
     [not found]         ` <17484164C4F9625C.21178@lists.openembedded.org>
2023-03-02 11:41           ` Alexandre Belloni
2023-03-02 13:18             ` Richard Purdie
     [not found]             ` <17489CAAF65A13B6.9697@lists.openembedded.org>
2023-03-02 17:54               ` Richard Purdie
     [not found]               ` <1748ABB9EC6D9FC3.21180@lists.openembedded.org>
2023-03-02 22:47                 ` Richard Purdie
2023-03-08  9:33 ` Richard Purdie
     [not found] ` <174A67E2AA88DEE8.12537@lists.openembedded.org>
2023-03-08 11:53   ` Richard Purdie
2023-03-08 15:19     ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox