]> 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>
Wed, 3 Oct 2012 06:50:59 +0000 (16:50 +1000)
commitbba2f1fc5c94837ab73d18967d578d5a90fc483a
tree96b19595d0d0adb4c05a10835d8dd959b4457b75
parent58277ffd3c8d42323508b852501e6a5cddaf1686
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