Blame SOURCES/2004-glibc-msgctl-semctl-shmctl-backport-workaround.patch

0e3ee4
Index: strace-5.12/tests/ipc_msg.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests/ipc_msg.c	2021-05-18 13:30:38.440896349 +0200
0e3ee4
+++ strace-5.12/tests/ipc_msg.c	2021-05-18 13:30:04.628198661 +0200
0e3ee4
@@ -55,8 +55,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-149-gbe9b0b9a012780a403a2,
0e3ee4
  * glibc skips msgctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid msgctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_MSGCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4
 
0e3ee4
Index: strace-5.12/tests/ipc_shm.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests/ipc_shm.c	2021-05-18 13:30:22.373040008 +0200
0e3ee4
+++ strace-5.12/tests/ipc_shm.c	2021-05-18 13:30:00.835232573 +0200
0e3ee4
@@ -45,8 +45,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-207-g9ebaabeaac1a96b0d91f,
0e3ee4
  * glibc skips shmctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid shmctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_SHMCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4
 
0e3ee4
Index: strace-5.12/tests/ipc_sem.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests/ipc_sem.c	2020-12-31 09:00:00.000000000 +0100
0e3ee4
+++ strace-5.12/tests/ipc_sem.c	2021-05-18 13:56:51.453832392 +0200
0e3ee4
@@ -27,8 +27,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-147-ga16d2abd496bd974a882,
0e3ee4
  * glibc skips semctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid semctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_SEMCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4
 
0e3ee4
Index: strace-5.12/tests-m32/ipc_msg.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests-m32/ipc_msg.c	2021-05-18 13:30:38.440896349 +0200
0e3ee4
+++ strace-5.12/tests-m32/ipc_msg.c	2021-05-18 13:30:04.628198661 +0200
0e3ee4
@@ -55,8 +55,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-149-gbe9b0b9a012780a403a2,
0e3ee4
  * glibc skips msgctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid msgctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_MSGCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4
 
0e3ee4
Index: strace-5.12/tests-m32/ipc_shm.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests-m32/ipc_shm.c	2021-05-18 13:30:22.373040008 +0200
0e3ee4
+++ strace-5.12/tests-m32/ipc_shm.c	2021-05-18 13:30:00.835232573 +0200
0e3ee4
@@ -45,8 +45,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-207-g9ebaabeaac1a96b0d91f,
0e3ee4
  * glibc skips shmctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid shmctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_SHMCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4
 
0e3ee4
Index: strace-5.12/tests-m32/ipc_sem.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests-m32/ipc_sem.c	2020-12-31 09:00:00.000000000 +0100
0e3ee4
+++ strace-5.12/tests-m32/ipc_sem.c	2021-05-18 13:56:51.453832392 +0200
0e3ee4
@@ -27,8 +27,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-147-ga16d2abd496bd974a882,
0e3ee4
  * glibc skips semctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid semctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_SEMCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4
 
0e3ee4
Index: strace-5.12/tests-mx32/ipc_msg.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests-mx32/ipc_msg.c	2021-05-18 13:30:38.440896349 +0200
0e3ee4
+++ strace-5.12/tests-mx32/ipc_msg.c	2021-05-18 13:30:04.628198661 +0200
0e3ee4
@@ -55,8 +55,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-149-gbe9b0b9a012780a403a2,
0e3ee4
  * glibc skips msgctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid msgctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_MSGCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4
 
0e3ee4
Index: strace-5.12/tests-mx32/ipc_shm.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests-mx32/ipc_shm.c	2021-05-18 13:30:22.373040008 +0200
0e3ee4
+++ strace-5.12/tests-mx32/ipc_shm.c	2021-05-18 13:30:00.835232573 +0200
0e3ee4
@@ -45,8 +45,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-207-g9ebaabeaac1a96b0d91f,
0e3ee4
  * glibc skips shmctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid shmctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_SHMCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4
 
0e3ee4
Index: strace-5.12/tests-mx32/ipc_sem.c
0e3ee4
===================================================================
0e3ee4
--- strace-5.12.orig/tests-mx32/ipc_sem.c	2020-12-31 09:00:00.000000000 +0100
0e3ee4
+++ strace-5.12/tests-mx32/ipc_sem.c	2021-05-18 13:56:51.453832392 +0200
0e3ee4
@@ -27,8 +27,9 @@
0e3ee4
  * Starting with commit glibc-2.32.9000-147-ga16d2abd496bd974a882,
0e3ee4
  * glibc skips semctl syscall invocations and returns EINVAL
0e3ee4
  * for invalid semctl commands.
0e3ee4
+ * It has been backported into glic-2.28-153 in RHEL 8.5.
0e3ee4
  */
0e3ee4
-#if GLIBC_PREREQ_GE(2, 32)
0e3ee4
+#if GLIBC_PREREQ_GE(2, 28)
0e3ee4
 # define TEST_SEMCTL_BOGUS_CMD 0
0e3ee4
 #endif
0e3ee4