lkml.org 
[lkml]   [2000]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectPATCH: clear blocked AND pending on exec
Date
like my last patch, clear blocked signals on exec, but now clear blocked
and pending signals on exec().


--- linux-2.2.16/fs/exec.c.orig Sun Jul 2 20:38:14 2000
+++ linux-2.2.16/fs/exec.c Sun Jul 2 20:55:02 2000
@@ -538,6 +538,8 @@
current->self_exec_id++;

flush_signal_handlers(current);
+ flush_signals(current);
+ sigemptyset(&current->blocked);
flush_old_files(current->files);

return 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.095 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site