Blame SOURCES/libffi-3.1-rh2014228.patch

f13088
diff -rup a/src/closures.c b/src/closures.c
f13088
--- a/src/closures.c	2022-11-16 15:27:45.632725415 -0500
f13088
+++ b/src/closures.c	2022-11-18 13:56:17.948172306 -0500
f13088
@@ -140,6 +140,9 @@ selinux_enabled_check (void)
f13088
   char *buf = NULL;
f13088
   size_t len = 0;
f13088
 
f13088
+  if (access ("/etc/sysconfig/libffi-force-shared-memory-check-first", F_OK) >= 0)
f13088
+    return 0;
f13088
+
f13088
   if (statfs ("/selinux", &sfs) >= 0
f13088
       && (unsigned int) sfs.f_type == 0xf97cff8cU)
f13088
     return 1;