commit | 89eda06837094ce9f34fae269b8773fcfd70f046 | [log] [tgz] |
---|---|---|
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | Sun Oct 04 21:49:47 2009 +0900 |
committer | James Morris <jmorris@namei.org> | Mon Oct 12 10:56:00 2009 +1100 |
tree | dc11701c68ebcc8346d7567cfb53b9c7327ef445 | |
parent | 941fc5b2bf8f7dd1d0a9c502e152fa719ff6578e [diff] |
LSM: Add security_path_chmod() and security_path_chown(). 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>