]> git.karo-electronics.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>
Fri, 5 Oct 2012 04:01:38 +0000 (14:01 +1000)
commit09ea0a732e03df44450116e5ba36803efcb098e6
treeec17d2b0f76d97e0147585d1fc50ae49f924780f
parentb990b152d4d348359484a0f1481a641f646490d1
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