Merge pull request #3018 from tych0/comment-stack-size

lxc_clone: add a comment about stack size
This commit is contained in:
Christian Brauner 2019-05-29 17:38:23 +02:00 committed by GitHub
commit 3e8a11cb1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
{