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

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