Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH 1/2] report bad ELF interpreter if it causes exec to fail



On Friday 17 April 2015 17:21:40 Oliver Kiddle wrote:
> This behaviour got mentioned on one of the blogs that I tend to read
> here:
> 
> http://utcc.utoronto.ca/~cks/space/blog/unix/BashSuperintelligentExec
> 
> I would agree with the conclusion of that blog writer that this is going
> a little bit overboard.
> 
> Also, I'm fairly sure that this would require linking with libelf on
> some systems which is an added dependency.
> 
> Oliver

Why would the patch require linking with libelf?

The patch does not rely on any symbols provided by the libelf library.  It 
just optionally uses <elf.h> if the header file is available during build.

Kamil



Messages sorted by: Reverse Date, Date, Thread, Author