[PATCH v2 23/46] fork: Use clone if arch does not have the fork syscall

Vineet Gupta Vineet.Gupta1 at synopsys.com
Tue Nov 27 08:50:41 UTC 2012


On Monday 26 November 2012 07:54 PM, Markos Chandras wrote:
> From: Markos Chandras <markos.chandras at imgtec.com>
> 
> Signed-off-by: Markos Chandras <markos.chandras at imgtec.com>
> ---
>  libc/sysdeps/linux/common/fork.c  | 17 ++++++++++++++++-
>  libc/sysdeps/linux/common/stubs.c |  2 +-
>  2 files changed, 17 insertions(+), 2 deletions(-)
> 
> diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
> index 14e00a2..7322581 100644
> --- a/libc/sysdeps/linux/common/fork.c
> +++ b/libc/sysdeps/linux/common/fork.c
> @@ -9,10 +9,25 @@
>  
>  #include <sys/syscall.h>
>  #include <unistd.h>
> +#include <unistd.h>

nit - copy/paste error ?



More information about the uClibc mailing list