Searched refs:oldcwd (Results 1 – 2 of 2) sorted by relevance
285 char *oldcwd = NULL; in nsinfo__mountns_enter() 299 oldcwd = get_current_dir_name(); in nsinfo__mountns_enter() 300 if (!oldcwd) in nsinfo__mountns_enter() 314 nc->oldcwd = oldcwd; in nsinfo__mountns_enter() 320 free(oldcwd); in nsinfo__mountns_enter() 329 if (nc == NULL || nc->oldns == -1 || nc->newns == -1 || !nc->oldcwd) in nsinfo__mountns_exit() 334 if (nc->oldcwd) { in nsinfo__mountns_exit() 335 WARN_ON_ONCE(chdir(nc->oldcwd)); in nsinfo__mountns_exit() 336 zfree(&nc->oldcwd); in nsinfo__mountns_exit() 280 char *oldcwd = NULL; nsinfo__mountns_enter() local [all...]
46 char *oldcwd; member