diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-10-04 21:22:54 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-10-04 21:22:54 +0200 |
commit | 2b26b084e4e4ba58a2ff9f8f8f14c9bca506bd59 (patch) | |
tree | 4e22bfbb8197ffdbf3fb5d86b3613dee441d8491 /ChangeLog | |
parent | eaad14b56aa0d18b3b6bbb1618de2ab5b242d434 (diff) | |
download | glibc-2b26b084e4e4ba58a2ff9f8f8f14c9bca506bd59.zip glibc-2b26b084e4e4ba58a2ff9f8f8f14c9bca506bd59.tar.gz glibc-2b26b084e4e4ba58a2ff9f8f8f14c9bca506bd59.tar.bz2 |
elf: Never use the file ID of the main executable [BZ #24900]
If the loader is invoked explicitly and loads the main executable,
it stores the file ID of the main executable in l_file_id. This
information is not available if the main excutable is loaded by the
kernel, so this is another case where the two cases differ.
This enhances commit 23d2e5faf0bca6d9b31bef4aa162b95ee64cbfc6
("elf: Self-dlopen failure with explict loader invocation
[BZ #24900]").
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2019-10-04 Florian Weimer <fweimer@redhat.com> + [BZ #24900] + * elf/dl-load.c (_dl_map_object_from_fd): Do not use the file ID + when loading the executable as part of an explicit loader + invocation. + +2019-10-04 Florian Weimer <fweimer@redhat.com> + nptl: Move pthread_attr_setinheritsched implementation into libc. * nptl/Makefile (routines): Add pthread_attr_setinheritsched. (libpthread-routines): Remove pthread_attr_setinheritsched. |