effect on GNU_RELRO segment?

8 views
Skip to first unread message

johnson...@gmail.com

unread,
Oct 31, 2019, 10:44:48 AM10/31/19
to libhugetlbfs
If an executable using libhugetlbfs contains a GNU_RELRO segment, is that affected in any way?  I have a situation where an executable fails with libhugetlbfs unless the linker is told to not generate a RELRO segment.  I'm wondering if the RELRO protection would even still apply after libhugetlbfs remaps all the segments; if it doesn't, then I could turn it off since it wouldn't have been doing anything anyway.  I've searched the libhugetlbfs source for any mention of RELRO and I don't see any place that it's specifically handled, but I might not be searching for the right text.
Reply all
Reply to author
Forward
0 new messages