25 #ifndef __LXC_ATTACH_OPTIONS_H 26 #define __LXC_ATTACH_OPTIONS_H 28 #include <sys/types.h> 62 #define LXC_ATTACH_LSM (LXC_ATTACH_LSM_EXEC | LXC_ATTACH_LSM_NOW) 135 #define LXC_ATTACH_OPTIONS_DEFAULT \ 137 LXC_ATTACH_DEFAULT, \ 143 LXC_ATTACH_KEEP_ENV, \ int stdin_fd
Definition: attach_options.h:128
Definition: attach_options.h:152
int namespaces
Definition: attach_options.h:82
char * program
Definition: attach_options.h:153
uid_t uid
Definition: attach_options.h:100
Move to cgroup.
Definition: attach_options.h:44
int stderr_fd
Definition: attach_options.h:130
char ** extra_env_vars
Definition: attach_options.h:113
Mask of flags to apply by default.
Definition: attach_options.h:58
Retain the environment.
Definition: attach_options.h:38
lxc_attach_env_policy_t
Definition: attach_options.h:37
char ** extra_keep_env
Definition: attach_options.h:118
FIXME: unknown.
Definition: attach_options.h:51
int attach_flags
Definition: attach_options.h:79
struct lxc_attach_options_t lxc_attach_options_t
char ** argv
Definition: attach_options.h:154
Clear the environment.
Definition: attach_options.h:39
gid_t gid
Definition: attach_options.h:107
int lxc_attach_run_command(void *payload)
Run a command in the container.
int(* lxc_attach_exec_t)(void *payload)
Definition: attach_options.h:72
long personality
Definition: attach_options.h:87
struct lxc_attach_command_t lxc_attach_command_t
Execute under a Linux Security Module.
Definition: attach_options.h:47
lxc_attach_env_policy_t env_policy
Definition: attach_options.h:110
Definition: attach_options.h:77
Remount /proc filesystem.
Definition: attach_options.h:50
Set personality.
Definition: attach_options.h:46
char * initial_cwd
Definition: attach_options.h:93
int lxc_attach_run_shell(void *payload)
Run a shell command in the container.
Drop capabilities.
Definition: attach_options.h:45
int stdout_fd
Definition: attach_options.h:129