diff options
| author | David 'Digit' Turner <digit@google.com> | 2010-01-22 18:59:05 -0800 |
|---|---|---|
| committer | David 'Digit' Turner <digit@google.com> | 2010-01-25 11:18:30 -0800 |
| commit | 97cf7f3394780d524038fc083e2c134031b54728 (patch) | |
| tree | 40b61956bbe4d28babe839c3be40e9f114810e5f /libc/include/sys | |
| parent | 1a2917ca954f575cc9698c99e54bd93087793c8f (diff) | |
| download | bionic-97cf7f3394780d524038fc083e2c134031b54728.zip bionic-97cf7f3394780d524038fc083e2c134031b54728.tar.gz bionic-97cf7f3394780d524038fc083e2c134031b54728.tar.bz2 | |
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).
Diffstat (limited to 'libc/include/sys')
| -rw-r--r-- | libc/include/sys/linux-unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sys/linux-unistd.h b/libc/include/sys/linux-unistd.h index 12f7704..9a151d2 100644 --- a/libc/include/sys/linux-unistd.h +++ b/libc/include/sys/linux-unistd.h @@ -10,7 +10,7 @@ void _exit_thread (int); pid_t __fork (void); pid_t _waitpid (pid_t, int*, int, struct rusage*); int waitid (int, pid_t, struct siginfo_t*, int,void*); -pid_t __clone (int (*fn)(void*), void *child_stack, int flags, void *arg); +pid_t __sys_clone (int, void*, int*, void*, int*); int execve (const char*, char* const*, char* const*); int setuid (uid_t); uid_t getuid (void); |
