Re: getCWD in kernel space
- From: Roman Divacky <rdivacky@xxxxxxxxxxx>
- Date: Sat, 30 Jun 2007 20:13:13 +0200
On Sat, Jun 30, 2007 at 03:24:17PM +0000, Eren Erdemli wrote:
Hello hackers,
Sorry to disturb you's but I have a question and would like to know if you
can assist me.
I am new to freebsd programing and I am trying to get the current working
directory of the curthread.
I have hook on to the sys calls and redirected the mkdir
my_mkdir(struct thread *p, (void*) uap)
{
mkdir_args = .....................
........
getCWD()???????????
}
curthread->td_proc->p_fd->fd_cdir is a vnode of cwd
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Re: getCWD in kernel space
- From: Eren Erdemli
- Re: getCWD in kernel space
- Prev by Date: password againg and other policy enforcement
- Next by Date: Re: password againg and other policy enforcement
- Previous by thread: Re: getCWD in kernel space
- Next by thread: password againg and other policy enforcement
- Index(es):
Relevant Pages
|
|