aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2014-01-23 23:55:32 +0000
committerLinus Torvalds <[email protected]>2014-01-24 00:37:01 +0000
commit7288e1187ba935996232246916418c64bb88da30 (patch)
treeced1754f48f918acca47a0c4f4c3a5c8f35db39d /fs/proc/array.c
parentcoredump: set_dumpable: fix the theoretical race with itself (diff)
downloadkernel-7288e1187ba935996232246916418c64bb88da30.tar.gz
kernel-7288e1187ba935996232246916418c64bb88da30.zip
coredump: kill MMF_DUMPABLE and MMF_DUMP_SECURELY
Nobody actually needs MMF_DUMPABLE/MMF_DUMP_SECURELY, they are only used to enforce the encoding of SUID_DUMP_* enum in mm->flags & MMF_DUMPABLE_MASK. Now that set_dumpable() updates both bits atomically we can kill them and simply store the value "as is" in 2 lower bits. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Kees Cook <[email protected]> Cc: Alex Kelly <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Josh Triplett <[email protected]> Cc: Petr Matousek <[email protected]> Cc: Vasily Kulikov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions