]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
coredump: use SUID_DUMPABLE_ENABLED rather than hardcoded 1
authorOleg Nesterov <oleg@redhat.com>
Fri, 28 Sep 2012 00:22:14 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:04:02 +0000 (15:04 +1000)
commit4deed69872032276047330bb05df93a98cc0f75a
tree20aef02d90527ddc9c1181f174a056098f67267d
parentdeaa7bde21cae9c495d16b1e005ded44078c2540
coredump: use SUID_DUMPABLE_ENABLED rather than hardcoded 1

Cosmetic. Change setup_new_exec() and task_dumpable() to use
SUID_DUMPABLE_ENABLED for /bin/grep.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/exec.c
fs/proc/internal.h