Searched refs:newns (Results 1 – 4 of 4) sorted by relevance
102 char *newns = NULL; in nsinfo__init() local110 if (asprintf(&newns, "/proc/%d/ns/mnt", nsinfo__pid(nsi)) == -1) in nsinfo__init()116 if (stat(newns, &new_stat) < 0) in nsinfo__init()124 RC_CHK_ACCESS(nsi)->mntns_path = newns; in nsinfo__init()125 newns = NULL; in nsinfo__init()138 free(newns); in nsinfo__init()279 int newns = -1; in nsinfo__mountns_enter() local286 nc->newns = -1; in nsinfo__mountns_enter()302 newns = open(nsinfo__mntns_path(nsi), O_RDONLY); in nsinfo__mountns_enter()303 if (newns < 0) in nsinfo__mountns_enter()[all …]
45 int newns; member
1188 const struct user_namespace *newns = &init_user_ns; in nfs_compare_userns() local1193 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()1194 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()