linux-stable-rt/security/tomoyo
Dan Carpenter 68eda8f590 tomoyo: cleanup. don't store bogus pointer
If domain is NULL then &domain->list is a bogus address.  Let's leave
head->r.domain NULL instead of saving an unusable pointer.

This is just a cleanup.  The current code always checks head->r.eof
before dereferencing head->r.domain.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
2010-10-21 10:12:32 +11:00
..
Kconfig
Makefile
common.c
common.h
domain.c
file.c
gc.c
group.c
load_policy.c
memory.c
mount.c
realpath.c
securityfs_if.c
tomoyo.c
util.c