bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29448] aarch64: "has a LOAD segment with RWX permissions"


From: nickc at redhat dot com
Subject: [Bug ld/29448] aarch64: "has a LOAD segment with RWX permissions"
Date: Fri, 05 Aug 2022 09:42:38 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29448

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Jérôme Forissier from comment #0)

> tee.elf is produced with a custom linker script.

Do you *want* a segment with read, write and execute permission ?  It does
represent a potential security vulnerability and it might be worth your time to
examine the linker script and see if you can put the code and the data into
separate segments.


> Previously, no warning was output. Now that the linker warns by default, it
> causes build errors with --fatal-warnings (obviously) which is a bit
> annoying.

Assuming that you want to keep things the way that they are you can use the
--no-warn-rwx-segments command line option to disable the message.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]