]> git.karo-electronics.de Git - karo-tx-linux.git/commit
coredump: remove redundant defines for dumpable states
authorKees Cook <keescook@chromium.org>
Thu, 7 Feb 2013 01:27:55 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:22 +0000 (16:47 +1100)
commit5d5728c78fb79d2a8509aba461188078b7c506c8
tree017dbecf9ab3703e58e24938e93a3acfd1f5ecdc
parent0e6c1e202ca0d9b6fca63f6362f6fd1415388f5f
coredump: remove redundant defines for dumpable states

The existing SUID_DUMP_* defines duplicate the newer SUID_DUMPABLE_*
defines introduced in 54b501992dd ("coredump: warn about unsafe
suid_dumpable / core_pattern combo").  Remove the new ones, and use the
prior values instead.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reported-by: Chen Gang <gang.chen@asianux.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alan Cox <alan@linux.intel.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
Cc: James Morris <james.l.morris@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/coredump.c
fs/exec.c
fs/proc/internal.h
include/linux/sched.h
kernel/sysctl.c