Copyright | (c) Nickolay Kudasov 2014 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | nickolay.kudasov@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Options and structures to run commands inside LXC containers. You can get more info about LXC at https://help.ubuntu.com/lts/serverguide/lxc.html and https://linuxcontainers.org.
- c'LXC_ATTACH_KEEP_ENV :: Num a => a
- c'LXC_ATTACH_CLEAR_ENV :: Num a => a
- c'LXC_ATTACH_MOVE_TO_CGROUP :: Num a => a
- c'LXC_ATTACH_DROP_CAPABILITIES :: Num a => a
- c'LXC_ATTACH_SET_PERSONALITY :: Num a => a
- c'LXC_ATTACH_LSM_EXEC :: Num a => a
- c'LXC_ATTACH_REMOUNT_PROC_SYS :: Num a => a
- c'LXC_ATTACH_LSM_NOW :: Num a => a
- c'LXC_ATTACH_DEFAULT :: Num a => a
- c'LXC_ATTACH_LSM :: Num a => a
- data C'lxc_attach_options_t = C'lxc_attach_options_t {
- c'lxc_attach_options_t'attach_flags :: CInt
- c'lxc_attach_options_t'namespaces :: CInt
- c'lxc_attach_options_t'personality :: CLong
- c'lxc_attach_options_t'initial_cwd :: CString
- c'lxc_attach_options_t'uid :: C'uid_t
- c'lxc_attach_options_t'gid :: C'gid_t
- c'lxc_attach_options_t'env_policy :: C'lxc_attach_env_policy_t
- c'lxc_attach_options_t'extra_env_vars :: Ptr CString
- c'lxc_attach_options_t'extra_keep_env :: Ptr CString
- c'lxc_attach_options_t'stdin_fd :: CInt
- c'lxc_attach_options_t'stdout_fd :: CInt
- c'lxc_attach_options_t'stderr_fd :: CInt
- p'lxc_attach_options_t'attach_flags :: Ptr C'lxc_attach_options_t -> Ptr CInt
- p'lxc_attach_options_t'namespaces :: Ptr C'lxc_attach_options_t -> Ptr CInt
- p'lxc_attach_options_t'personality :: Ptr C'lxc_attach_options_t -> Ptr CLong
- p'lxc_attach_options_t'initial_cwd :: Ptr C'lxc_attach_options_t -> Ptr CString
- p'lxc_attach_options_t'uid :: Ptr C'lxc_attach_options_t -> Ptr C'uid_t
- p'lxc_attach_options_t'gid :: Ptr C'lxc_attach_options_t -> Ptr C'gid_t
- p'lxc_attach_options_t'env_policy :: Ptr C'lxc_attach_options_t -> Ptr C'lxc_attach_env_policy_t
- p'lxc_attach_options_t'extra_env_vars :: Ptr C'lxc_attach_options_t -> Ptr (Ptr CString)
- p'lxc_attach_options_t'extra_keep_env :: Ptr C'lxc_attach_options_t -> Ptr (Ptr CString)
- p'lxc_attach_options_t'stdin_fd :: Ptr C'lxc_attach_options_t -> Ptr CInt
- p'lxc_attach_options_t'stdout_fd :: Ptr C'lxc_attach_options_t -> Ptr CInt
- p'lxc_attach_options_t'stderr_fd :: Ptr C'lxc_attach_options_t -> Ptr CInt
- data C'lxc_attach_command_t = C'lxc_attach_command_t {}
- p'lxc_attach_command_t'program :: Ptr C'lxc_attach_command_t -> Ptr CString
- p'lxc_attach_command_t'argv :: Ptr C'lxc_attach_command_t -> Ptr (Ptr CString)
- type C_lxc_attach_exec_t = FunPtr (Ptr () -> IO CInt)
- c'lxc_attach_run_command :: Ptr () -> IO CInt
- p'lxc_attach_run_command :: FunPtr (Ptr () -> IO CInt)
- c'lxc_attach_run_shell :: Ptr () -> IO CInt
- p'lxc_attach_run_shell :: FunPtr (Ptr () -> IO CInt)
Attach env policy
c'LXC_ATTACH_KEEP_ENV :: Num a => a Source
c'LXC_ATTACH_CLEAR_ENV :: Num a => a Source
Attach flags
c'LXC_ATTACH_MOVE_TO_CGROUP :: Num a => a Source
c'LXC_ATTACH_DROP_CAPABILITIES :: Num a => a Source
c'LXC_ATTACH_SET_PERSONALITY :: Num a => a Source
c'LXC_ATTACH_LSM_EXEC :: Num a => a Source
c'LXC_ATTACH_REMOUNT_PROC_SYS :: Num a => a Source
c'LXC_ATTACH_LSM_NOW :: Num a => a Source
c'LXC_ATTACH_DEFAULT :: Num a => a Source
c'LXC_ATTACH_LSM :: Num a => a Source
Attach options
data C'lxc_attach_options_t Source
p'lxc_attach_options_t'env_policy :: Ptr C'lxc_attach_options_t -> Ptr C'lxc_attach_env_policy_t Source
Attach command
Attach exec
functions
c'lxc_attach_run_command :: Ptr () -> IO CInt Source
c'lxc_attach_run_shell :: Ptr () -> IO CInt Source