Skip to content
Commit 2b26b084 authored by Florian Weimer's avatar Florian Weimer
Browse files

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 23d2e5fa
("elf: Self-dlopen failure with explict loader invocation
[BZ #24900]").

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
Reviewed-by: default avatarGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
parent eaad14b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment