commit | 20dda18be9035c487c2e9534e4d18d2a1e1deade | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Mon Jun 22 14:54:53 2009 -0400 |
committer | James Morris <jmorris@namei.org> | Tue Jun 23 08:19:58 2009 +1000 |
tree | 5d50d2727e1495ccd8fa2a2340332f25c290670c | |
parent | 56f8c9bc410deb55f21698e6a0d59f559ae1d794 [diff] |
selinux: restore optimization to selinux_file_permission Restore the optimization to skip revalidation in selinux_file_permission if nothing has changed since the dentry_open checks, accidentally removed by 389fb800. Also remove redundant test from selinux_revalidate_file_permission. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Reviewed-by: Paul Moore <paul.moore@hp.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>