diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2010-02-15 18:03:30 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-02-15 19:17:16 -0500 |
commit | 7ef612331fb219620cc1abfc2446bb027d388aa0 (patch) | |
tree | 3912acecc7437303e824d26a9ae124b765ce35d3 /security/tomoyo/gc.c | |
parent | 084da356f6e55ce42f1d2739178502023908c107 (diff) |
TOMOYO: Use shorter names.
Use shorter name to reduce newlines needed for 80 columns limit.
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/gc.c')
-rw-r--r-- | security/tomoyo/gc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/security/tomoyo/gc.c b/security/tomoyo/gc.c index ee15da39387d..9645525ccdd4 100644 --- a/security/tomoyo/gc.c +++ b/security/tomoyo/gc.c | |||
@@ -86,16 +86,16 @@ static void tomoyo_del_manager(struct tomoyo_policy_manager_entry *ptr) | |||
86 | static void tomoyo_del_acl(struct tomoyo_acl_info *acl) | 86 | static void tomoyo_del_acl(struct tomoyo_acl_info *acl) |
87 | { | 87 | { |
88 | switch (acl->type) { | 88 | switch (acl->type) { |
89 | case TOMOYO_TYPE_SINGLE_PATH_ACL: | 89 | case TOMOYO_TYPE_PATH_ACL: |
90 | { | 90 | { |
91 | struct tomoyo_single_path_acl_record *entry | 91 | struct tomoyo_path_acl *entry |
92 | = container_of(acl, typeof(*entry), head); | 92 | = container_of(acl, typeof(*entry), head); |
93 | tomoyo_put_name(entry->filename); | 93 | tomoyo_put_name(entry->filename); |
94 | } | 94 | } |
95 | break; | 95 | break; |
96 | case TOMOYO_TYPE_DOUBLE_PATH_ACL: | 96 | case TOMOYO_TYPE_PATH2_ACL: |
97 | { | 97 | { |
98 | struct tomoyo_double_path_acl_record *entry | 98 | struct tomoyo_path2_acl *entry |
99 | = container_of(acl, typeof(*entry), head); | 99 | = container_of(acl, typeof(*entry), head); |
100 | tomoyo_put_name(entry->filename1); | 100 | tomoyo_put_name(entry->filename1); |
101 | tomoyo_put_name(entry->filename2); | 101 | tomoyo_put_name(entry->filename2); |
@@ -238,18 +238,18 @@ static void tomoyo_collect_entry(void) | |||
238 | list_for_each_entry_rcu(acl, &domain->acl_info_list, | 238 | list_for_each_entry_rcu(acl, &domain->acl_info_list, |
239 | list) { | 239 | list) { |
240 | switch (acl->type) { | 240 | switch (acl->type) { |
241 | case TOMOYO_TYPE_SINGLE_PATH_ACL: | 241 | case TOMOYO_TYPE_PATH_ACL: |
242 | if (container_of(acl, | 242 | if (container_of(acl, |
243 | struct tomoyo_single_path_acl_record, | 243 | struct tomoyo_path_acl, |
244 | head)->perm || | 244 | head)->perm || |
245 | container_of(acl, | 245 | container_of(acl, |
246 | struct tomoyo_single_path_acl_record, | 246 | struct tomoyo_path_acl, |
247 | head)->perm_high) | 247 | head)->perm_high) |
248 | continue; | 248 | continue; |
249 | break; | 249 | break; |
250 | case TOMOYO_TYPE_DOUBLE_PATH_ACL: | 250 | case TOMOYO_TYPE_PATH2_ACL: |
251 | if (container_of(acl, | 251 | if (container_of(acl, |
252 | struct tomoyo_double_path_acl_record, | 252 | struct tomoyo_path2_acl, |
253 | head)->perm) | 253 | head)->perm) |
254 | continue; | 254 | continue; |
255 | break; | 255 | break; |