Le 05/10/2013 23:10, Todd C. Miller a écrit :
That looks reasonable to me. I can't think of a reason to not
return the proper errno values, especially as things like ENOMEM
are already documented for execve(2).
- todd
up...
That looks reasonable to me. I can't think of a reason to not
return the proper errno values, especially as things like ENOMEM
are already documented for execve(2).
- todd
Hi,
after playing with some ELF binaries, I figured out that error
codes received in errno do not always match with what is expected
in the kernel.
Actually, this function should return (error) instead of (ENOEXEC):
Index: exec_elf.c