All of lore.kernel.org
 help / color / mirror / Atom feed
* problem about CLONE_PARENT_SETTID | CLONE_CHILD_CLEARTID ?
@ 2002-12-10 18:49 Hu, Boris
  2002-12-10 19:01 ` Ulrich Drepper
  0 siblings, 1 reply; 3+ messages in thread
From: Hu, Boris @ 2002-12-10 18:49 UTC (permalink / raw)
  To: Linux Kernel ML (E-mail), NPTL list (E-mail)


When I read create_thread() in NPTL source code, it passes
CLONE_PARENT_SETTID 
| CLONE_CHILD_CLEARTID to sys_clone(). However, in arch/arm/kernel/sys_arm.c

(sys_clone) [kernel 2.5.49]
256         if (clone_flags & (CLONE_PARENT_SETTID | CLONE_CHILD_CLEARTID))
257                 return -EINVAL;

 I have searched CLONE_PARENT_SETTID in kernel, it seems only to appear in 
some non-architecture files, such as /include/linux/sched.h and several arch
files,
 but they do little about wrapping.  Why ARM can't support 
(CLONE_PARENT_SETTID | CLONE_CHILD_CLEARTID)? 

any comments? thanks a lot. 

  Boris
=========================
To know what I don't know
To learn what I don't know
To contribute what I know
=========================




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-11 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-10 18:49 problem about CLONE_PARENT_SETTID | CLONE_CHILD_CLEARTID ? Hu, Boris
2002-12-10 19:01 ` Ulrich Drepper
2002-12-11 16:22   ` Roger Gammans

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.