4.19.132: ENOENT is misleading when attempting exec of foreign executable

From: Andrea Monaco
Date: Fri Dec 03 2021 - 10:32:45 EST



Hello.


When I try to execl an ELF executable from another system I get an
ENOENT. Maybe the reason is an interpreter not found, but I think that
error is still misleading, because the executable is obviously there.
Perhaps one of EINVAL or ENOEXIST is more fitting.



Warmly,
--
Andrea G. Monaco
Lgbt+ activist, hacker, mathematician
"Hope will never be silent!", H. Milk