Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 13:11:33 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Ferner Cilloniz <fernercc@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: working directory within kernel code
Message-ID:  <49481985.3080101@elischer.org>
In-Reply-To: <1229437998.4942.2.camel@mobiliare.Belkin>
References:  <1229437998.4942.2.camel@mobiliare.Belkin>

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



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