summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJann Horn <jann@thejh.net>2015-04-19 02:48:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-29 10:22:18 +0200
commitbdb29adaff1b4b558f19c7efa0b24629728cbc2b (patch)
tree1e99bf6da47b992764d7c33bac9a47c58360b075 /Makefile
parentd968c92507a89d90ea8926658b139589683c59f9 (diff)
fs: take i_mutex during prepare_binprm for set[ug]id executables
commit 8b01fc86b9f425899f8a3a8fc1c47d73c2c20543 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions