Date: Mon, 28 May 2018 15:44:15 +0200 From: "Bob B." <bob66@....com> To: musl@...ts.openwall.com Subject: dl_iterate_phdr() behaves differently on musl and glibc Hi list. I noticed a difference in behavior of dl_iterate_phdr() when playing with musl and glibc. The program I tried was the example on the bottom of the page: https://linux.die.net/man/3/dl_iterate_phdr What happens is that musl returns the program itself when run + shared objects. glibc only returns the shared objects. Not sure which one is right. Or if both are acceptable. Any light to clear why the different behavior is appreciated. Thanks all.
Powered by blists - more mailing lists
Powered by Openwall GNU/*/Linux - Powered by OpenVZ