On Fri, Jan 25, 2008 at 07:20:56PM +0900, Kentaro Takeda wrote: > In the LSM ml, we are discussing about > "how to know requested pathnames within LSM modules". > > Currently, VFS helper functions don't pass "struct vfsmount" parameter. > Therefore, we cannot calculate requested pathnames within LSM modules > because LSM hooks can't know "struct vfsmount" parameter that corresponds with > "struct dentry" passed to VFS helper functions. > > AppArmor is proposing a patch that appends "struct vfsmount" parameters to > VFS helper functions so that LSM modules (SELinux, AppArmor, TOMOYO) can > calculate requested pathnames. > > The changes in include/linux/fs.h are shown below. > What do you think about these changes? That they are bloody *wrong*. You have not addressed any of the objections that had been posted too many times to repeat. Damn it, you've not even bothered to deal with the specific obvious stupidity with vfs_rename() - just reposted the dreck and devil take all feedback. Wonderful... - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html