LSM: Add security_path_chmod() and security_path_chown().
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sun, 4 Oct 2009 12:49:47 +0000 (21:49 +0900)
committerJames Morris <jmorris@namei.org>
Sun, 11 Oct 2009 23:56:00 +0000 (10:56 +1100)
This patch allows pathname based LSM modules to check chmod()/chown()
operations. Since notify_change() does not receive "struct vfsmount *",
we add security_path_chmod() and security_path_chown() to the caller of
notify_change().

These hooks are used by TOMOYO.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found