diff options
author | Rich Felker <dalias@aerifal.cx> | 2021-03-05 11:09:32 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2021-03-05 11:13:02 -0500 |
commit | cfdfd5ea3ce14c6abf7fb22a531f3d99518b5a1b (patch) | |
tree | 21fa324b6947b11a815baff22278131cd3cddc4c /src/process/posix_spawn_file_actions_init.c | |
parent | e48e99c112246fb580596404074445cb25d7858d (diff) | |
download | musl-cfdfd5ea3ce14c6abf7fb22a531f3d99518b5a1b.tar.gz musl-cfdfd5ea3ce14c6abf7fb22a531f3d99518b5a1b.tar.xz musl-cfdfd5ea3ce14c6abf7fb22a531f3d99518b5a1b.zip |
don't fail to map library/executable with zero-length segment maps
reportedly the GNU linker can emit such segments, causing spurious failure to load due to mmap with a length of zero producing EINVAL. no action is required for such a load map (it's effectively a nop in the program headers table) so just treat it as always successful.
Diffstat (limited to 'src/process/posix_spawn_file_actions_init.c')
0 files changed, 0 insertions, 0 deletions