termux-packages/packages/strace/ipc_shmctl.c.patch

14 lines
436 B
Diff

diff -uNr strace-4.24/ipc_shmctl.c strace-4.24.mod/ipc_shmctl.c
--- strace-4.24/ipc_shmctl.c 2017-05-22 20:33:51.000000000 +0300
+++ strace-4.24.mod/ipc_shmctl.c 2018-10-03 01:14:05.348152107 +0300
@@ -75,7 +75,9 @@
break;
}
+#ifndef __ANDROID__
tprintf(", key=%u", (unsigned) shmid_ds.shm_perm.__key);
+#endif
printuid(", cuid=", shmid_ds.shm_perm.cuid);
printuid(", cgid=", shmid_ds.shm_perm.cgid);
tprints("}");