[Devel] [PATCH 1/1] define s390x signalfd for old headers

Serge E. Hallyn serue at us.ibm.com
Mon Mar 9 09:35:51 PDT 2009


define s390x signalfd for systems with headers which are too
old.

Signed-off-by: Serge Hallyn <serue at us.ibm.com>
---
 src/lxc/start.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/lxc/start.c b/src/lxc/start.c
index 410235c..476d695 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -51,6 +51,8 @@
 #      define __NR_signalfd4 327
 #    elif __x86_64__
 #      define __NR_signalfd4 289
+#    elif __s390x__
+#      define __NR_signalfd4 322
 #    endif
 #endif
 
@@ -60,6 +62,8 @@
 #      define __NR_signalfd 321
 #    elif __x86_64__
 #      define __NR_signalfd 282
+#    elif __s390x__
+#      define __NR_signalfd 316
 #    endif
 #endif
 
-- 
1.6.1.1

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list