#include <attach-config.hpp>
|
| AttachConfig ()=default |
|
| AttachConfig (const std::vector< std::string > &argv, const pid_t initPid, const int namespaces, const uid_t uid, const gid_t gid, const std::vector< gid_t > &supplementaryGids, const int capsToKeep, const std::string &workDirInContainer, const std::vector< std::string > &envToKeep, const std::vector< std::pair< std::string, std::string >> &envToSet, const LoggerConfig &logger) |
|
lxcpp::AttachConfig::AttachConfig |
( |
| ) |
|
|
default |
lxcpp::AttachConfig::AttachConfig |
( |
const std::vector< std::string > & |
argv, |
|
|
const pid_t |
initPid, |
|
|
const int |
namespaces, |
|
|
const uid_t |
uid, |
|
|
const gid_t |
gid, |
|
|
const std::vector< gid_t > & |
supplementaryGids, |
|
|
const int |
capsToKeep, |
|
|
const std::string & |
workDirInContainer, |
|
|
const std::vector< std::string > & |
envToKeep, |
|
|
const std::vector< std::pair< std::string, std::string >> & |
envToSet, |
|
|
const LoggerConfig & |
logger |
|
) |
| |
|
inline |
std::vector<std::string> lxcpp::AttachConfig::argv |
Arguments passed by user, argv[0] is the binary's path in container.
int lxcpp::AttachConfig::capsToKeep |
Mask of capabilities that will be available.
std::vector<std::string> lxcpp::AttachConfig::envToKeep |
Environment variables that will be kept.
std::vector<std::pair<std::string, std::string> > lxcpp::AttachConfig::envToSet |
Environment variables that will be set/updated for the attached process.
gid_t lxcpp::AttachConfig::gid |
pid_t lxcpp::AttachConfig::initPid |
PID of the container's init process.
Logging on the attached process side.
int lxcpp::AttachConfig::namespaces |
Namespaces to which we'll attach.
std::vector<gid_t> lxcpp::AttachConfig::supplementaryGids |
Supplementary groups to set.
int lxcpp::AttachConfig::ttyFD |
PTS that will become the control terminal for the attached process.
uid_t lxcpp::AttachConfig::uid |
std::string lxcpp::AttachConfig::workDirInContainer |
Work directory for the attached process.
The documentation for this struct was generated from the following file: