Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit d6cd7ce

Browse files
committed
define PR_SET_CHILD_SUBREAPER if not set
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
1 parent 43842ef commit d6cd7ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

namespaces/nsenter/nsenter.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#include <unistd.h>
1616
#include <getopt.h>
1717

18+
#ifndef PR_SET_CHILD_SUBREAPER
19+
#define PR_SET_CHILD_SUBREAPER 36
20+
#endif
21+
1822
static const kBufSize = 256;
1923
static const char *kNsEnter = "nsenter";
2024

0 commit comments

Comments
 (0)