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

From: Christoph Hellwig
Date: Mon Nov 19 2007 - 07:53:56 EST


On Fri, Nov 16, 2007 at 12:47:35PM -0500, Trond Myklebust wrote:
>
> On Sat, 2007-11-17 at 02:34 +0900, penguin-kernel@xxxxxxxxxxxxxxxxxxx
> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/