[systemd-devel] systemd-nspawn doesn't work on s390

Ken Werner ken at linux.vnet.ibm.com
Sun Dec 14 23:01:20 PST 2014


From: Ken Werner <ken at linux.vnet.ibm.com>

Hi there,

It appears that systemd-nspawn doesn't work on s390 (and cris probably). The clone() fails because the signature of the raw system call is slightly different on these architectures. Since the order of the first and second arguments is reversed it gets invoked with a bogus value of the child_stack pointer. The following patch attempts to fix this. Any comments are appreciated.

Regards,
Ken

Ken Werner (1):
  nspawn: fix invocation of the raw clone() system call on s390 and
    cris

 src/nspawn/nspawn.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)



More information about the systemd-devel mailing list