diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-06-18 16:42:10 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-06-18 16:42:10 +0200 |
commit | 2c75b545de6fe3c44138799c68217a94bc669a88 (patch) | |
tree | fa8cd3f23ec090151bfac600ee394757634cfa05 /include | |
parent | 02d8b5ab1c89bcef2627d2b621bfb35b573852c2 (diff) | |
download | glibc-2c75b545de6fe3c44138799c68217a94bc669a88.zip glibc-2c75b545de6fe3c44138799c68217a94bc669a88.tar.gz glibc-2c75b545de6fe3c44138799c68217a94bc669a88.tar.bz2 |
elf: Refuse to dlopen PIE objects [BZ #24323]
Another executable has already been mapped, so the dynamic linker
cannot perform relocations correctly for the second executable.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/elf.h b/include/elf.h index ab76aaf..14ed67f 100644 --- a/include/elf.h +++ b/include/elf.h @@ -23,7 +23,7 @@ # endif # define DT_1_SUPPORTED_MASK \ (DF_1_NOW | DF_1_NODELETE | DF_1_INITFIRST | DF_1_NOOPEN \ - | DF_1_ORIGIN | DF_1_NODEFLIB) + | DF_1_ORIGIN | DF_1_NODEFLIB | DF_1_PIE) #endif /* !_ISOMAC */ #endif /* elf.h */ |