From owner-freebsd-bugs Fri Feb 1 11:50: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ACBB837B405 for ; Fri, 1 Feb 2002 11:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g11Jo1c71985; Fri, 1 Feb 2002 11:50:01 -0800 (PST) (envelope-from gnats) Date: Fri, 1 Feb 2002 11:50:01 -0800 (PST) Message-Id: <200202011950.g11Jo1c71985@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dave Zarzycki Subject: Re: kern/29741: ptrace(pid);ptrace(ppid) makes pid and ppid unkillable Reply-To: Dave Zarzycki Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/29741; it has been noted by GNATS. From: Dave Zarzycki To: "Tim J. Robbins" Cc: freebsd-gnats-submit@FreeBSD.org, Dave Zarzycki Subject: Re: kern/29741: ptrace(pid);ptrace(ppid) makes pid and ppid unkillable Date: Fri, 1 Feb 2002 11:41:41 -0800 (PST) On Sun, 27 Jan 2002, Tim J. Robbins wrote: > I can reproduce this problem with 4.5-RC. The problem seems to be that > ptrace() allows a process to attach to its owner. I've attached a patch > for both RELENG_4 and -CURRENT that seems to correct the problem. When > I try to reproduce it now: The patch doesn't solve the gdb -> gdb -> gdb -> grandparent-pid... davez -- Dave Zarzycki Darwin & Mac OS X Apple Computer, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message