android_kernel_motorola_sm6375/security/tomoyo
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: Toshiharu Harada <[email protected]>
Signed-off-by: James Morris <[email protected]>
2009-02-23 09:45:05 +11:00
..
common.c TOMOYO: Don't create securityfs entries unless registered. 2009-02-16 09:01:48 +11:00
common.h
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
Kconfig Kconfig and Makefile 2009-02-12 15:19:00 +11:00
Makefile Kconfig and Makefile 2009-02-12 15:19:00 +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