Re: [PATCH] selinux: Improving SELinux read/write performance

From: James Morris
Date: Mon Sep 17 2007 - 17:57:47 EST


On Mon, 17 Sep 2007, Stephen Smalley wrote:

> > It reduces the selinux overhead on read/write by only revalidating
> > permissions in selinux_file_permission if the task or inode labels have
> > changed or the policy has changed since the open-time check. A new LSM
> > hook, security_dentry_open, is added to capture the necessary state at
> > open time to allow this optimization.
> >
> > Signed-off-by: Yuichi Nakamura<ynakam@xxxxxxxxxxxxxx>
>
> Thanks, looks good.
>
> Acked-by: Stephen Smalley <sds@xxxxxxxxxxxxx>

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-akpm


--
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/