Re: [TOMOYO #5 02/18] Add wrapper functions for VFS helper functions.

Christoph Hellwig
2007-11-19T12:53:56Z

On Fri, Nov 16, 2007 at 12:47:35PM -0500, Trond Myklebust wrote:
>
> On Sat, 2007-11-17 at 02:34 +0900, penguin-kernel@I-love.SAKURA.ne.jp
> wrote:
> > plain text document attachment
> > (add-wrapper-functions-for-vfs-helper-functions.patch)
> > This patch allows LSM hooks refer previously associated "struct vfsmount" parameter
> > so that they can calculate pathname of given "struct dentry".
>
> NACK to this. Passing function parameters through the task_struct is
> definitely not an acceptable hack

Exactly. Having a vfsmount other than the current processes root or
current working directory in task_struct doesn't make any sense.