Tetsuo's suggestion and looking at the tomoyo source code helped me narrow down and fix the issue I was having. Thank you very much everyone.
On Nov 27, 2007 9:53 AM, Tetsuo Handa <[EMAIL PROTECTED]> wrote: > Hello. > > Andrew Blaich wrote: > > I have been unsuccessful in using dentry and vfsmnt from the current > > task_struct via the d_path() lookup function. > > Can't you get it from current->mm->mmap? > http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/security/tomoyo/common.c#L745 > Try d_path() instead of tmy_realpath_dentry(). > > Regards. > > - To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html