LSM: Add security_path_chroot().
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sun, 4 Oct 2009 12:49:48 +0000 (21:49 +0900)
committerJames Morris <jmorris@namei.org>
Sun, 11 Oct 2009 23:56:02 +0000 (10:56 +1100)
commit8b8efb44033c7e86b3dc76f825c693ec92ae30e9
tree8cf43afc59f88f36a86f3a8165770bccec28b3c3
parent89eda06837094ce9f34fae269b8773fcfd70f046
LSM: Add security_path_chroot().

This patch allows pathname based LSM modules to check chroot() operations.

This hook is used by TOMOYO.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
fs/open.c
include/linux/security.h
security/capability.c
security/security.c