Update linux-core.c

This patch allows dup2 cloned fd to work with the event handler as intended.