lkml.org 
[lkml]   [2009]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Return ENOEXEC, not ENOENT, if a binary's or script's interpreter doesn't exist.
> They then go and look at /usr/bin/foo, find that it exists, and are 
> extremely confused.

-ENOEXEC is just as confusing. It is executable, it will match
(cmp/md5sum etc) with one on another box etc.

> More advanced users might at that point try and run "ldd" on the binary
> (which will also fail, thanks to a missing interpreter).

So fix ldd ?


\
 
 \ /
  Last update: 2009-07-30 22:15    [W:0.300 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site