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

2007-11-19 Thread Tetsuo Handa
Hello. Christoph Hellwig wrote: > > 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. The process's

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

2007-11-19 Thread Christoph Hellwig
On Fri, Nov 16, 2007 at 12:47:35PM -0500, Trond Myklebust wrote: > > On Sat, 2007-11-17 at 02:34 +0900, [EMAIL PROTECTED] > wrote: > > plain text document attachment > > (add-wrapper-functions-for-vfs-helper-functions.patch) > > This patch allows LSM hooks refer previously associated "struct

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

2007-11-19 Thread Christoph Hellwig
On Fri, Nov 16, 2007 at 12:47:35PM -0500, Trond Myklebust wrote: On Sat, 2007-11-17 at 02:34 +0900, [EMAIL PROTECTED] wrote: plain text document attachment (add-wrapper-functions-for-vfs-helper-functions.patch) This patch allows LSM hooks refer previously associated struct vfsmount

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

2007-11-19 Thread Tetsuo Handa
Hello. Christoph Hellwig wrote: 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. The process's root and

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

2007-11-16 Thread Trond Myklebust
On Sat, 2007-11-17 at 02:34 +0900, [EMAIL PROTECTED] 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

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

2007-11-16 Thread penguin-kernel
This patch allows LSM hooks refer previously associated "struct vfsmount" parameter so that they can calculate pathname of given "struct dentry". Signed-off-by: Tetsuo Handa <[EMAIL PROTECTED]> --- include/linux/fs.h | 138 + 1 file changed,

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

2007-11-16 Thread penguin-kernel
This patch allows LSM hooks refer previously associated struct vfsmount parameter so that they can calculate pathname of given struct dentry. Signed-off-by: Tetsuo Handa [EMAIL PROTECTED] --- include/linux/fs.h | 138 + 1 file changed, 138

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

2007-11-16 Thread Trond Myklebust
On Sat, 2007-11-17 at 02:34 +0900, [EMAIL PROTECTED] 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.