chiark / gitweb /
nspawn: fix invocation of the raw clone() system call on s390 and cris
authorKen Werner <ken@linux.vnet.ibm.com>
Tue, 16 Dec 2014 17:06:41 +0000 (18:06 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Dec 2014 05:20:56 +0000 (00:20 -0500)
commit60e1651a31c9c0ed1caef1a63f5e3a87156b0b1e
tree626f620b4862c64a3a2ee1d2d0a5d0ad47681f46
parentef686ae230c55124e3efdc7d756fb1931e10aef4
nspawn: fix invocation of the raw clone() system call on s390 and cris

Since the order of the first and second arguments of the raw clone() system
call is reversed on s390 and cris it needs to be invoked differently.
src/nspawn/nspawn.c
src/shared/missing.h