diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2009-06-22 20:54:53 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-06-23 00:19:58 +0200 |
commit | 20dda18be9035c487c2e9534e4d18d2a1e1deade (patch) | |
tree | 5d50d2727e1495ccd8fa2a2340332f25c290670c /kernel/ptrace.c | |
parent | TOMOYO: Remove next_domain from tomoyo_find_next_domain(). (diff) | |
download | linux-20dda18be9035c487c2e9534e4d18d2a1e1deade.tar.xz linux-20dda18be9035c487c2e9534e4d18d2a1e1deade.zip |
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>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions