This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Patch] rexec check for sockaddr length


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]