Searched refs:original_ns (Results 1 – 1 of 1) sorted by relevance
1502 int original_ns, new_ns, ret; in test_namespace() local1506 original_ns = open("/proc/self/ns/uts", O_RDONLY); in test_namespace()1507 if (original_ns == -1) in test_namespace()1510 ret = fstat(original_ns, &stat_buf); in test_namespace()1537 ret = setns(original_ns, CLONE_NEWUTS); in test_namespace()1562 close(original_ns); in test_namespace()