]> git.karo-electronics.de Git - karo-tx-linux.git/commit
coredump: make __get_dumpable/get_dumpable inline, kill fs/coredump.h
authorOleg Nesterov <oleg@redhat.com>
Fri, 3 Jan 2014 03:10:28 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:28 +0000 (14:10 +1100)
commit33092db6fbcddabe5f25426dd160abb8e3038ca9
tree63cead08126d4abdbfe8669049f0c0ce43e14f82
parentb347f2a421c81b8852a3df32215729126e50ab24
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