[Patch] rexec check for sockaddr length
Thorsten Kukuk
kukuk@suse.de
Sun Apr 8 23:07:00 GMT 2001
On Sun, Apr 08, Ulrich Drepper wrote:
> Thorsten Kukuk <kukuk@suse.de> writes:
>
> > And I don't think that the new return value is correct. I don't see
> > where there should be a invalid argument ?
>
> It's in invalid value for this function. It must simply be a value
> which can be recognized and traced.
I call rexec and I get back EINVAL. I don't see which arguments
should be wrong I give to rexec ?
EINVAL would be correct if we would give it to the kernel (because
we got the data which you descripes as invalid from the kernel).
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.
More information about the Libc-hacker
mailing list