|
FlatImage
A configurable Linux containerization system
|
Used to copy execve the flatimage program. More...
#include <expected>#include <string>#include <system_error>#include <filesystem>#include <print>#include "../macro.hpp"#include "../lib/env.hpp"#include "../lib/elf.hpp"#include "../db/db.hpp"#include "../std/expected.hpp"#include "../config.hpp"Go to the source code of this file.
Namespaces | |
| namespace | ns_relocate |
| Binary relocation and extraction utilities. | |
Functions | |
| Value< void > | ns_relocate::anonymous_namespace{relocate.hpp}::relocate_impl (char **argv, uint32_t offset, fs::path const &path_file_self) |
| Relocate the binary (by copying it) from the image. | |
| Value< void > | ns_relocate::relocate (char **argv, int32_t offset) |
| Calls the implementation of relocate. | |
Variables | |
| constexpr std::array< const char *, 403 > const | ns_relocate::anonymous_namespace{relocate.hpp}::arr_busybox_applet |
Used to copy execve the flatimage program.
Definition in file relocate.hpp.