TOMOYO: Remove memory pool for list elements.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 4 Jan 2010 21:39:37 +0000 (06:39 +0900)
committerJames Morris <jmorris@namei.org>
Sun, 10 Jan 2010 22:27:40 +0000 (09:27 +1100)
commitcd7bec6ad80188394a8ea857ff1aa3512fc2282a
tree598e7d59c29966e0d8fa8abf24eb51bbb2f567a6
parente41035a996356c257183e53a70abfb46fa84908b
TOMOYO: Remove memory pool for list elements.

Currently, TOMOYO allocates memory for list elements from memory pool allocated
by kmalloc(PAGE_SIZE). But that makes it difficult to kfree() when garbage
collector is added. Thus, remove memory pool and use kmalloc(sizeof()).

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/realpath.c
security/tomoyo/realpath.h