ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Linux-Clone/Clone.pm
(Generate patch)

Comparing Linux-Clone/Clone.pm (file contents):
Revision 1.6 by root, Sat Sep 3 23:47:02 2022 UTC vs.
Revision 1.8 by root, Sat Sep 3 23:56:10 2022 UTC

171"ifconfig lo up" which automatically adds ipv4/ipv6 addresses and routes), 171"ifconfig lo up" which automatically adds ipv4/ipv6 addresses and routes),
172which can be useful to get a network namespace going. 172which can be useful to get a network namespace going.
173 173
174Dies on error and returns nothing. 174Dies on error and returns nothing.
175 175
176=item C<ioctl> symbols
177
178The 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
180package Linux::Clone; 189package Linux::Clone;
193 and die "Linux::Clone::configure_looopback: unable to bring up loopback interface: $!\n"; 202 and die "Linux::Clone::configure_looopback: unable to bring up loopback interface: $!\n";
194} 203}
195 204
1961; 2051;
197 206
207=head1 SEE ALSO
208
209L<IO::AIO> has some related functions, such as C<pidfd_send_signal>, and
210some unrelated fucntions that might be useful.
211
212L<cgroup_namespaces(7)>, L<pid_namespaces(7)>, L<user_namespaces(7)>,
213L<ip-netns(8)>, L<lsns(8)>, L<switch_root(8)>, L<ioctl_ns(2)>.
214
198=head1 AUTHOR 215=head1 AUTHOR
199 216
200 Marc Lehmann <schmorp@schmorp.de> 217 Marc Lehmann <schmorp@schmorp.de>
201 http://home.schmorp.de/ 218 http://home.schmorp.de/
202 219

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines