Loading .gitmodules +1 −1 Original line number Diff line number Diff line [submodule "external/hermes"] path = external/hermes url = https://github.com/bsc-ssrg/hermes.git url = https://github.com/marcvef/hermes.git [submodule "external/fmt"] path = external/fmt url = https://github.com/fmtlib/fmt CMakeLists.txt +2 −0 Original line number Diff line number Diff line Loading @@ -214,6 +214,8 @@ check_cxx_source_compiles(" add_subdirectory(src/global) # Daemon add_subdirectory(src/daemon) # Proxy add_subdirectory(src/proxy) # Client library add_subdirectory(src/client) Loading hermes @ 3a542f39 Original line number Diff line number Diff line Subproject commit 0af45bfa667f7ff9c78167ef94d975bffbd879f0 Subproject commit 3a542f39c5b08cb62b47747bda0edd551064c17e include/client/env.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ static constexpr auto HOSTS_FILE = ADD_PREFIX("HOSTS_FILE"); #ifdef GKFS_ENABLE_FORWARDING static constexpr auto FORWARDING_MAP_FILE = ADD_PREFIX("FORWARDING_MAP_FILE"); #endif static constexpr auto PROXY_PID_FILE = ADD_PREFIX("PROXY_PID_FILE"); } // namespace env } // namespace gkfs Loading include/client/preload_context.hpp +19 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,11 @@ private: std::string rpc_protocol_; bool auto_sm_{false}; // proxy stuff bool use_proxy_{false}; std::string proxy_address_str_; hermes::endpoint proxy_host_; bool interception_enabled_; std::bitset<MAX_INTERNAL_FDS> internal_fds_; Loading Loading @@ -137,6 +142,20 @@ public: void auto_sm(bool auto_sm); bool use_proxy() const; void use_proxy(bool use_proxy); const std::string& proxy_address_str() const; void proxy_address_str(const std::string& proxy_address_str); const hermes::endpoint& proxy_host() const; void proxy_host(const hermes::endpoint& proxy_host); void clear_proxy_host(); RelativizeStatus relativize_fd_path(int dirfd, const char* raw_path, std::string& relative_path, Loading Loading
.gitmodules +1 −1 Original line number Diff line number Diff line [submodule "external/hermes"] path = external/hermes url = https://github.com/bsc-ssrg/hermes.git url = https://github.com/marcvef/hermes.git [submodule "external/fmt"] path = external/fmt url = https://github.com/fmtlib/fmt
CMakeLists.txt +2 −0 Original line number Diff line number Diff line Loading @@ -214,6 +214,8 @@ check_cxx_source_compiles(" add_subdirectory(src/global) # Daemon add_subdirectory(src/daemon) # Proxy add_subdirectory(src/proxy) # Client library add_subdirectory(src/client) Loading
hermes @ 3a542f39 Original line number Diff line number Diff line Subproject commit 0af45bfa667f7ff9c78167ef94d975bffbd879f0 Subproject commit 3a542f39c5b08cb62b47747bda0edd551064c17e
include/client/env.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ static constexpr auto HOSTS_FILE = ADD_PREFIX("HOSTS_FILE"); #ifdef GKFS_ENABLE_FORWARDING static constexpr auto FORWARDING_MAP_FILE = ADD_PREFIX("FORWARDING_MAP_FILE"); #endif static constexpr auto PROXY_PID_FILE = ADD_PREFIX("PROXY_PID_FILE"); } // namespace env } // namespace gkfs Loading
include/client/preload_context.hpp +19 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,11 @@ private: std::string rpc_protocol_; bool auto_sm_{false}; // proxy stuff bool use_proxy_{false}; std::string proxy_address_str_; hermes::endpoint proxy_host_; bool interception_enabled_; std::bitset<MAX_INTERNAL_FDS> internal_fds_; Loading Loading @@ -137,6 +142,20 @@ public: void auto_sm(bool auto_sm); bool use_proxy() const; void use_proxy(bool use_proxy); const std::string& proxy_address_str() const; void proxy_address_str(const std::string& proxy_address_str); const hermes::endpoint& proxy_host() const; void proxy_host(const hermes::endpoint& proxy_host); void clear_proxy_host(); RelativizeStatus relativize_fd_path(int dirfd, const char* raw_path, std::string& relative_path, Loading