Line 5:
Line 5:
One thing parasite code can do is call clone() and create thread having access to main process VM, FDT, FS, etc. The new thread can then
One thing parasite code can do is call clone() and create thread having access to main process VM, FDT, FS, etc. The new thread can then
−
* Check socket FDs to get stuck/closed, re-open them and dup2() into original places
+
* Check socket FDs to get stuck/closed by polling them
−
** Problem: how to inform the original process about this change
* Apply "logrotate" on the fly
* Apply "logrotate" on the fly