Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 23:30:49 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 12687 for review
Message-ID:  <200206110630.g5B6UnI30250@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12687

Change 12687 by julian@julian_jules1 on 2002/06/10 23:29:52

	catch a case of the old p_stat that slipped past previous checks

Affected files ...

... //depot/projects/kse/sys/i386/linux/linux_ptrace.c#3 edit

Differences ...

==== //depot/projects/kse/sys/i386/linux/linux_ptrace.c#3 (text+ko) ====

@@ -409,7 +409,7 @@
 		}
 
 		/* not currently stopped */
-		if (p->p_stat != SSTOP || (p->p_flag & P_WAITED) == 0) {
+		if ((p->p_flag & (P_TRACED|P_WAITED)) == 0) {
 			error = EBUSY;
 			goto fail;
 		}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206110630.g5B6UnI30250>