Searched defs:namespaces (Results 1 - 4 of 4) sorted by relevance

/lxc/src/python-lxc/examples/
H A Dapi_test.py123 namespaces=(lxc.CLONE_NEWUSER + lxc.CLONE_NEWNET variable
127 namespaces=(lxc.CLONE_NEWNET + lxc.CLONE_NEWUTS)) variable
/lxc/src/lxc/
H A Dattach_options.h81 /*! The namespaces to attach to (CLONE_NEW... flags) */
82 int namespaces; member in struct:lxc_attach_options_t
138 /* .namespaces = */ -1, \
H A Dstart.c135 SYSERROR("Kernel does not support attaching to namespaces.");
153 SYSERROR("Kernel does not support attaching to %s namespaces.", ns_info[i].proc_name);
499 char *namespaces[LXC_NS_MAX+1]; local
509 rc = asprintf(&namespaces[namespace_count], "%s:/proc/%d/fd/%d",
518 namespaces[namespace_count] = NULL;
526 if (run_lxc_hooks(name, "stop", handler->conf, handler->lxcpath, namespaces))
530 free(namespaces[namespace_count]);
1051 * Note that lxc_spawn() runs in the parent namespaces. Any operations performed
1148 /* Create a process in a new set of namespaces. */
1160 SYSERROR("Failed to clone a new set of namespaces
[all...]
/lxc/src/lxc/tools/
H A Dlxc_unshare.c158 char *namespaces = NULL; local
175 namespaces = optarg;
216 /* The identifiers for namespaces used with lxc-unshare as given on the
218 * network, mount, and uts namespaces. The standard identifiers are:
231 while ((del = strstr(namespaces, "MOUNT")))
235 while ((del = strstr(namespaces, *it)))
238 ret = lxc_fill_namespace_flags(namespaces, &flags);

Completed in 34 milliseconds