Searched refs:newns (Results 1 – 2 of 2) sorted by relevance
67 char *newns = NULL; in nsinfo__init() local79 if (asprintf(&newns, "/proc/%d/ns/mnt", nsi->pid) == -1) in nsinfo__init()85 if (stat(newns, &new_stat) < 0) in nsinfo__init()93 nsi->mntns_path = newns; in nsinfo__init()94 newns = NULL; in nsinfo__init()131 free(newns); in nsinfo__init()213 int newns = -1; in nsinfo__mountns_enter() local220 nc->newns = -1; in nsinfo__mountns_enter()236 newns = open(nsi->mntns_path, O_RDONLY); in nsinfo__mountns_enter()237 if (newns < 0) in nsinfo__mountns_enter()[all …]
44 int newns; member