]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
coredump: use SUID_DUMPABLE_ENABLED rather than hardcoded 1
authorOleg Nesterov <oleg@redhat.com>
Wed, 26 Sep 2012 01:34:53 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:28:46 +0000 (17:28 +1000)
commitdc0504aba78cc84d68668701345b957b39f09d7e
treef8e4a3779b7fb9f643759e95cc14311e322cf46c
parente03c4ca9691d6801a79fcbaed83e864061ff195d
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