mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
767 B
Diff
31 lines
767 B
Diff
|
From ff59e06f9423af0532aaeedf931474823f764875 Mon Sep 17 00:00:00 2001
|
||
|
From: Dave Reisner <dreisner@archlinux.org>
|
||
|
Date: Wed, 9 Nov 2016 08:00:26 -0500
|
||
|
Subject: [PATCH] disable RestrictAddressFamilies on i686
|
||
|
|
||
|
Shit's broke, yo.
|
||
|
|
||
|
https://github.com/systemd/systemd/issues/4575
|
||
|
---
|
||
|
src/core/execute.c | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/src/core/execute.c b/src/core/execute.c
|
||
|
index f666f7c..7d09154 100644
|
||
|
--- a/src/core/execute.c
|
||
|
+++ b/src/core/execute.c
|
||
|
@@ -1254,6 +1254,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="))
|
||
|
--
|
||
|
2.10.2
|
||
|
|