Loading src/client/gkfs_libc.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -443,7 +443,7 @@ is_gkfs_fd(int fd) { #define GKFS_OPERATION(name, ...) \ if(CTX->interception_enabled() && is_gkfs_fd(fd)) { \ LOG(DEBUG, "[GKFS] {}", fd); \ printf("[GKFS] %d\n", fd); \ // printf("[GKFS] %d\n", fd); \ return gkfs::syscall::gkfs_##name(__VA_ARGS__); \ } Loading @@ -453,7 +453,7 @@ is_gkfs_fd(int fd) { switch(resolve_gkfs_path(dirfd, path, resolved)) { \ case PathStatus::Internal: \ LOG(DEBUG, "[GKFS] {}", resolved); \ printf("[GKFS] %s\n", resolved.c_str()); \ // printf("[GKFS] %s\n", resolved.c_str()); \ return gkfs::syscall::gkfs_##name(resolved, __VA_ARGS__); \ case PathStatus::Error: \ return -errno; \ Loading @@ -468,7 +468,7 @@ is_gkfs_fd(int fd) { switch(resolve_gkfs_path(dirfd, path, resolved)) { \ case PathStatus::Internal: \ LOG(DEBUG, "[GKFS] {}", resolved); \ printf("[GKFS] %s\n", resolved.c_str()); \ // printf("[GKFS] %s\n", resolved.c_str()); \ return gkfs::syscall::gkfs_##name(dirfd, resolved, \ __VA_ARGS__); \ case PathStatus::Error: \ Loading @@ -484,7 +484,7 @@ is_gkfs_fd(int fd) { switch(resolve_gkfs_path(dirfd, path, resolved)) { \ case PathStatus::Internal: \ LOG(DEBUG, "[GKFS] {}", resolved); \ printf("[GKFS] %s\n", resolved.c_str()); \ // printf("[GKFS] %s\n", resolved.c_str()); \ return gkfs::syscall::gkfs_##name(resolved); \ case PathStatus::Error: \ return -errno; \ Loading Loading
src/client/gkfs_libc.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -443,7 +443,7 @@ is_gkfs_fd(int fd) { #define GKFS_OPERATION(name, ...) \ if(CTX->interception_enabled() && is_gkfs_fd(fd)) { \ LOG(DEBUG, "[GKFS] {}", fd); \ printf("[GKFS] %d\n", fd); \ // printf("[GKFS] %d\n", fd); \ return gkfs::syscall::gkfs_##name(__VA_ARGS__); \ } Loading @@ -453,7 +453,7 @@ is_gkfs_fd(int fd) { switch(resolve_gkfs_path(dirfd, path, resolved)) { \ case PathStatus::Internal: \ LOG(DEBUG, "[GKFS] {}", resolved); \ printf("[GKFS] %s\n", resolved.c_str()); \ // printf("[GKFS] %s\n", resolved.c_str()); \ return gkfs::syscall::gkfs_##name(resolved, __VA_ARGS__); \ case PathStatus::Error: \ return -errno; \ Loading @@ -468,7 +468,7 @@ is_gkfs_fd(int fd) { switch(resolve_gkfs_path(dirfd, path, resolved)) { \ case PathStatus::Internal: \ LOG(DEBUG, "[GKFS] {}", resolved); \ printf("[GKFS] %s\n", resolved.c_str()); \ // printf("[GKFS] %s\n", resolved.c_str()); \ return gkfs::syscall::gkfs_##name(dirfd, resolved, \ __VA_ARGS__); \ case PathStatus::Error: \ Loading @@ -484,7 +484,7 @@ is_gkfs_fd(int fd) { switch(resolve_gkfs_path(dirfd, path, resolved)) { \ case PathStatus::Internal: \ LOG(DEBUG, "[GKFS] {}", resolved); \ printf("[GKFS] %s\n", resolved.c_str()); \ // printf("[GKFS] %s\n", resolved.c_str()); \ return gkfs::syscall::gkfs_##name(resolved); \ case PathStatus::Error: \ return -errno; \ Loading