diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2009-11-22 05:49:55 +0300 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-11-24 00:49:26 +0300 |
commit | fe542cf59bf0b31afe72b9e9749c0f6645419fa0 (patch) | |
tree | fcb1273863e96f4dd8206578f59ccaabceb46415 /kernel/capability.c | |
parent | 85c3b529f8ad4d65ba86b982ef050212ae7dd976 (diff) | |
download | linux-fe542cf59bf0b31afe72b9e9749c0f6645419fa0.tar.xz |
LSM: Move security_path_chmod()/security_path_chown() to after mutex_lock().
We should call security_path_chmod()/security_path_chown() after mutex_lock()
in order to avoid races.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions