diff options
author | 2015-04-19 02:48:39 +0200 | |
---|---|---|
committer | 2015-04-19 13:46:21 -0700 | |
commit | 8b01fc86b9f425899f8a3a8fc1c47d73c2c20543 (patch) | |
tree | 99e05c7758aed78cfaf10556cbe7057efaa5c02c /scripts/gdb/linux/modules.py | |
parent | smp: Fix error case handling in smp_call_function_*() (diff) | |
download | wireguard-linux-8b01fc86b9f425899f8a3a8fc1c47d73c2c20543.tar.xz wireguard-linux-8b01fc86b9f425899f8a3a8fc1c47d73c2c20543.zip |
fs: take i_mutex during prepare_binprm for set[ug]id executables
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>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions