Searched refs:original_ns (Results 1 – 1 of 1) sorted by relevance
1262 int original_ns, new_ns, ret; in test_namespace() local1266 original_ns = open("/proc/self/ns/uts", O_RDONLY); in test_namespace()1267 if (original_ns == -1) in test_namespace()1270 ret = fstat(original_ns, &stat_buf); in test_namespace()1297 ret = setns(original_ns, CLONE_NEWUTS); in test_namespace()1322 close(original_ns); in test_namespace()