Re: [patch 09/14] security: dont pass nameidata to security_inode_permission()

From: James Morris
Date: Wed May 21 2008 - 18:53:29 EST


On Wed, 21 May 2008, Miklos Szeredi wrote:

> From: Miklos Szeredi <mszeredi@xxxxxxx>
>
> Only pass nameidata->flags instead of the nameidata to
> security_inode_permission(), synchronizing it with i_op->permission().
>
> Currently no security module uses the nameidata parameter.
>
> The other change in ->permission() is that a dentry is passed instead
> of an inode. Leave this till AppArmor integration, since that will
> need a struct path instead of an inode.
>
> Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
> CC: James Morris <jmorris@xxxxxxxxx>
> CC: Stephen Smalley <sds@xxxxxxxxxxxxx>
> CC: Eric Paris <eparis@xxxxxxxxxx>
> CC: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>

Acked-by: James Morris <jmorris@xxxxxxxxx>



--
James Morris
<jmorris@xxxxxxxxx>
--
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/