… | |
… | |
171 | "ifconfig lo up" which automatically adds ipv4/ipv6 addresses and routes), |
171 | "ifconfig lo up" which automatically adds ipv4/ipv6 addresses and routes), |
172 | which can be useful to get a network namespace going. |
172 | which can be useful to get a network namespace going. |
173 | |
173 | |
174 | Dies on error and returns nothing. |
174 | Dies on error and returns nothing. |
175 | |
175 | |
|
|
176 | =item C<ioctl> symbols |
|
|
177 | |
|
|
178 | The following ioctl symbols are also provided by this module (see L<ioctl_ns(8)>). |
|
|
179 | |
|
|
180 | Linux::Clone::NS_GET_USERNS |
|
|
181 | Linux::Clone::NS_GET_PARENT |
|
|
182 | Linux::Clone::NS_GET_NSTYPE |
|
|
183 | Linux::Clone::NS_OWNER_UID |
|
|
184 | |
176 | =back |
185 | =back |
177 | |
186 | |
178 | =cut |
187 | =cut |
179 | |
188 | |
180 | package Linux::Clone; |
189 | package Linux::Clone; |
… | |
… | |
198 | =head1 SEE ALSO |
207 | =head1 SEE ALSO |
199 | |
208 | |
200 | L<IO::AIO> has some related functions, such as C<pidfd_send_signal>, and |
209 | L<IO::AIO> has some related functions, such as C<pidfd_send_signal>, and |
201 | some unrelated fucntions that might be useful. |
210 | some unrelated fucntions that might be useful. |
202 | |
211 | |
|
|
212 | L<cgroup_namespaces(7)>, L<pid_namespaces(7)>, L<user_namespaces(7)>, |
|
|
213 | L<ip-netns(8)>, L<lsns(8)>, L<switch_root(8)>, L<ioctl_ns(2)>. |
|
|
214 | |
203 | =head1 AUTHOR |
215 | =head1 AUTHOR |
204 | |
216 | |
205 | Marc Lehmann <schmorp@schmorp.de> |
217 | Marc Lehmann <schmorp@schmorp.de> |
206 | http://home.schmorp.de/ |
218 | http://home.schmorp.de/ |
207 | |
219 | |