From owner-freebsd-questions Sun Feb 10 23:28:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web21406.mail.yahoo.com (web21406.mail.yahoo.com [216.136.232.76]) by hub.freebsd.org (Postfix) with SMTP id F0DCF37B416 for ; Sun, 10 Feb 2002 23:28:50 -0800 (PST) Message-ID: <20020211072850.64224.qmail@web21406.mail.yahoo.com> Received: from [61.11.21.18] by web21406.mail.yahoo.com via HTTP; Sun, 10 Feb 2002 23:28:50 PST Date: Sun, 10 Feb 2002 23:28:50 -0800 (PST) From: abhijit vaidya Subject: how to get struct proc *p in kernel To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi all, I am developing an application on 4.3 Freebsd. I want to access NDINIT prior to namei to get struct nameidata *ndp. But NDINIT requires an argument called struct proc *p which is the context of the process. Is there exists a function that i will be able to access from kernel and that will return to me struct proc *p???? or is there any solution to get that? Thanking all in anticipation, Yours Sincerely, Abhijit Vaidya. __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message