diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2010-01-26 20:45:27 +0900 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-01-27 08:20:48 +1100 |
commit | 8e2d39a1665e680c095545993aac2fcac6916eb9 (patch) | |
tree | 41687f7e7f4fb37416b7948b6d2e09d0a383459b /security/tomoyo/common.h | |
parent | 7d52a155e38d5a165759dbbee656455861bf7801 (diff) | |
download | kernel_samsung_tuna-8e2d39a1665e680c095545993aac2fcac6916eb9.zip kernel_samsung_tuna-8e2d39a1665e680c095545993aac2fcac6916eb9.tar.gz kernel_samsung_tuna-8e2d39a1665e680c095545993aac2fcac6916eb9.tar.bz2 |
TOMOYO: Remove usage counter for temporary memory.
TOMOYO was using own memory usage counter for detecting memory leak.
But as kernel 2.6.31 introduced memory leak detection mechanism
( CONFIG_DEBUG_KMEMLEAK ), we no longer need to have own counter.
We remove usage counter for memory used for permission checks, but we keep
usage counter for memory used for policy so that we can apply quota.
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/common.h')
-rw-r--r-- | security/tomoyo/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h index 610a6a0..8b59ec8 100644 --- a/security/tomoyo/common.h +++ b/security/tomoyo/common.h @@ -89,7 +89,7 @@ struct tomoyo_path_info { * "struct tomoyo_path_info_with_data". */ struct tomoyo_path_info_with_data { - /* Keep "head" first, for this pointer is passed to tomoyo_free(). */ + /* Keep "head" first, for this pointer is passed to kfree(). */ struct tomoyo_path_info head; char barrier1[16]; /* Safeguard for overrun. */ char body[TOMOYO_MAX_PATHNAME_LEN]; |