| 1 | We have patched the ndk header to include getsid(). |
| 2 | |
| 3 | diff -u -r ../busybox-1.22.1/libbb/missing_syscalls.c ./libbb/missing_syscalls.c |
| 4 | --- ../busybox-1.22.1/libbb/missing_syscalls.c 2014-01-09 19:15:44.000000000 +0100 |
| 5 | +++ ./libbb/missing_syscalls.c 2014-07-08 15:57:13.545408937 +0200 |
| 6 | @@ -11,11 +11,6 @@ |
| 7 | #include "libbb.h" |
| 8 | |
| 9 | #if defined(ANDROID) || defined(__ANDROID__) |
| 10 | -pid_t getsid(pid_t pid) |
| 11 | -{ |
| 12 | - return syscall(__NR_getsid, pid); |
| 13 | -} |
| 14 | - |
| 15 | int stime(const time_t *t) |
| 16 | { |
| 17 | struct timeval tv; |