1Mojo::IOLoop::ReadWriteUPsreorceCsosn:t:rNiabmuMetosejpdoa:cP:eeI(rO3lL)oDoopc:u:mReenatdaWtriiotneProcess::Namespace(3)
2
3
4

NAME

6       Mojo::IOLoop::ReadWriteProcess::Namespace - Namespace object for
7       Mojo::IOLoop::ReadWriteProcess.
8

SYNOPSIS

10           use Mojo::IOLoop::ReadWriteProcess::Namespace qw(CLONE_ALL);
11
12           my $ns = Mojo::IOLoop::ReadWriteProcess::Namespace->new();
13
14           $ns->unshare(CLONE_ALL);
15           $ns->mount("proc", "/proc", "proc");
16           $ns->isolate();
17

METHODS

19       Mojo::IOLoop::ReadWriteProcess::Namespace inherits all methods from
20       Mojo::Base and implements the following new ones.
21
22   unshare
23           use Mojo::IOLoop::ReadWriteProcess::Namespace qw(CLONE_ALL);
24           my $ns = Mojo::IOLoop::ReadWriteProcess::Namespace->new();
25           $ns->unshare(CLONE_ALL);
26
27       Wrapper around the unshare syscall, accepts the same arguments,
28       constants can be exported from
29       Mojo::IOLoop::ReadWriteProcess::Namespace.
30
31   mount
32           my $ns = Mojo::IOLoop::ReadWriteProcess::Namespace->new();
33           $ns->mount("proc", "/proc", "proc");
34
35       Wrapper around the mount syscall, accepts the same arguments.
36
37   isolate
38           my $ns = Mojo::IOLoop::ReadWriteProcess::Namespace->new();
39           $ns->isolate();
40
41       Mount appropriately /proc to achieve process isolation during process
42       containment, see Mojo::IOLoop::ReadWriteProcess::Container.
43

LICENSE

45       Copyright (C) Ettore Di Giacinto.
46
47       This library is free software; you can redistribute it and/or modify it
48       under the same terms as Perl itself.
49

AUTHOR

51       Ettore Di Giacinto <edigiacinto@suse.com>
52
53
54
55perl v5.36.0                      2M0o2j3o-:0:1I-O2L0oop::ReadWriteProcess::Namespace(3)
Impressum