TOMOYO: Cleanup part 3.
commit0df7e8b8f1c25c10820bdc679555f2fbfb897ca0
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sun, 26 Jun 2011 14:16:36 +0000 (26 23:16 +0900)
committerJames Morris <jmorris@namei.org>
Tue, 28 Jun 2011 23:31:19 +0000 (29 09:31 +1000)
tree626a0304fceec0bbee93e43a24bc0f813fe230b7
parentb5bc60b4ce313b6dbb42e7d32915dcf0a07c2a68
TOMOYO: Cleanup part 3.

Use common structure for ACL with "struct list_head" + "atomic_t".
Use array/struct where possible.
Remove is_group from "struct tomoyo_name_union"/"struct tomoyo_number_union".
Pass "struct file"->private_data rather than "struct file".
Update some of comments.
Bring tomoyo_same_acl_head() from common.h to domain.c .
Bring tomoyo_invalid()/tomoyo_valid() from common.h to util.c .

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/common.c
security/tomoyo/common.h
security/tomoyo/domain.c
security/tomoyo/file.c
security/tomoyo/gc.c
security/tomoyo/memory.c
security/tomoyo/mount.c
security/tomoyo/securityfs_if.c
security/tomoyo/util.c