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; /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"