commit | fe542cf59bf0b31afe72b9e9749c0f6645419fa0 | [log] [tgz] |
---|---|---|
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | Sun Nov 22 11:49:55 2009 +0900 |
committer | James Morris <jmorris@namei.org> | Tue Nov 24 08:49:26 2009 +1100 |
tree | fcb1273863e96f4dd8206578f59ccaabceb46415 | |
parent | 85c3b529f8ad4d65ba86b982ef050212ae7dd976 [diff] |
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>