Searched defs:namespaces (Results 1 - 4 of 4) sorted by relevance
/lxc/src/python-lxc/examples/ |
H A D | api_test.py | 123 namespaces=(lxc.CLONE_NEWUSER + lxc.CLONE_NEWNET variable 127 namespaces=(lxc.CLONE_NEWNET + lxc.CLONE_NEWUTS)) variable
|
/lxc/src/lxc/ |
H A D | attach_options.h | 81 /*! The namespaces to attach to (CLONE_NEW... flags) */ 82 int namespaces; member in struct:lxc_attach_options_t 138 /* .namespaces = */ -1, \
|
H A D | start.c | 135 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 D | lxc_unshare.c | 158 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