strace: fix patches

This commit is contained in:
Leonid Pliushch 2020-02-10 14:51:21 +02:00
parent 6c99401d15
commit 9c7459f76f
2 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,12 @@
diff -uNr strace-4.24/ipc_msgctl.c strace-4.24.mod/ipc_msgctl.c
--- strace-4.24/ipc_msgctl.c 2017-05-22 20:33:51.000000000 +0300
+++ strace-4.24.mod/ipc_msgctl.c 2018-10-03 01:14:05.344818748 +0300
@@ -75,7 +75,9 @@
--- strace-5.5/ipc_msgctl.c 2020-02-06 17:16:17.000000000 +0200
+++ strace-5.5.mod/ipc_msgctl.c 2020-02-10 14:43:26.826877446 +0200
@@ -48,8 +48,10 @@
break;
}
+#ifndef __ANDROID__
tprintf(", key=%u", (unsigned) msqid_ds.msg_perm.__key);
tprintf(", key=%u",
(unsigned) msqid_ds.msg_perm.NAME_OF_STRUCT_IPC_PERM_KEY);
+#endif
printuid(", cuid=", msqid_ds.msg_perm.cuid);
printuid(", cgid=", msqid_ds.msg_perm.cgid);

View File

@ -1,12 +1,12 @@
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 @@
--- strace-5.5/ipc_shmctl.c 2020-02-06 17:16:17.000000000 +0200
+++ strace-5.5.mod/ipc_shmctl.c 2020-02-10 14:45:51.122622049 +0200
@@ -48,8 +48,10 @@
break;
}
+#ifndef __ANDROID__
tprintf(", key=%u", (unsigned) shmid_ds.shm_perm.__key);
tprintf(", key=%u",
(unsigned) shmid_ds.shm_perm.NAME_OF_STRUCT_IPC_PERM_KEY);
+#endif
printuid(", cuid=", shmid_ds.shm_perm.cuid);
printuid(", cgid=", shmid_ds.shm_perm.cgid);