summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_clone.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_clone.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_clone.h b/src/nxt_clone.h
index c2066ce6..e89fd82d 100644
--- a/src/nxt_clone.h
+++ b/src/nxt_clone.h
@@ -42,6 +42,9 @@ pid_t nxt_clone(nxt_int_t flags);
#if (NXT_HAVE_CLONE_NEWUSER)
+#define NXT_CLONE_MNT(flags) \
+ ((flags & CLONE_NEWNS) == CLONE_NEWNS)
+
NXT_EXPORT nxt_int_t nxt_clone_credential_map(nxt_task_t *task, pid_t pid,
nxt_credential_t *creds, nxt_clone_t *clone);
NXT_EXPORT nxt_int_t nxt_clone_vldt_credential_uidmap(nxt_task_t *task,