Searched defs:which (Results 1 - 5 of 5) sorted by relevance
/lxc/src/lxc/tools/ |
H A D | lxc_usernsexec.c | 77 static void opentty(const char * tty, int which) { argument 96 close(which); 97 if (fd != which) { 98 dup2(fd, which); 149 char which; local 155 ret = sscanf(map, "%c:%ld:%ld:%ld", &which, &ns_id, &host_id, &range); 159 if (which != 'b' && which != 'u' && which != 'g') 163 if (which ! 201 read_default_map(char *fnam, int which, char *username) argument [all...] |
/lxc/src/lxc/ |
H A D | attach.c | 241 static int lxc_attach_to_ns(pid_t pid, int which) argument 254 if (which != -1 && !(which & ns_info[i].clone_flag)) { 766 /* Determine which namespaces the container was created with 774 "namespaces which the container uses."); 829 * into the cgroup, which we can only do if we didn't already
|
H A D | confile.c | 1040 static int add_hook(struct lxc_conf *lxc_conf, int which, char *hook) argument 1050 lxc_list_add_tail(&lxc_conf->hooks[which], hooklist); 2902 * can't/don't want to update any which come from lxc.includes (there 2905 * netifs from the include files. So we update the ones which we find in
|
H A D | conf.c | 669 /* proc/tty is used as a temporary placeholder for proc/sys/net which we'll move back in a few steps */ 1251 * The following code cleans up inhereted mounts which are not 1792 * does not have any flags which are not already in 3435 * return the host uid/gid to which the container root is mapped in 4124 int which = -1; local 4128 which = LXCHOOK_PRESTART; 4130 which = LXCHOOK_PREMOUNT; 4132 which = LXCHOOK_MOUNT; 4134 which = LXCHOOK_AUTODEV; 4136 which [all...] |
/lxc/src/lxc/cgroups/ |
H A D | cgmanager.c | 1211 static void drop_subsystem(int which) argument 1215 if (which < 0 || which >= nr_subsystems) { 1220 free(subsystems[which]); 1222 for (i = which; i < nr_subsystems; i++) 1299 ERROR("Cannot write to subsystem %s which is requested in lxc.cgroup.use\n",
|
Completed in 34 milliseconds