TOMOYO: Add refcounter on domain structure.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Thu, 11 Feb 2010 00:43:20 +0000 (09:43 +0900)
committerJames Morris <jmorris@namei.org>
Sun, 14 Feb 2010 22:00:21 +0000 (09:00 +1100)
commitec8e6a4e062e2edebef91e930c20572c9f4c0dda
tree1c48fb2aa2220b3bdc138e0fb33e1ac632d0dffe
parent76bb0895d038be7bcdb6ccfcd2dd7deb30371d6b
TOMOYO: Add refcounter on domain structure.

Add refcounter to "struct tomoyo_domain_info" since garbage collector needs to
determine whether this struct is referred by "struct cred"->security or not.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/common.h
security/tomoyo/domain.c
security/tomoyo/tomoyo.c