aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/file.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/file.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/file.c')
-rw-r--r--security/tomoyo/file.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/security/tomoyo/file.c b/security/tomoyo/file.c
index a67f9e61ee60..ab0cd3538510 100644
--- a/security/tomoyo/file.c
+++ b/security/tomoyo/file.c
@@ -1012,13 +1012,11 @@ int tomoyo_check_file_perm(struct tomoyo_domain_info *domain,
1012 * 1012 *
1013 * @domain: Pointer to "struct tomoyo_domain_info". 1013 * @domain: Pointer to "struct tomoyo_domain_info".
1014 * @filename: Check permission for "execute". 1014 * @filename: Check permission for "execute".
1015 * @tmp: Buffer for temporary use.
1016 * 1015 *
1017 * Returns 0 on success, negativevalue otherwise. 1016 * Returns 0 on success, negativevalue otherwise.
1018 */ 1017 */
1019int tomoyo_check_exec_perm(struct tomoyo_domain_info *domain, 1018int tomoyo_check_exec_perm(struct tomoyo_domain_info *domain,
1020 const struct tomoyo_path_info *filename, 1019 const struct tomoyo_path_info *filename)
1021 struct tomoyo_page_buffer *tmp)
1022{ 1020{
1023 const u8 mode = tomoyo_check_flags(domain, TOMOYO_MAC_FOR_FILE); 1021 const u8 mode = tomoyo_check_flags(domain, TOMOYO_MAC_FOR_FILE);
1024 1022