* Lorenzo Hernández García-Hierro ([EMAIL PROTECTED]) wrote: > As commented yesterday, I was going to release a few more hooks for some > *critical* syscalls, this one adds a hook to sys_chmod(), and makes us > able to apply checks and logics before releasing the operation to > sys_chmod().
This is exactly the kind of hook we've tried to avoid. This is really asking for permission to alter inode attribute data. This type of hook is incomplete because there are other ways to alter this data, and this access is already controlled by the inode_setattr hook (as Tony mentioned). So this is a no go. thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/