Re: One question about fork, vfork and clone

From: Arnd Bergmann
Date: Wed Jun 15 2005 - 03:45:36 EST


On Middeweken 15 Juni 2005 10:17, Roy Lee wrote:
> is this means the library calls no more wrap the sys_clone() for the
> three library call(fork,vfork,clone), but
> call the corresponding syscall? or it never did that?

The sys_vfork and sys_fork entry points are there so old libc versions
can still work. Some architectures that were added after sys_clone
was introduced wrongly copied this code, but new architectures that
get added should just provide sys_clone and have the other calls
implemented as wrappers in libc.

Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/