Searched refs:oldns (Results 1 – 3 of 3) sorted by relevance
100 char oldns[PATH_MAX]; in nsinfo__init() local107 if (snprintf(oldns, PATH_MAX, "/proc/self/ns/mnt") >= PATH_MAX) in nsinfo__init()113 if (stat(oldns, &old_stat) < 0) in nsinfo__init()278 int oldns = -1; in nsinfo__mountns_enter() local285 nc->oldns = -1; in nsinfo__mountns_enter()298 oldns = open(curpath, O_RDONLY); in nsinfo__mountns_enter()299 if (oldns < 0) in nsinfo__mountns_enter()310 nc->oldns = oldns; in nsinfo__mountns_enter()316 if (oldns > -1) in nsinfo__mountns_enter()317 close(oldns); in nsinfo__mountns_enter()[all …]
44 int oldns; member
1187 const struct user_namespace *oldns = &init_user_ns; in nfs_compare_userns() local1191 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()1194 if (oldns != newns) in nfs_compare_userns()