Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 14:33:18 +0000
From:      Ferner Cilloniz <fernercc@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   working directory within kernel code
Message-ID:  <1229437998.4942.2.camel@mobiliare.Belkin>

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

-- 
Cilloniz Bicchi, Ferner

Research Assistant
Dept. of Computer Sciences
The University of Texas at Austin
http://www.cs.utexas.edu/~fernercc
fernercc@cs.utexas.edu




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