working directory within kernel code

Ferner Cilloniz fernercc at gmail.com
Tue Dec 16 12:33:22 PST 2008


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 at cs.utexas.edu



More information about the freebsd-net mailing list