From owner-p4-projects Mon Jun 10 23:30:54 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 231BB37B406; Mon, 10 Jun 2002 23:30:50 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4895037B400 for ; Mon, 10 Jun 2002 23:30:49 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5B6UnI30250 for perforce@freebsd.org; Mon, 10 Jun 2002 23:30:49 -0700 (PDT) (envelope-from julian@freebsd.org) Date: Mon, 10 Jun 2002 23:30:49 -0700 (PDT) Message-Id: <200206110630.g5B6UnI30250@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to julian@freebsd.org using -f From: Julian Elischer Subject: PERFORCE change 12687 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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