Skip to content
Commit 7ae62e34 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Andy Whitcroft
Browse files

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: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: default avatarJohn Johansen <john.johansen@canonical.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
(cherry picked from commit fe542cf5

)

Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent df8516c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment