[packages/systemd] - remove broken, obsolete patch (not needed and applies in wrong place)

baggins baggins at pld-linux.org
Thu Aug 29 02:28:05 CEST 2019


commit 4cbc463a3d778833081ffff47376313cebe3553d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Aug 29 02:28:04 2019 +0200

    - remove broken, obsolete patch (not needed and applies in wrong place)

 systemd-seccomp_disable_on_i386.patch | 25 -------------------------
 systemd.spec                          |  2 --
 2 files changed, 27 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index d1d2abc..4097057 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -76,7 +76,6 @@ Patch11:	optional-tmp-on-tmpfs.patch
 Patch12:	uids_gids.patch
 Patch13:	sysctl.patch
 Patch14:	pld-pam-%{name}-user.patch
-Patch15:	%{name}-seccomp_disable_on_i386.patch
 Patch16:	gcc9.patch
 URL:		https://www.freedesktop.org/wiki/Software/systemd/
 BuildRequires:	acl-devel
@@ -673,7 +672,6 @@ Uzupełnianie parametrów w zsh dla poleceń udev.
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
-%patch15 -p1
 %patch16 -p1
 
 cp -p %{SOURCE2} src/systemd_booted.c
diff --git a/systemd-seccomp_disable_on_i386.patch b/systemd-seccomp_disable_on_i386.patch
deleted file mode 100644
index ccc0c33..0000000
--- a/systemd-seccomp_disable_on_i386.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-commit e798dcbc24681f9516be4e18dfbe916cf9fa44bf
-Author: Dave Reisner <dreisner at archlinux.org>
-Date:   Wed Nov 9 08:00:26 2016 -0500
-
-    disable RestrictAddressFamilies on i686
-    
-    Shit's broke, yo.
-    
-    https://github.com/systemd/systemd/issues/4575
-
-diff --git a/src/core/execute.c b/src/core/execute.c
-index 8f06abf81..fb03b1b36 100644
---- a/src/core/execute.c
-+++ b/src/core/execute.c
-@@ -1329,6 +1329,10 @@ static int apply_address_families(const Unit* u, const ExecContext *c) {
-         Iterator i;
-         int r;
- 
-+#if defined(__i386__)
-+        return 0;
-+#endif
-+
-         assert(c);
- 
-         if (skip_seccomp_unavailable(u, "RestrictAddressFamilies="))
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/4cbc463a3d778833081ffff47376313cebe3553d



More information about the pld-cvs-commit mailing list