]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
coredump: make __get_dumpable/get_dumpable inline, kill fs/coredump.h
authorOleg Nesterov <oleg@redhat.com>
Wed, 15 Jan 2014 05:55:48 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 15 Jan 2014 05:55:48 +0000 (16:55 +1100)
commit1e3344b13ede330a81473f2b2985f917812581b6
tree106a280a671628993b8e4adb8cfb6e8034aca6d4
parentcb0efdb660168a4d362b0d50d619c85a82c3f2d0
coredump: make __get_dumpable/get_dumpable inline, kill fs/coredump.h

1. Remove fs/coredump.h. It is not clear why do we need it,
   it only declares __get_dumpable(), signal.c includes it
   for no reason.

2. Now that get_dumpable() and __get_dumpable() are really
   trivial make them inline in linux/sched.h.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Alex Kelly <alex.page.kelly@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Petr Matousek <pmatouse@redhat.com>
Cc: Vasily Kulikov <segoon@openwall.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/coredump.c
fs/coredump.h [deleted file]
fs/exec.c
include/linux/sched.h