From owner-freebsd-current Wed Oct 16 9:49:22 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 DE80437B406 for ; Wed, 16 Oct 2002 09:49:21 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 758B243EAC for ; Wed, 16 Oct 2002 09:49:21 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 10766 invoked from network); 16 Oct 2002 16:49:20 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 16 Oct 2002 16:49:20 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g9GGnCn5039106; Wed, 16 Oct 2002 12:49:14 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200210142202.g9EM2Zt2004139@elgar.kettenis.dyndns.org> Date: Wed, 16 Oct 2002 12:49:14 -0400 (EDT) From: John Baldwin To: Mark Kettenis Subject: RE: [PATCH] Fix PT_IO ptrace(2) request Cc: freebsd-current@freebsd.org 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 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! -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message