mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
commite579d2c259upstream. The existing SUID_DUMP_* defines duplicate the newer SUID_DUMPABLE_* defines introduced in54b501992d("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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> [ kamal: 3.8 stable prereq ford049f74exec/ptrace: fix get_dumpable() incorrect tests ] Signed-off-by: Kamal Mostafa <kamal@canonical.com>