lxc_clone: add a comment about stack size

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
This commit is contained in:
Tycho Andersen 2019-05-29 09:36:51 -06:00
parent 18a405ee88
commit edb808d130

View File

@ -42,6 +42,10 @@
lxc_log_define(namespace, lxc);
/*
* Let's use the "standard stack limit" (i.e. glibc thread size default) for
* stack sizes: 8MB.
*/
#define __LXC_STACK_SIZE (8 * 1024 * 1024)
pid_t lxc_clone(int (*fn)(void *), void *arg, int flags, int *pidfd)
{