Searched refs:newns (Results 1 – 4 of 4) sorted by relevance
103 char *newns = NULL; in nsinfo__init() local111 if (asprintf(&newns, "/proc/%d/ns/mnt", nsinfo__pid(nsi)) == -1) in nsinfo__init()117 if (stat(newns, &new_stat) < 0) in nsinfo__init()125 nsi->mntns_path = newns; in nsinfo__init()126 newns = NULL; in nsinfo__init()138 free(newns); in nsinfo__init()250 int newns = -1; in nsinfo__mountns_enter() local257 nc->newns = -1; in nsinfo__mountns_enter()273 newns = open(nsi->mntns_path, O_RDONLY); in nsinfo__mountns_enter()274 if (newns < 0) in nsinfo__mountns_enter()[all …]
44 int newns; member
1184 const struct user_namespace *newns = &init_user_ns; in nfs_compare_userns() local1189 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()1190 if (oldns != newns) in nfs_compare_userns()
48 bool newns; /* Set if newly created ipc namespace */ member433 if (ctx->newns) { in mqueue_get_tree()479 ctx->newns = true; in mq_create_mount()