Revision 3aa0ce825ade0cf5506e32ccf51d01fc8d22a9cf authored by Linus Torvalds on 14 October 2010, 21:32:06 UTC, committed by Linus Torvalds on 14 October 2010, 21:32:06 UTC
Tony Luck reports that the addition of the access_ok() check in commit
0eead9ab41da ("Don't dump task struct in a.out core-dumps") broke the
ia64 compile due to missing the necessary header file includes.

Rather than add yet another include (<asm/unistd.h>) to make everything
happy, just uninline the silly core dump helper functions and move the
bodies to fs/exec.c where they make a lot more sense.

dump_seek() in particular was too big to be an inline function anyway,
and none of them are in any way performance-critical.  And we really
don't need to mess up our include file headers more than they already
are.

Reported-and-tested-by: Tony Luck <tony.luck@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ae42d8d
History
File Mode Size
Makefile -rw-r--r-- 292 bytes
clntlock.c -rw-r--r-- 6.7 KB
clntproc.c -rw-r--r-- 20.8 KB
grace.c -rw-r--r-- 1.6 KB
host.c -rw-r--r-- 14.9 KB
mon.c -rw-r--r-- 14.0 KB
svc.c -rw-r--r-- 13.4 KB
svc4proc.c -rw-r--r-- 13.9 KB
svclock.c -rw-r--r-- 24.5 KB
svcproc.c -rw-r--r-- 14.5 KB
svcshare.c -rw-r--r-- 2.4 KB
svcsubs.c -rw-r--r-- 9.8 KB
xdr.c -rw-r--r-- 14.0 KB
xdr4.c -rw-r--r-- 13.7 KB

back to top