Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Devices3pm
Cgroups v1 devices controller.
Usage
use Mojo::IOLoop::ReadWriteProcess::CGroup::v1;my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v1->new( name => "test" );$cgroup->devices->allow('a *:* rwm');
Overview
This module uses features that are only available on Linux, and requires cgroups and capability for unshare syscalls to achieve pid isolation.
Methods
Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Devices inherits all methods from Mojo::Base and implements the following new ones.
Releases
4 releases since Debian 10 (Buster); the text changed 3 times.