aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/domain.c')
-rw-r--r--security/tomoyo/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/domain.c b/security/tomoyo/domain.c
index fe621af46c2e..35317e783f34 100644
--- a/security/tomoyo/domain.c
+++ b/security/tomoyo/domain.c
@@ -960,7 +960,7 @@ int tomoyo_find_next_domain(struct linux_binprm *bprm)
960 } 960 }
961 961
962 /* Check execute permission. */ 962 /* Check execute permission. */
963 retval = tomoyo_check_exec_perm(&r, &rn); 963 retval = tomoyo_path_permission(&r, TOMOYO_TYPE_EXECUTE, &rn);
964 if (retval == TOMOYO_RETRY_REQUEST) 964 if (retval == TOMOYO_RETRY_REQUEST)
965 goto retry; 965 goto retry;
966 if (retval < 0) 966 if (retval < 0)