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

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