Searched refs:newns (Results 1 – 3 of 3) sorted by relevance
67 char *newns = NULL; in nsinfo__init() local78 if (asprintf(&newns, "/proc/%d/ns/mnt", nsi->pid) == -1) in nsinfo__init()84 if (stat(newns, &new_stat) < 0) in nsinfo__init()92 nsi->mntns_path = newns; in nsinfo__init()93 newns = NULL; in nsinfo__init()126 free(newns); in nsinfo__init()206 int newns = -1; in nsinfo__mountns_enter() local213 nc->newns = -1; in nsinfo__mountns_enter()229 newns = open(nsi->mntns_path, O_RDONLY); in nsinfo__mountns_enter()230 if (newns < 0) in nsinfo__mountns_enter()[all …]
42 int newns; member
2533 const struct user_namespace *newns = &init_user_ns; in nfs_compare_userns() local2538 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()2539 if (oldns != newns) in nfs_compare_userns()