From owner-freebsd-current Thu Oct 17 14:55:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2598637B40E; Thu, 17 Oct 2002 14:55:09 -0700 (PDT) Received: from walton.kettenis.dyndns.org (a169250.upc-a.chello.nl [62.163.169.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94EC543E9E; Thu, 17 Oct 2002 14:55:07 -0700 (PDT) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.5/8.12.5) with ESMTP id g9HLt51L005176; Thu, 17 Oct 2002 23:55:05 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6/8.12.6) with ESMTP id g9HLt55w000989; Thu, 17 Oct 2002 23:55:05 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6/8.12.6/Submit) id g9HLt5vV000986; Thu, 17 Oct 2002 23:55:05 +0200 (CEST) Date: Thu, 17 Oct 2002 23:55:05 +0200 (CEST) Message-Id: <200210172155.g9HLt5vV000986@elgar.kettenis.dyndns.org> From: Mark Kettenis To: jhb@FreeBSD.org Cc: freebsd-current@FreeBSD.org In-reply-to: (message from John Baldwin on Wed, 16 Oct 2002 12:49:14 -0400 (EDT)) Subject: Re: [PATCH] Fix PT_IO ptrace(2) request References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Date: Wed, 16 Oct 2002 12:49:14 -0400 (EDT) From: John Baldwin On 14-Oct-2002 Mark Kettenis wrote: > The new PT_IO ptrace(2) request doesn't work, since it doesn't release > a lock. Since PT_IO is similar to PT_READ_D/PT_WRITE_D, I copied the > PROC_UNLOCK from there and inserted in the same location. Patch, > against version 1.103 of sys_process.c, attached. Good catch, I've committed it. Thanks! Thanks, I'll exploit the PT_IO stuff in the FSF GDB sources in the near future. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message