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
Since I don't get any answer, I guess I have not been convincing
enough. Here is the deal:
a) It is obvious that there's an inconsistency: 'error' is almost
always set before goto bad.
b) Beyond the fact that it is obvious: if you have a look at this
function, you will see that there are
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
==