mirror of
https://github.com/torvalds/linux.git
synced 2026-07-18 19:47:46 +02:00
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> |
||
|---|---|---|
| .. | ||
| common.c | ||
| common.h | ||
| domain.c | ||
| file.c | ||
| Kconfig | ||
| Makefile | ||
| realpath.c | ||
| realpath.h | ||
| tomoyo.c | ||
| tomoyo.h | ||