You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
558 B

10 years ago
We have patched the ndk header to include getsid().
diff -u -r ../busybox-1.29.1/libbb/missing_syscalls.c ./libbb/missing_syscalls.c
--- ../busybox-1.29.1/libbb/missing_syscalls.c 2018-07-02 11:23:06.000000000 +0000
+++ ./libbb/missing_syscalls.c 2018-07-22 23:12:25.751499056 +0000
@@ -10,10 +10,6 @@
10 years ago
#if defined(ANDROID) || defined(__ANDROID__)
/*# include <linux/timex.h> - for struct timex, but may collide with <time.h> */
# include <sys/syscall.h>
10 years ago
-pid_t getsid(pid_t pid)
-{
- return syscall(__NR_getsid, pid);
-}
10 years ago
int stime(const time_t *t)
{