This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] ia64/clone2: make sure child_stack is non-NULL
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 22 Feb 2006 18:23:40 -0800
- Subject: Re: [patch] ia64/clone2: make sure child_stack is non-NULL
- References: <200602222019.56305.vapier@gentoo.org>
On Wed, Feb 22, 2006 at 08:19:56PM -0500, Mike Frysinger wrote:
> playing with uClibc/ia64 and i noticed that a test case we have for testing
> the return value of clone() when given bum arguments was failing ... seems
> the clone2() function in ia64 never verifies child_stack like all other
> architectures
>
> attached patch adds a check for child_stack alongside the check for
> child_fn ... i know squat about ia64 assembly so i'd be surprised if this was
> correct :)
> -mike
Can you also provide a patch for testcase?
H.J.