Searched refs:newns (Results 1 – 4 of 4) sorted by relevance
101 char *newns = NULL; in nsinfo__init() local109 if (asprintf(&newns, "/proc/%d/ns/mnt", nsinfo__pid(nsi)) == -1) in nsinfo__init()115 if (stat(newns, &new_stat) < 0) in nsinfo__init()123 RC_CHK_ACCESS(nsi)->mntns_path = newns; in nsinfo__init()124 newns = NULL; in nsinfo__init()137 free(newns); in nsinfo__init()283 int newns = -1; in nsinfo__mountns_enter() local290 nc->newns = -1; in nsinfo__mountns_enter()306 newns = open(nsinfo__mntns_path(nsi), O_RDONLY); in nsinfo__mountns_enter()307 if (newns < 0) in nsinfo__mountns_enter()[all …]
128 netns.pushns(newns=ns)
1230 const struct user_namespace *newns = &init_user_ns; in nfs_compare_userns() local1235 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()1236 if (oldns != newns) in nfs_compare_userns()
48 bool newns; /* Set if newly created ipc namespace */ member434 if (ctx->newns) { in mqueue_get_tree()480 ctx->newns = true; in mq_create_mount()