Skip site navigation (1)Skip section navigation (2)
Date:      06 Oct 2001 10:40:54 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Robert Watson <rwatson@FreeBSD.ORG>
Cc:        Peter Wemm <peter@wemm.org>, arch@FreeBSD.ORG
Subject:   Re: Removing ptrace(2)'s dependency on procfs(5)
Message-ID:  <xzpd741rwix.fsf@flood.ping.uio.no>
In-Reply-To: <Pine.NEB.3.96L.1011005230944.57665A-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1011005230944.57665A-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson <rwatson@FreeBSD.ORG> writes:
>     Instead, modify p_candebug() to allow debugging of p1 by p1 always.

Should I also change p_candebug() to always deny the request if p2 is
a system process?  That will save quite a lot of checks in ptrace()
and procfs, and possibly some other places as well.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpd741rwix.fsf>