Loading CMake/gkfs-options.cmake +5 −1 Original line number Diff line number Diff line Loading @@ -238,6 +238,10 @@ gkfs_define_option( gkfs_define_option( GKFS_BUILD_USER_LIB HELP_TEXT "Compile user lib" #build libc gkfs_define_option( GKFS_BUILD_LIBC_INTERCEPTION HELP_TEXT "Compile libc interception" DEFAULT_VALUE ON ) Loading src/client/gkfs_libc.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -1840,7 +1840,7 @@ chdir(const char* path) { int ret = -1; initializeGekko(); // is the path from gekkofs return gkfs::hook::hook_chdir(path); // return gkfs::hook::hook_chdir(path); /* if(CTX->interception_enabled()) { std::string resolved; Loading @@ -1859,12 +1859,10 @@ chdir(const char* path) { break; } } */ // call the real chdir function ret = dlsym_chdir((char*) path); debug_info("[BYPASS] << After chdir()\n"); */ return ret; } Loading Loading
CMake/gkfs-options.cmake +5 −1 Original line number Diff line number Diff line Loading @@ -238,6 +238,10 @@ gkfs_define_option( gkfs_define_option( GKFS_BUILD_USER_LIB HELP_TEXT "Compile user lib" #build libc gkfs_define_option( GKFS_BUILD_LIBC_INTERCEPTION HELP_TEXT "Compile libc interception" DEFAULT_VALUE ON ) Loading
src/client/gkfs_libc.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -1840,7 +1840,7 @@ chdir(const char* path) { int ret = -1; initializeGekko(); // is the path from gekkofs return gkfs::hook::hook_chdir(path); // return gkfs::hook::hook_chdir(path); /* if(CTX->interception_enabled()) { std::string resolved; Loading @@ -1859,12 +1859,10 @@ chdir(const char* path) { break; } } */ // call the real chdir function ret = dlsym_chdir((char*) path); debug_info("[BYPASS] << After chdir()\n"); */ return ret; } Loading