lxc_clone: bump stack size to 8MB

This is the default thread size for glibc, so it is reasonable to match
that when we clone().

Mostly this is a science experiment suggested by brauner, and who doesn't
love science?

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
This commit is contained in:
Tycho Andersen 2019-05-29 08:47:35 -06:00
parent 5e7b4b3c16
commit 3df90604ec

View File

@ -42,7 +42,7 @@
lxc_log_define(namespace, lxc);
#define __LXC_STACK_SIZE 4096
#define __LXC_STACK_SIZE (8 * 1024 * 1024)
pid_t lxc_clone(int (*fn)(void *), void *arg, int flags, int *pidfd)
{
pid_t ret;