From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Mosberger Date: Thu, 10 Jul 2003 16:25:06 +0000 Subject: Re: clone testcases in LTP Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org >>>>> On Thu, 10 Jul 2003 11:18:38 -0500, Nathan Straz said: >> /* int __clone2(int (*fn) (void *arg), void *child_stack_base, */ >> /* size_t child_stack_size, int flags, void *arg, */ /* pid_t >> *parent_tid, void *tls, pid_t *child_tid) */ Nathan> Hmm, that prototype seems to have a lot more args than the Nathan> clone man page states: Nathan> #include int clone(int (*fn)(void *), void Nathan> *child_stack, int flags, void *arg); _syscall2(int, clone, Nathan> int, flags, void *, child_stack); Nathan> What are the parameters parent_tid, tls, and child_tid Nathan> supposed to be? Hint 1: search google for "NPTL". Hint 2: it's nothing ia64-specific. Hint 3: the arguments are ignored unless you specify certain CLONE* flags, so the interface remains backwards-compatible. Hope this helps. --david