From owner-freebsd-hackers Tue Jun 11 12:24: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.openet-telecom.com (mail.openet-telecom.com [62.17.151.60]) by hub.freebsd.org (Postfix) with ESMTP id D29AB37B401 for ; Tue, 11 Jun 2002 12:24:00 -0700 (PDT) Received: from gpo.openet-telecom.lan (unverified) by mail.openet-telecom.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Tue, 11 Jun 2002 20:35:48 +0100 Received: from openet-telecom.com (10.0.0.40) by gpo.openet-telecom.lan (NPlex 6.5.007) id 3CF373520000B568; Tue, 11 Jun 2002 20:20:44 +0100 Message-ID: <3D064E4E.3060100@openet-telecom.com> Date: Tue, 11 Jun 2002 20:23:58 +0100 From: Peter Edwards User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020610 X-Accept-Language: en-us, en MIME-Version: 1.0 To: silent Cc: hackers@freebsd.org Subject: Re: ptrace problem References: <20020611175940.GA22937@security.is> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG silent wrote: > Hi! > > there is a problem in ptrace code or my understanding of how > it should work. man page says taht PT_DETACH acts same way > PT_CONTIUNE does, but when i try to detach from process with > PT_DETACH delayed? sigstop is delivered, and process becomes > suspended. Valid solution/workaround seems to be in calling > PT_CONTINUE with sigcont, and PT_DETACH after it. > > Example is attached. Please cc me a reply:) > Thanks Does the patch in kern/35175 fix the problem? -- Peter Edwards, Openet Telecom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message