Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2002 23:28:50 -0800 (PST)
From:      abhijit vaidya <sherlockabhi@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   how to get struct proc *p in kernel
Message-ID:  <20020211072850.64224.qmail@web21406.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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




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