define PR_SET_CHILD_SUBREAPER if not set
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com> (github: dqminh)
This commit is contained in:
parent
43842efecc
commit
d6cd7ce43f
|
@ -15,6 +15,10 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
||||||
|
#ifndef PR_SET_CHILD_SUBREAPER
|
||||||
|
#define PR_SET_CHILD_SUBREAPER 36
|
||||||
|
#endif
|
||||||
|
|
||||||
static const kBufSize = 256;
|
static const kBufSize = 256;
|
||||||
static const char *kNsEnter = "nsenter";
|
static const char *kNsEnter = "nsenter";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue