OSDN Git Service

posix timers: discard SI_TIMER signals on exec
[uclinux-h8/linux.git] / fs / exec.c
index 3c2ba7c..9448f1b 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -860,6 +860,7 @@ static int de_thread(struct task_struct *tsk)
 
 no_thread_group:
        exit_itimers(sig);
+       flush_itimer_signals();
        if (leader)
                release_task(leader);