Home
last modified time | relevance | path

Searched refs:nsfd_parent (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dipsec.c62 static int nsfd_parent = -1; variable
134 nsfd_parent = unshare_open(); in init_namespaces()
135 if (nsfd_parent <= 0) in init_namespaces()
142 if (switch_ns(nsfd_parent)) in init_namespaces()
149 if (switch_ns(nsfd_parent)) in init_namespaces()
1832 return switch_ns(nsfd_parent); in start_child()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dipsec.c63 static int nsfd_parent = -1; variable
172 nsfd_parent = unshare_open(); in init_namespaces()
173 if (nsfd_parent <= 0) in init_namespaces()
180 if (switch_ns(nsfd_parent)) in init_namespaces()
187 if (switch_ns(nsfd_parent)) in init_namespaces()
1972 return switch_ns(nsfd_parent); in start_child()

Completed in 6 milliseconds