linux-security-module November 2007 archive
Main Archive Page > Month Archives  > linux-security-module archives
linux-security-module: Re: Path of task via LSM

Re: Path of task via LSM

From: Andrew Blaich <ablaich_at_nospam>
Date: Tue Nov 27 2007 - 15:17:59 GMT
To: "Tetsuo Handa" <penguin-kernel@i-love.sakura.ne.jp>


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
<penguin-kernel@i-love.sakura.ne.jp> 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html