mirror of
https://github.com/containers/podman.git
synced 2025-08-02 17:22:30 +08:00
Merge pull request #2543 from giuseppe/fix-rootless-s390x-cris
rootless: fix clone syscall on s390 and cris archs
This commit is contained in:
@ -32,7 +32,11 @@ syscall_setresgid (gid_t rgid, gid_t egid, gid_t sgid)
|
||||
static int
|
||||
syscall_clone (unsigned long flags, void *child_stack)
|
||||
{
|
||||
#if defined(__s390__) || defined(__CRIS__)
|
||||
return (int) syscall (__NR_clone, child_stack, flags);
|
||||
#else
|
||||
return (int) syscall (__NR_clone, flags, child_stack);
|
||||
#endif
|
||||
}
|
||||
|
||||
static char **
|
||||
|
Reference in New Issue
Block a user