]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f8fc7a39f636b54ac3b0f561eac62c04a01bbc7
tree47f07960ef637b6475061575e7ae2fa7a4732a78
parent2763ad06718d1d978745e0a1651ec73e0b672699
TOMOYO: Fix quota and garbage collector.

Commit 78f804b3 "TOMOYO: Add socket operation restriction support" and
commit afab5d18 "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