[BACK]Return to kern_sig.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/kern_sig.c between version 1.345 and 1.346

version 1.345, 2018/05/19 02:42:58 version 1.346, 2018/05/19 05:01:42
Line 1781  issignal(struct lwp *l)
Line 1781  issignal(struct lwp *l)
                                  * XXX Don't hold proc_lock for p_lflag,                                   * XXX Don't hold proc_lock for p_lflag,
                                  * but it's not a big deal.                                   * but it's not a big deal.
                                  */                                   */
                                 if (p->p_slflag & PSL_TRACED ||                                  if ((ISSET(p->p_slflag, PSL_TRACED) &&
                                        !(ISSET(p->p_lflag, PL_PPWAIT) &&
                                        (p->p_pptr == p->p_opptr))) ||
                                     ((p->p_lflag & PL_ORPHANPG) != 0 &&                                      ((p->p_lflag & PL_ORPHANPG) != 0 &&
                                     prop & SA_TTYSTOP)) {                                      prop & SA_TTYSTOP)) {
                                         /* Ignore the signal. */                                          /* Ignore the signal. */

Legend:
Removed from v.1.345  
changed lines
  Added in v.1.346

CVSweb <webmaster@jp.NetBSD.org>