aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/domain.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>2009-06-04 02:14:34 -0400
committerJames Morris <jmorris@namei.org>2009-06-04 03:35:18 -0400
commitbcb86975dbcc24f820f1a37918d53914af29ace7 (patch)
tree887bf8bd4d7d896a1357a21ad1df576e5f3ad3b9 /security/tomoyo/domain.c
parente0a94c2a63f2644826069044649669b5e7ca75d3 (diff)
TOMOYO: Remove unused parameter.
TOMOYO 2.2.0 does not check argv[] and envp[] upon execve(). We don't need to pass "struct tomoyo_page_buffer". Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
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 34bb641c674..eb75401fd6b 100644
--- a/security/tomoyo/domain.c
+++ b/security/tomoyo/domain.c
@@ -721,7 +721,7 @@ int tomoyo_find_next_domain(struct linux_binprm *bprm,
721 } 721 }
722 722
723 /* Check execute permission. */ 723 /* Check execute permission. */
724 retval = tomoyo_check_exec_perm(old_domain, &r, tmp); 724 retval = tomoyo_check_exec_perm(old_domain, &r);
725 if (retval < 0) 725 if (retval < 0)
726 goto out; 726 goto out;
727 727