From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 20 22:28:52 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D6E16A4DD for ; Sun, 20 Aug 2006 22:28:52 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2CC543D45 for ; Sun, 20 Aug 2006 22:28:51 +0000 (GMT) (envelope-from reko.turja@liukuma.net) Received: from moria.endor.swagman.org ([213.113.4.185] [213.113.4.185]) by mxfep02.bredband.com with ESMTP id <20060820222850.UHXS11843.mxfep02.bredband.com@moria.endor.swagman.org>; Mon, 21 Aug 2006 00:28:50 +0200 Received: from rivendell (rivendell.endor.swagman.org [192.168.10.10]) by moria.endor.swagman.org (Postfix) with SMTP id 5D3CFC; Mon, 21 Aug 2006 01:28:49 +0300 (EEST) Message-ID: <030e01c6c4a8$094144a0$0a0aa8c0@rivendell> From: "Reko Turja" To: "Mike Meyer" References: <017601c6c486$6477c370$0a0aa8c0@rivendell> <17640.52899.432083.511555@bhuda.mired.org> Date: Mon, 21 Aug 2006 01:29:00 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Cc: freebsd-hackers@freebsd.org Subject: Re: Aqcuiring full path to running process from outside the kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2006 22:28:52 -0000 Of course I did find about the CTL_KERN.KERN_PROC.KERN_PROC_PATHNAME sysctl method of grabbing the path just about the same time Mike replied to my query... Seems that either of the ways suggested by Mike could be used as fallback. Sorry about the noise. -Reko