OSDN Git Service

Implement clone() C library function properly.
authorDavid 'Digit' Turner <digit@google.com>
Sat, 23 Jan 2010 02:59:05 +0000 (18:59 -0800)
committerDavid 'Digit' Turner <digit@google.com>
Mon, 25 Jan 2010 19:18:30 +0000 (11:18 -0800)
commit97cf7f3394780d524038fc083e2c134031b54728
tree40b61956bbe4d28babe839c3be40e9f114810e5f
parent1a2917ca954f575cc9698c99e54bd93087793c8f
Implement clone() C library function properly.

Only provide an implementation for ARM at the moment, since
it requires specific assembly fragments (the standard syscall
stubs cannot be used because the child returns in a different
stack).
15 files changed:
libc/Android.mk
libc/SYSCALLS.TXT
libc/arch-arm/bionic/clone.S
libc/arch-arm/syscalls.mk
libc/arch-arm/syscalls/__sys_clone.S [moved from libc/arch-arm/syscalls/__clone.S with 51% similarity]
libc/arch-sh/bionic/clone.S
libc/arch-sh/syscalls.mk
libc/arch-sh/syscalls/__sys_clone.S [moved from libc/arch-sh/syscalls/__clone.S with 74% similarity]
libc/arch-x86/bionic/clone.S
libc/arch-x86/syscalls.mk
libc/arch-x86/syscalls/__sys_clone.S [moved from libc/arch-x86/syscalls/__clone.S with 64% similarity]
libc/bionic/bionic_clone.c [new file with mode: 0644]
libc/docs/CHANGES.TXT
libc/include/sched.h
libc/include/sys/linux-unistd.h