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



Kamil Dudka wrote:
> Why would the patch require linking with libelf?

My mistake sorry, I see the patch is using read() direct to the structures from
elf.h rather than calling routines. I guess it gets away without
handling byte order because that would result in an errno other than
ENOENT from exec.

Still I'm in agreement with Philippe and Bart on this one. The shell is
not the right place for this.

Oliver



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