svn commit: r212075 - head/sys/kern

David Xu davidxu at FreeBSD.org
Wed Sep 1 01:26:07 UTC 2010


Author: davidxu
Date: Wed Sep  1 01:26:07 2010
New Revision: 212075
URL: http://svn.freebsd.org/changeset/base/212075

Log:
  rescure comments from RELENG_4.

Modified:
  head/sys/kern/kern_sig.c

Modified: head/sys/kern/kern_sig.c
==============================================================================
--- head/sys/kern/kern_sig.c	Tue Aug 31 23:14:03 2010	(r212074)
+++ head/sys/kern/kern_sig.c	Wed Sep  1 01:26:07 2010	(r212075)
@@ -2140,6 +2140,10 @@ tdsendsignal(struct proc *p, struct thre
 	 */
 	if (P_SHOULDSTOP(p)) {
 		if (sig == SIGKILL) {
+			/*
+			 * If traced process is already stopped,
+			 * then no further action is necessary.
+			 */
 			if (p->p_flag & P_TRACED)
 				goto out;
 			/*
@@ -2152,6 +2156,10 @@ tdsendsignal(struct proc *p, struct thre
 		}
 
 		if (prop & SA_CONT) {
+			/*
+			 * If traced process is already stopped,
+			 * then no further action is necessary.
+			 */
 			if (p->p_flag & P_TRACED)
 				goto out;
 			/*
@@ -2198,6 +2206,10 @@ tdsendsignal(struct proc *p, struct thre
 		}
 
 		if (prop & SA_STOP) {
+			/*
+			 * If traced process is already stopped,
+			 * then no further action is necessary.
+			 */
 			if (p->p_flag & P_TRACED)
 				goto out;
 			/*


More information about the svn-src-head mailing list