lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] signals-fold-sig_ignored-into-handle_stop_signal-comment
comments update for signals-fold-sig_ignored-into-handle_stop_signal.patch

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>

--- 25/kernel/signal.c~DOC_2_PREPARE 2008-03-19 20:53:45.000000000 +0300
+++ 25/kernel/signal.c 2008-03-19 21:15:30.000000000 +0300
@@ -572,11 +572,14 @@ static int check_kill_permission(int sig
static void do_notify_parent_cldstop(struct task_struct *tsk, int why);

/*
- * Handle magic process-wide effects of stop/continue signals.
- * Unlike the signal actions, these happen immediately at signal-generation
+ * Handle magic process-wide effects of stop/continue signals. Unlike
+ * the signal actions, these happen immediately at signal-generation
* time regardless of blocking, ignoring, or handling. This does the
* actual continuing for SIGCONT, but not the actual stopping for stop
- * signals. The process stop is done as a signal action for SIG_DFL.
+ * signals. The process stop is done as a signal action for SIG_DFL.
+ *
+ * Returns true if the signal should be actually delivered, otherwise
+ * it should be dropped.
*/
static int prepare_signal(int sig, struct task_struct *p)
{


\
 
 \ /
  Last update: 2008-03-19 23:59    [W:0.327 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site