Skip to content
Commit 54b50199 authored by Kees Cook's avatar Kees Cook Committed by Linus Torvalds
Browse files

coredump: warn about unsafe suid_dumpable / core_pattern combo



When suid_dumpable=2, detect unsafe core_pattern settings and warn when
they are seen.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Suggested-by: default avatarAndrew Morton <akpm@linux-foundation.org>
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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9520628e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment