kernel_optimize_test/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
..
common.c tomoyo: cleanup. don't store bogus pointer 2010-10-21 10:12:32 +11:00
common.h TOMOYO: Don't abuse sys_getpid(), sys_getppid() 2010-09-27 10:53:18 +10:00
domain.c TOMOYO: Use pathname specified by policy rather than execve() 2010-08-02 15:38:38 +10:00
file.c TOMOYO: Use pathname specified by policy rather than execve() 2010-08-02 15:38:38 +10:00
gc.c TOMOYO: Rename symbols. 2010-08-02 15:34:54 +10:00
group.c TOMOYO: Use pathname specified by policy rather than execve() 2010-08-02 15:38:38 +10:00
Kconfig Kconfig and Makefile 2009-02-12 15:19:00 +11:00
load_policy.c TOMOYO: Split files into some pieces. 2010-08-02 15:33:39 +10:00
Makefile TOMOYO: Merge path_group and number_group. 2010-08-02 15:34:42 +10:00
memory.c TOMOYO: Rename symbols. 2010-08-02 15:34:54 +10:00
mount.c TOMOYO: Use pathname specified by policy rather than execve() 2010-08-02 15:38:38 +10:00
realpath.c TOMOYO: Remove alias keyword. 2010-08-02 15:34:42 +10:00
securityfs_if.c TOMOYO: Explicitly set file_operations->llseek pointer. 2010-08-02 15:34:57 +10:00
tomoyo.c TOMOYO: Rename symbols. 2010-08-02 15:34:33 +10:00
util.c TOMOYO: Fix quota check. 2010-08-02 15:35:09 +10:00