[LTP] [PATCH 2/2] lib/cloner.c: Use __clone instead of clone for s390
Jan Stancek
jstancek@redhat.com
Fri May 8 16:20:14 CEST 2020
----- Original Message -----
> The kernel sys_clone and s390 glibc entry __clone assume
> the flags parameter type as unsigned long. However, the
> glibc clone wrapper used by ltp_clone helper defines flags
> as signed int. That leads to gcc extending CLONE_IO flag of
> 0x80000000 value to 0xffffffff80000000.
Same problem exists on ppc64le. There's a patch proposed to fix this on
kernel side:
https://lore.kernel.org/lkml/20200507103214.77218-1-christian.brauner@ubuntu.com/
Earlier discussion is here:
https://sourceware.org/pipermail/libc-alpha/2020-May/113596.html
More information about the ltp
mailing list