[lkml]   [1998]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: fork,clone,CLONE_VM prob.
On Fri, Sep 04, 1998 at 01:29:55AM +0200, Konstantin Muenning wrote:

> I have figured out that any combination of the clone-flags works
> except when using CLONE_VM. Even when using CLONE_VM, the call
> completes successful.

I think when using CLONE_VM both processes return with the same stack
and bad things happen.

You need some assembly here to fix this up, I think libpthreads does
it this way.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [W:0.048 / U:1.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site