TOMOYO: Fix quota and garbage collector.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Tue, 11 Oct 2011 05:06:41 +0000 (14:06 +0900)
committerJames Morris <jmorris@namei.org>
Wed, 12 Oct 2011 01:15:20 +0000 (12:15 +1100)
commit545a7260343bbaf11c7f1a4b8c3d9660bb9266e5
tree47f07960ef637b6475061575e7ae2fa7a4732a78
parente2b8b25a6795488eba7bb757706b3ac725c31fac
TOMOYO: Fix quota and garbage collector.

Commit 059d84db "TOMOYO: Add socket operation restriction support" and
commit 731d37aa "TOMOYO: Allow domain transition without execve()." forgot to
update tomoyo_domain_quota_is_ok() and tomoyo_del_acl() which results in
incorrect quota counting and memory leak.

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