working directory within kernel code
Julian Elischer
julian at elischer.org
Tue Dec 16 13:39:59 PST 2008
Ferner Cilloniz wrote:
> I am trying to determine the current working directory when a system
> call is issued. im interested in determining this from a kernel module.
>
> however, because system calls are only given a thread* and a void*,
> which gets casted, is there any way i find out the cwd?
>
> thanks.
>
(why 'net@' ?) (try hackers@)
it depends if you want the NAME of the working directory or
a pointer to it's vnode, (or something similar).
More information about the freebsd-net
mailing list