#include <setup-userns.hpp>
Public Member Functions | |
SetupUserNS (UserNSConfig &userNSConfig, pid_t initPid) | |
Setups the user namespace by filling UID/GID mappings. More... | |
~SetupUserNS () | |
void | execute () |
Private Member Functions | |
virtual void | revert () |
Private Attributes | |
UserNSConfig & | mUserNSConfig |
pid_t | mInitPid |
lxcpp::SetupUserNS::SetupUserNS | ( | UserNSConfig & | userNSConfig, |
pid_t | initPid | ||
) |
Setups the user namespace by filling UID/GID mappings.
userNSConfig | A config containing UID and GID mappings |
lxcpp::SetupUserNS::~SetupUserNS | ( | ) |
|
virtual |
Implements lxcpp::Command.
|
inlinevirtualinherited |
Reimplemented in lxcpp::ProvisionLink, lxcpp::ProvisionMount, lxcpp::ProvisionFile, and lxcpp::Provisions.
|
private |
|
private |