diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2010-05-16 21:08:05 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-08-02 01:33:36 -0400 |
commit | cb0abe6a5b58499bd4bc1403f4987af9ead0642c (patch) | |
tree | 3a48c36dcfe0cfe1e4b6f3faf5ca3e7fae4327c7 /security/tomoyo/domain.c | |
parent | 4c3e9e2ded48bcf696a45945ea7d25bb15b873fd (diff) |
TOMOYO: Use structure for passing common arguments.
Use "struct tomoyo_request_info" instead of passing individual arguments.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/domain.c b/security/tomoyo/domain.c index cd8ba4446763..afdf26128bfe 100644 --- a/security/tomoyo/domain.c +++ b/security/tomoyo/domain.c | |||
@@ -691,7 +691,7 @@ int tomoyo_find_next_domain(struct linux_binprm *bprm) | |||
691 | char *real_program_name = NULL; | 691 | char *real_program_name = NULL; |
692 | char *symlink_program_name = NULL; | 692 | char *symlink_program_name = NULL; |
693 | const u8 mode = tomoyo_check_flags(old_domain, TOMOYO_MAC_FOR_FILE); | 693 | const u8 mode = tomoyo_check_flags(old_domain, TOMOYO_MAC_FOR_FILE); |
694 | const bool is_enforce = (mode == 3); | 694 | const bool is_enforce = (mode == TOMOYO_CONFIG_ENFORCING); |
695 | int retval = -ENOMEM; | 695 | int retval = -ENOMEM; |
696 | struct tomoyo_path_info r; /* real name */ | 696 | struct tomoyo_path_info r; /* real name */ |
697 | struct tomoyo_path_info s; /* symlink name */ | 697 | struct tomoyo_path_info s; /* symlink name */ |