svn commit: r208188 - stable/7/sys/fs/procfs
Konstantin Belousov
kib at FreeBSD.org
Mon May 17 08:46:28 UTC 2010
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);
More information about the svn-src-stable-7
mailing list