Author: kib
Date: Mon May 17 08:46:27 2010
New Revision: 208188
URL: http://svn.freebsd.org/changeset/base/208188

Log:
  Partial MFC r207847:
  For detach procfs ctl command, clear P_STOPPED_TRACE process stop flag.

Modified:
  stable/7/sys/fs/procfs/procfs_ctl.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/fs/procfs/procfs_ctl.c
==============================================================================
--- stable/7/sys/fs/procfs/procfs_ctl.c Mon May 17 08:35:14 2010        
(r208187)
+++ stable/7/sys/fs/procfs/procfs_ctl.c Mon May 17 08:46:27 2010        
(r208188)
@@ -212,7 +212,7 @@ out:
                }
 
                /* not being traced any more */
-               p->p_flag &= ~P_TRACED;
+               p->p_flag &= ~(P_TRACED | P_STOPPED_TRACE);
 
                /* remove pending SIGTRAP, else the process will die */
                sigqueue_delete_proc(p, SIGTRAP);
_______________________________________________
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"

Reply via email to