summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-02-22 21:24:29 +0000
committer Eric Hameleers <alien@slackware.com>2022-02-23 06:59:41 +0100
commitcd1ecf258bacc64f59cb86fc762c0e97ed06611c (patch)
tree46cd3ed67f78a3f3ca92172f91b769363041721c
parent32fa88b60c4d872b057e9e7651b351d54affa40e (diff)
downloadcurrent-20220222212429.tar.gz
current-20220222212429.tar.xz
Tue Feb 22 21:24:29 UTC 202220220222212429
a/aaa_glibc-solibs-2.35-x86_64-2.txz: Rebuilt. l/glibc-2.35-x86_64-2.txz: Rebuilt. Disable clone3() unless built with -DSLACKWARE_USE_CLONE3, since this is causing sandbox failures with applications using Electron (and others). Thanks to Sam James of Gentoo for the patch. Unfortunately, this doesn't solve the issues with kmail/falkon/konqueror, but we'll keep testing glibc-2.35 for now. l/glibc-i18n-2.35-x86_64-2.txz: Rebuilt. l/glibc-profile-2.35-x86_64-2.txz: Rebuilt.
-rw-r--r--ChangeLog.rss23
-rw-r--r--ChangeLog.txt11
-rw-r--r--FILELIST.TXT75
-rwxr-xr-xrecompress.sh1
-rwxr-xr-xsource/l/glibc/glibc.SlackBuild2
-rw-r--r--source/l/glibc/patches/0011-clone-internal.c-make-clone3-syscall-optional.patch50
6 files changed, 122 insertions, 40 deletions
diff --git a/ChangeLog.rss b/ChangeLog.rss
index a9e7491b9..0ef8fc056 100644
--- a/ChangeLog.rss
+++ b/ChangeLog.rss
@@ -11,10 +11,29 @@
<description>Tracking Slackware development in git.</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
- <pubDate>Mon, 21 Feb 2022 20:21:38 GMT</pubDate>
- <lastBuildDate>Tue, 22 Feb 2022 05:59:43 GMT</lastBuildDate>
+ <pubDate>Tue, 22 Feb 2022 21:24:29 GMT</pubDate>
+ <lastBuildDate>Wed, 23 Feb 2022 05:59:40 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator>
<item>
+ <title>Tue, 22 Feb 2022 21:24:29 GMT</title>
+ <pubDate>Tue, 22 Feb 2022 21:24:29 GMT</pubDate>
+ <link>https://git.slackware.nl/current/tag/?h=20220222212429</link>
+ <guid isPermaLink="false">20220222212429</guid>
+ <description>
+ <![CDATA[<pre>
+a/aaa_glibc-solibs-2.35-x86_64-2.txz: Rebuilt.
+l/glibc-2.35-x86_64-2.txz: Rebuilt.
+ Disable clone3() unless built with -DSLACKWARE_USE_CLONE3, since this is
+ causing sandbox failures with applications using Electron (and others).
+ Thanks to Sam James of Gentoo for the patch.
+ Unfortunately, this doesn't solve the issues with kmail/falkon/konqueror,
+ but we'll keep testing glibc-2.35 for now.
+l/glibc-i18n-2.35-x86_64-2.txz: Rebuilt.
+l/glibc-profile-2.35-x86_64-2.txz: Rebuilt.
+ </pre>]]>
+ </description>
+ </item>
+ <item>
<title>Mon, 21 Feb 2022 20:21:38 GMT</title>
<pubDate>Mon, 21 Feb 2022 20:21:38 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20220221202138</link>
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 8bf6c6768..35a83dad5 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,14 @@
+Tue Feb 22 21:24:29 UTC 2022
+a/aaa_glibc-solibs-2.35-x86_64-2.txz: Rebuilt.
+l/glibc-2.35-x86_64-2.txz: Rebuilt.
+ Disable clone3() unless built with -DSLACKWARE_USE_CLONE3, since this is
+ causing sandbox failures with applications using Electron (and others).
+ Thanks to Sam James of Gentoo for the patch.
+ Unfortunately, this doesn't solve the issues with kmail/falkon/konqueror,
+ but we'll keep testing glibc-2.35 for now.
+l/glibc-i18n-2.35-x86_64-2.txz: Rebuilt.
+l/glibc-profile-2.35-x86_64-2.txz: Rebuilt.
++--------------------------+
Mon Feb 21 20:21:38 UTC 2022
a/aaa_glibc-solibs-2.35-x86_64-1.txz: Upgraded.
a/kernel-firmware-20220218_c53073d-noarch-1.txz: Upgraded.
diff --git a/FILELIST.TXT b/FILELIST.TXT
index 1c66213b1..47af750f8 100644
--- a/FILELIST.TXT
+++ b/FILELIST.TXT
@@ -1,20 +1,20 @@
-Mon Feb 21 20:27:14 UTC 2022
+Tue Feb 22 21:27:39 UTC 2022
Here is the file list for this directory. If you are using a
mirror site and find missing or extra files in the disk
subdirectories, please have the archive administrator refresh
the mirror.
-drwxr-xr-x 12 root root 4096 2022-02-21 20:21 .
+drwxr-xr-x 12 root root 4096 2022-02-22 21:24 .
-rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0
-rw-r--r-- 1 root root 16617 2022-02-02 23:27 ./CHANGES_AND_HINTS.TXT
--rw-r--r-- 1 root root 1095550 2022-02-20 05:20 ./CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2022-02-20 05:20 ./CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 1095787 2022-02-21 20:27 ./CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2022-02-21 20:27 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING
-rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3
-rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT
-rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT
--rw-r--r-- 1 root root 34420 2022-02-21 20:21 ./ChangeLog.txt
+-rw-r--r-- 1 root root 34967 2022-02-22 21:24 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
drwxr-xr-x 2 root root 4096 2022-02-21 20:14 ./EFI/BOOT
-rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi
@@ -25,9 +25,9 @@ drwxr-xr-x 2 root root 4096 2022-02-21 20:14 ./EFI/BOOT
-rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh
-rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg
-rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg
--rw-r--r-- 1 root root 1426027 2022-02-20 05:19 ./FILELIST.TXT
+-rw-r--r-- 1 root root 1426316 2022-02-21 20:27 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
--rw-r--r-- 1 root root 864747 2022-02-21 20:26 ./PACKAGES.TXT
+-rw-r--r-- 1 root root 864747 2022-02-22 21:27 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT
-rw-r--r-- 1 root root 3635 2022-02-18 05:17 ./README.initrd
-rw-r--r-- 1 root root 34162 2022-01-30 20:35 ./README_CRYPT.TXT
@@ -743,19 +743,19 @@ drwxr-xr-x 2 root root 4096 2022-02-03 07:02 ./patches
-rw-r--r-- 1 root root 575 2022-02-03 07:02 ./patches/FILE_LIST
-rw-r--r-- 1 root root 14 2022-02-03 07:02 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 224 2022-02-03 07:02 ./patches/PACKAGES.TXT
-drwxr-xr-x 17 root root 4096 2022-02-21 20:26 ./slackware64
--rw-r--r-- 1 root root 337495 2022-02-21 20:26 ./slackware64/CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2022-02-21 20:26 ./slackware64/CHECKSUMS.md5.asc
--rw-r--r-- 1 root root 418554 2022-02-21 20:25 ./slackware64/FILE_LIST
--rw-r--r-- 1 root root 4227030 2022-02-21 20:25 ./slackware64/MANIFEST.bz2
+drwxr-xr-x 17 root root 4096 2022-02-22 21:27 ./slackware64
+-rw-r--r-- 1 root root 337495 2022-02-22 21:27 ./slackware64/CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2022-02-22 21:27 ./slackware64/CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 418554 2022-02-22 21:26 ./slackware64/FILE_LIST
+-rw-r--r-- 1 root root 4219851 2022-02-22 21:26 ./slackware64/MANIFEST.bz2
lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT
-drwxr-xr-x 2 root root 32768 2022-02-21 20:25 ./slackware64/a
+drwxr-xr-x 2 root root 32768 2022-02-22 21:26 ./slackware64/a
-rw-r--r-- 1 root root 327 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txt
-rw-r--r-- 1 root root 10720 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txz.asc
--rw-r--r-- 1 root root 371 2022-02-20 21:43 ./slackware64/a/aaa_glibc-solibs-2.35-x86_64-1.txt
--rw-r--r-- 1 root root 2851648 2022-02-20 21:43 ./slackware64/a/aaa_glibc-solibs-2.35-x86_64-1.txz
--rw-r--r-- 1 root root 163 2022-02-20 21:43 ./slackware64/a/aaa_glibc-solibs-2.35-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 371 2022-02-22 21:10 ./slackware64/a/aaa_glibc-solibs-2.35-x86_64-2.txt
+-rw-r--r-- 1 root root 2857924 2022-02-22 21:10 ./slackware64/a/aaa_glibc-solibs-2.35-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2022-02-22 21:10 ./slackware64/a/aaa_glibc-solibs-2.35-x86_64-2.txz.asc
-rw-r--r-- 1 root root 413 2022-01-30 20:38 ./slackware64/a/aaa_libraries-15.0-x86_64-19.txt
-rw-r--r-- 1 root root 10259932 2022-01-30 20:38 ./slackware64/a/aaa_libraries-15.0-x86_64-19.txz
-rw-r--r-- 1 root root 163 2022-01-30 20:38 ./slackware64/a/aaa_libraries-15.0-x86_64-19.txz.asc
@@ -2741,7 +2741,7 @@ drwxr-xr-x 2 root root 86016 2022-02-21 20:25 ./slackware64/kde
-rw-r--r-- 1 root root 296 2022-02-08 05:07 ./slackware64/kde/zeroconf-ioslave-21.12.2-x86_64-1.txt
-rw-r--r-- 1 root root 50224 2022-02-08 05:07 ./slackware64/kde/zeroconf-ioslave-21.12.2-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-02-08 05:07 ./slackware64/kde/zeroconf-ioslave-21.12.2-x86_64-1.txz.asc
-drwxr-xr-x 2 root root 86016 2022-02-21 20:25 ./slackware64/l
+drwxr-xr-x 2 root root 86016 2022-02-22 21:26 ./slackware64/l
-rw-r--r-- 1 root root 329 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txt
-rw-r--r-- 1 root root 928148 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txz
-rw-r--r-- 1 root root 163 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txz.asc
@@ -2991,15 +2991,15 @@ drwxr-xr-x 2 root root 86016 2022-02-21 20:25 ./slackware64/l
-rw-r--r-- 1 root root 407 2022-02-11 19:08 ./slackware64/l/glib2-2.70.4-x86_64-1.txt
-rw-r--r-- 1 root root 4045760 2022-02-11 19:08 ./slackware64/l/glib2-2.70.4-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-02-11 19:08 ./slackware64/l/glib2-2.70.4-x86_64-1.txz.asc
--rw-r--r-- 1 root root 313 2022-02-20 21:43 ./slackware64/l/glibc-2.35-x86_64-1.txt
--rw-r--r-- 1 root root 5416180 2022-02-20 21:43 ./slackware64/l/glibc-2.35-x86_64-1.txz
--rw-r--r-- 1 root root 163 2022-02-20 21:43 ./slackware64/l/glibc-2.35-x86_64-1.txz.asc
--rw-r--r-- 1 root root 353 2022-02-20 21:43 ./slackware64/l/glibc-i18n-2.35-x86_64-1.txt
--rw-r--r-- 1 root root 12042532 2022-02-20 21:43 ./slackware64/l/glibc-i18n-2.35-x86_64-1.txz
--rw-r--r-- 1 root root 163 2022-02-20 21:43 ./slackware64/l/glibc-i18n-2.35-x86_64-1.txz.asc
--rw-r--r-- 1 root root 507 2022-02-20 21:43 ./slackware64/l/glibc-profile-2.35-x86_64-1.txt
--rw-r--r-- 1 root root 1577588 2022-02-20 21:43 ./slackware64/l/glibc-profile-2.35-x86_64-1.txz
--rw-r--r-- 1 root root 163 2022-02-20 21:43 ./slackware64/l/glibc-profile-2.35-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 313 2022-02-22 21:10 ./slackware64/l/glibc-2.35-x86_64-2.txt
+-rw-r--r-- 1 root root 5419264 2022-02-22 21:10 ./slackware64/l/glibc-2.35-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2022-02-22 21:10 ./slackware64/l/glibc-2.35-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 353 2022-02-22 21:10 ./slackware64/l/glibc-i18n-2.35-x86_64-2.txt
+-rw-r--r-- 1 root root 12038676 2022-02-22 21:10 ./slackware64/l/glibc-i18n-2.35-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2022-02-22 21:10 ./slackware64/l/glibc-i18n-2.35-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 507 2022-02-22 21:10 ./slackware64/l/glibc-profile-2.35-x86_64-2.txt
+-rw-r--r-- 1 root root 1578976 2022-02-22 21:10 ./slackware64/l/glibc-profile-2.35-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2022-02-22 21:10 ./slackware64/l/glibc-profile-2.35-x86_64-2.txz.asc
-rw-r--r-- 1 root root 358 2021-02-13 06:37 ./slackware64/l/glibmm-2.64.5-x86_64-3.txt
-rw-r--r-- 1 root root 1012844 2021-02-13 06:37 ./slackware64/l/glibmm-2.64.5-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 06:37 ./slackware64/l/glibmm-2.64.5-x86_64-3.txz.asc
@@ -5609,11 +5609,11 @@ drwxr-xr-x 2 root root 4096 2021-02-15 19:33 ./slackware64/y
-rw-r--r-- 1 root root 1486956 2021-02-13 13:56 ./slackware64/y/nethack-3.6.6-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:56 ./slackware64/y/nethack-3.6.6-x86_64-3.txz.asc
-rw-r--r-- 1 root root 26 2020-12-30 21:55 ./slackware64/y/tagfile
-drwxr-xr-x 18 root root 4096 2022-02-21 20:27 ./source
--rw-r--r-- 1 root root 583427 2022-02-21 20:27 ./source/CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2022-02-21 20:27 ./source/CHECKSUMS.md5.asc
--rw-r--r-- 1 root root 811902 2022-02-21 20:27 ./source/FILE_LIST
--rw-r--r-- 1 root root 23505646 2022-02-21 20:27 ./source/MANIFEST.bz2
+drwxr-xr-x 18 root root 4096 2022-02-22 21:27 ./source
+-rw-r--r-- 1 root root 583539 2022-02-22 21:27 ./source/CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2022-02-22 21:27 ./source/CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 812029 2022-02-22 21:27 ./source/FILE_LIST
+-rw-r--r-- 1 root root 23513260 2022-02-22 21:27 ./source/MANIFEST.bz2
-rw-r--r-- 1 root root 828 2022-02-02 04:43 ./source/README.TXT
drwxr-xr-x 122 root root 4096 2022-02-15 18:16 ./source/a
-rw-r--r-- 1 root root 111 2022-02-07 20:58 ./source/a/FTBFSlog
@@ -10151,10 +10151,11 @@ drwxr-xr-x 4 root root 4096 2022-02-20 21:25 ./source/l/glibc
-rw-r--r-- 1 root root 18165952 2022-02-03 06:35 ./source/l/glibc/glibc-2.35.tar.xz
-rw-r--r-- 1 root root 833 2022-02-03 06:35 ./source/l/glibc/glibc-2.35.tar.xz.sig
-rwxr-xr-x 1 root root 174 2004-08-09 06:21 ./source/l/glibc/glibc-cvs-checkout.sh
--rwxr-xr-x 1 root root 17906 2022-02-13 01:41 ./source/l/glibc/glibc.SlackBuild
+-rwxr-xr-x 1 root root 17906 2022-02-22 21:06 ./source/l/glibc/glibc.SlackBuild
-rw-r--r-- 1 root root 312 2019-02-16 20:06 ./source/l/glibc/glibc.locale.no-archive.diff.gz
-rw-r--r-- 1 root root 213 2006-08-22 06:33 ./source/l/glibc/glibc.ru_RU.CP1251.diff.gz
-drwxr-xr-x 2 root root 4096 2022-02-12 18:56 ./source/l/glibc/patches
+drwxr-xr-x 2 root root 4096 2022-02-22 21:05 ./source/l/glibc/patches
+-rw-r--r-- 1 root root 1097 2022-02-22 19:30 ./source/l/glibc/patches/0011-clone-internal.c-make-clone3-syscall-optional.patch.gz
drwxr-xr-x 2 root root 4096 2006-09-14 06:32 ./source/l/glibc/profile.d
-rwxr-xr-x 1 root root 328 2011-03-27 21:19 ./source/l/glibc/profile.d/glibc.csh.new
-rwxr-xr-x 1 root root 325 2006-09-14 08:26 ./source/l/glibc/profile.d/glibc.sh.new
@@ -11955,10 +11956,10 @@ drwxr-xr-x 2 root root 4096 2021-05-29 17:22 ./source/n/dhcp
-rw-r--r-- 1 root root 833 2021-05-26 20:15 ./source/n/dhcp/dhcp-4.4.2-P1.tar.gz.sha512.asc
-rwxr-xr-x 1 root root 1667 2011-04-06 19:13 ./source/n/dhcp/dhcp-remove-bind-tarball.sh
-rwxr-xr-x 1 root root 5716 2021-05-29 17:23 ./source/n/dhcp/dhcp.SlackBuild
--rw-r--r-- 1 root root 28 2020-01-22 18:55 ./source/n/dhcp/dhcp.url
--rw-r--r-- 1 root root 309 2011-03-24 13:39 ./source/n/dhcp/doinst.sh.gz
--rw-r--r-- 1 root root 1093 2018-02-27 06:13 ./source/n/dhcp/slack-desc
-drwxr-xr-x 3 root root 4096 2021-10-24 17:58 ./source/n/dhcpcd
+-rw-r--r-- 1 root root 28 2020-01-22 18:55 ./source/n/dhcp/dhcp.url
+-rw-r--r-- 1 root root 309 2011-03-24 13:39 ./source/n/dhcp/doinst.sh.gz
+-rw-r--r-- 1 root root 1093 2018-02-27 06:13 ./source/n/dhcp/slack-desc
+drwxr-xr-x 3 root root 4096 2021-10-24 17:58 ./source/n/dhcpcd
-rw-r--r-- 1 root root 257092 2021-10-22 12:05 ./source/n/dhcpcd/dhcpcd-9.4.1.tar.xz
-rw-r--r-- 1 root root 96 2021-10-22 12:05 ./source/n/dhcpcd/dhcpcd-9.4.1.tar.xz.distinfo
-rw-r--r-- 1 root root 669 2021-10-22 12:05 ./source/n/dhcpcd/dhcpcd-9.4.1.tar.xz.distinfo.asc
diff --git a/recompress.sh b/recompress.sh
index 9df5c11f8..ca27edccd 100755
--- a/recompress.sh
+++ b/recompress.sh
@@ -706,6 +706,7 @@ gzip ./source/t/xfig/xfig.no.pdf.ref.diff
gzip ./source/t/xfig/xfig.fig.ad.diff
gzip ./source/l/glibc/glibc.ru_RU.CP1251.diff
gzip ./source/l/glibc/glibc.locale.no-archive.diff
+gzip ./source/l/glibc/patches/0011-clone-internal.c-make-clone3-syscall-optional.patch
gzip ./source/l/glibc/glibc-2.32.en_US.no.am.pm.date.format.diff
gzip ./source/l/fuse/fuse2-0007-util-ulockmgr_server.c-conditionally-define-closefro.patch
gzip ./source/l/fuse/doinst.sh
diff --git a/source/l/glibc/glibc.SlackBuild b/source/l/glibc/glibc.SlackBuild
index f1eb962f8..551276a55 100755
--- a/source/l/glibc/glibc.SlackBuild
+++ b/source/l/glibc/glibc.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=glibc
VERSION=${VERSION:-$(echo glibc-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
CHECKOUT=${CHECKOUT:-""}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# I was considering disabling NSCD, but MoZes talked me out of it. :)
#DISABLE_NSCD=" --disable-nscd "
diff --git a/source/l/glibc/patches/0011-clone-internal.c-make-clone3-syscall-optional.patch b/source/l/glibc/patches/0011-clone-internal.c-make-clone3-syscall-optional.patch
new file mode 100644
index 000000000..661cd770f
--- /dev/null
+++ b/source/l/glibc/patches/0011-clone-internal.c-make-clone3-syscall-optional.patch
@@ -0,0 +1,50 @@
+From 06b01dfa4e29b5a6838dd9050f3e9418c5dc77f5 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Wed, 1 Dec 2021 14:58:40 +0000
+Subject: [PATCH 11/29] clone-internal.c: make clone3 syscall optional
+
+[MODIFIED FOR SLACKWARE]
+
+We're disabling clone3 for now _CONDITIONALLY_ (not by default) to allow
+compatibility with applications using older Electron.
+
+Use -DSLACKWARE_USE_CLONE3 to enable clone3 for now. In future, we will
+revert back to always using clone3.
+
+This was impacting e.g. Discord and Skype. This patch stops glibc from using
+clone3 internally (which is the only real use of it) and falls back to the old
+behaviour.
+
+Specifically, we want https://github.com/electron/electron/pull/31091
+to work its way downstream to various Electron applications.
+
+https://bugs.gentoo.org/819045
+https://bugs.gentoo.org/827386
+
+https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/glibc/plain/debian/patches/ubuntu/disable-clone3.patch
+
+This is the same as the patch that was considered but ultimately rejected
+for 2.34 because Docker got sorted out in time:
+https://patchwork.ozlabs.org/project/glibc/patch/87eebkf8ph.fsf@oldenburg.str.redhat.com/.
+
+Signed-off-by: Sam James <sam@gentoo.org>
+---
+ sysdeps/unix/sysv/linux/clone-internal.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c
+index a71effcbd3..60efe1f453 100644
+--- a/sysdeps/unix/sysv/linux/clone-internal.c
++++ b/sysdeps/unix/sysv/linux/clone-internal.c
+@@ -48,7 +48,7 @@ __clone_internal (struct clone_args *cl_args,
+ int (*func) (void *arg), void *arg)
+ {
+ int ret;
+-#ifdef HAVE_CLONE3_WRAPPER
++#if defined(HAVE_CLONE3_WRAPPER) && defined(SLACKWARE_USE_CLONE3)
+ /* Try clone3 first. */
+ int saved_errno = errno;
+ ret = __clone3 (cl_args, sizeof (*cl_args), func, arg);
+--
+2.34.1
+