Re: [PATCH 3/3] make __get_dumpable/get_dumpable inline, kill fs/coredump.h

2013-11-18 Thread Kees Cook
On Sat, Nov 16, 2013 at 11:02 AM, Oleg Nesterov wrote: > 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 linu

[PATCH 3/3] make __get_dumpable/get_dumpable inline, kill fs/coredump.h

2013-11-16 Thread Oleg Nesterov
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 --- fs/coredump.c