Loading src/client/preload.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -510,10 +510,11 @@ at_child_syscall() { void init_libc() { //printf("%d -> %p At init GEKKOFS\n", gettid(), (void*) CTX); // fork does CTX->init_logging(); // from here ownwards it is safe to print messages LOG(DEBUG, "Logging subsystem initialized"); pthread_atfork(&at_fork, &at_parent, &at_child); if (!init) { init = true; pthread_atfork(&at_fork, &at_parent, &at_child);} gkfs::preload::init_environment(); CTX->enable_interception(); } Loading Loading
src/client/preload.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -510,10 +510,11 @@ at_child_syscall() { void init_libc() { //printf("%d -> %p At init GEKKOFS\n", gettid(), (void*) CTX); // fork does CTX->init_logging(); // from here ownwards it is safe to print messages LOG(DEBUG, "Logging subsystem initialized"); pthread_atfork(&at_fork, &at_parent, &at_child); if (!init) { init = true; pthread_atfork(&at_fork, &at_parent, &at_child);} gkfs::preload::init_environment(); CTX->enable_interception(); } Loading