Loading src/client/preload_context.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -390,7 +390,8 @@ PreloadContext::protect_user_fds(int root_fd) { LOG(DEBUG, "Protecting application fds [{}, {}]", 0, MAX_USER_FDS - 1); const int nullfd = ::syscall_no_intercept(SYS_openat, root_fd, "/dev/null", O_RDONLY); const int nullfd = ::syscall_no_intercept(SYS_openat, root_fd, "/dev/null", O_RDONLY); assert(::syscall_error_code(nullfd) == 0); protected_fds_.set(nullfd); Loading src/client/intercept.cpp +71 −71 File changed.Contains only whitespace changes. Show changes src/client/hooks.cpp +4 −4 File changed.Contains only whitespace changes. Show changes Loading
src/client/preload_context.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -390,7 +390,8 @@ PreloadContext::protect_user_fds(int root_fd) { LOG(DEBUG, "Protecting application fds [{}, {}]", 0, MAX_USER_FDS - 1); const int nullfd = ::syscall_no_intercept(SYS_openat, root_fd, "/dev/null", O_RDONLY); const int nullfd = ::syscall_no_intercept(SYS_openat, root_fd, "/dev/null", O_RDONLY); assert(::syscall_error_code(nullfd) == 0); protected_fds_.set(nullfd); Loading