Searched refs:tpath (Results 1 - 2 of 2) sorted by relevance
/lxc/src/lxc/ |
H A D | lxccontainer.c | 1070 static bool create_run_template(struct lxc_container *c, char *tpath, bool need_null_stdfds, argument 1075 if (!tpath) 1139 newargv[0] = lxcbasename(tpath); 1198 newargv[0] = tpath; 1199 tpath = "lxc-usernsexec"; 1289 execvp(tpath, newargv); 1290 SYSERROR("failed to execute template %s", tpath); 1311 char *tpath; local 1336 tpath = get_template_path(t); 1337 if (!tpath) { 1431 char *tpath = NULL; local [all...] |
H A D | utils.c | 1382 char *tpath; local 1385 tpath = strdup(t); 1386 return tpath; 1390 tpath = malloc(len); 1391 if (!tpath) 1393 ret = snprintf(tpath, len, "%s/lxc-%s", LXCTEMPLATEDIR, t); 1395 free(tpath); 1398 if (access(tpath, X_OK) < 0) { 1400 free(tpath); 1404 return tpath; [all...] |
Completed in 231 milliseconds