Merge "Allow setting supplementary GIDs directly."
diff --git a/util.c b/util.c
index 90ac9f0..3028c98 100644
--- a/util.c
+++ b/util.c
@@ -30,9 +30,19 @@
 #elif defined(__i386__)
 const char *log_syscalls[] = { "socketcall", "time" };
 #elif defined(__arm__)
+#if defined(__ANDROID__)
+const char *log_syscalls[] = { "clock_gettime", "connect", "fcntl64", "socket", "writev" };
+#else
 const char *log_syscalls[] = { "connect", "gettimeofday", "send" };
-#elif defined(__aarch64__) || defined(__powerpc__) || defined(__ia64__) || \
-      defined(__hppa__) || defined(__sparc__) || defined(__mips__)
+#endif
+#elif defined(__aarch64__)
+#if defined(__ANDROID__)
+const char *log_syscalls[] = { "connect", "fcntl", "sendto", "socket", "writev" };
+#else
+const char *log_syscalls[] = { "connect", "send" };
+#endif
+#elif defined(__powerpc__) || defined(__ia64__) || defined(__hppa__) \
+	|| defined(__sparc__) || defined(__mips__)
 const char *log_syscalls[] = { "connect", "send" };
 #else
 #error "Unsupported platform"