]> 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>
Tue, 2 Oct 2012 06:00:33 +0000 (16:00 +1000)
commit311d9d218966f1c87e7a4833c1f8c53bade34013
treeeea661320bc5ed81650e1db0958b5b01e7e4e847
parentf0ab670db5968f5100b0d68829a5330b6279fc78
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