git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5224b96
)
fs: take i_mutex during prepare_binprm for set[ug]id executables
author
Jann Horn
<jann@thejh.net>
Sun, 19 Apr 2015 00:48:39 +0000
(
02:48
+0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 19 Apr 2015 20:46:21 +0000
(13:46 -0700)
This prevents a race between chown() and execve(), where chowning a
setuid-user binary to root would momentarily make the binary setuid
root.
This patch was mostly written by Linus Torvalds.
Signed-off-by: Jann Horn <jann@thejh.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c
patch
|
blob
|
history
diff --cc
fs/exec.c
Simple merge