Searched refs:netns_path (Results 1 – 2 of 2) sorted by relevance
114 const char *netns_path = "/proc/thread-self/ns/net"; in open_netns() local117 fd = open(netns_path, O_RDONLY); in open_netns()119 test_error("open(%s)", netns_path); in open_netns()
140 const char *netns_path = "/proc/self/ns/net"; in unshare_open() local148 fd = open(netns_path, O_RDONLY); in unshare_open()150 pr_err("open(%s)", netns_path); in unshare_open()