linux/security/tomoyo
Tetsuo Handa 1581e7ddbd TOMOYO: Do not call tomoyo_realpath_init unless registered.
tomoyo_realpath_init() is unconditionally called by security_initcall().
But nobody will use realpath related functions if TOMOYO is not registered.

So, let tomoyo_init() call tomoyo_realpath_init().

This patch saves 4KB of memory allocation if TOMOYO is not registered.

Signed-off-by: Kentaro Takeda <takedakn@nttdata.co.jp>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Toshiharu Harada <haradats@nttdata.co.jp>
Signed-off-by: James Morris <jmorris@namei.org>
2009-02-23 09:45:05 +11:00
..
Kconfig Kconfig and Makefile 2009-02-12 15:19:00 +11:00
Makefile Kconfig and Makefile 2009-02-12 15:19:00 +11:00
common.c TOMOYO: Don't create securityfs entries unless registered. 2009-02-16 09:01:48 +11:00
common.h Common functions for TOMOYO Linux. 2009-02-12 15:15:04 +11:00
domain.c TOMOYO: Fix exception policy read failure. 2009-02-14 12:33:30 +11:00
file.c File operation restriction part. 2009-02-12 15:15:05 +11:00
realpath.c TOMOYO: Do not call tomoyo_realpath_init unless registered. 2009-02-23 09:45:05 +11:00
realpath.h TOMOYO: Do not call tomoyo_realpath_init unless registered. 2009-02-23 09:45:05 +11:00
tomoyo.c TOMOYO: Do not call tomoyo_realpath_init unless registered. 2009-02-23 09:45:05 +11:00
tomoyo.h LSM adapter functions. 2009-02-12 15:15:05 +11:00