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
crush
Kconfig -rw-r--r-- 829 bytes
Makefile -rw-r--r-- 856 bytes
README -rw-r--r-- 824 bytes
addr.c -rw-r--r-- 31.7 KB
armor.c -rw-r--r-- 1.9 KB
auth.c -rw-r--r-- 5.6 KB
auth.h -rw-r--r-- 2.9 KB
auth_none.c -rw-r--r-- 2.8 KB
auth_none.h -rw-r--r-- 526 bytes
auth_x.c -rw-r--r-- 16.2 KB
auth_x.h -rw-r--r-- 835 bytes
auth_x_protocol.h -rw-r--r-- 1.7 KB
buffer.c -rw-r--r-- 1.2 KB
buffer.h -rw-r--r-- 818 bytes
caps.c -rw-r--r-- 82.9 KB
ceph_debug.h -rw-r--r-- 877 bytes
ceph_frag.c -rw-r--r-- 328 bytes
ceph_frag.h -rw-r--r-- 3.0 KB
ceph_fs.c -rw-r--r-- 1.6 KB
ceph_fs.h -rw-r--r-- 22.3 KB
ceph_hash.c -rw-r--r-- 2.7 KB
ceph_hash.h -rw-r--r-- 433 bytes
ceph_strings.c -rw-r--r-- 6.1 KB
crypto.c -rw-r--r-- 10.1 KB
crypto.h -rw-r--r-- 1.3 KB
debugfs.c -rw-r--r-- 12.3 KB
decode.h -rw-r--r-- 4.3 KB
dir.c -rw-r--r-- 34.2 KB
export.c -rw-r--r-- 5.6 KB
file.c -rw-r--r-- 24.6 KB
inode.c -rw-r--r-- 48.4 KB
ioctl.c -rw-r--r-- 5.0 KB
ioctl.h -rw-r--r-- 1.2 KB
locks.c -rw-r--r-- 6.9 KB
mds_client.c -rw-r--r-- 84.4 KB
mds_client.h -rw-r--r-- 11.4 KB
mdsmap.c -rw-r--r-- 4.3 KB
mdsmap.h -rw-r--r-- 1.4 KB
messenger.c -rw-r--r-- 56.7 KB
messenger.h -rw-r--r-- 8.1 KB
mon_client.c -rw-r--r-- 24.0 KB
mon_client.h -rw-r--r-- 3.1 KB
msgpool.c -rw-r--r-- 1.4 KB
msgpool.h -rw-r--r-- 692 bytes
msgr.h -rw-r--r-- 5.0 KB
osd_client.c -rw-r--r-- 39.3 KB
osd_client.h -rw-r--r-- 5.3 KB
osdmap.c -rw-r--r-- 26.0 KB
osdmap.h -rw-r--r-- 3.8 KB
pagelist.c -rw-r--r-- 1.3 KB
pagelist.h -rw-r--r-- 1.3 KB
rados.h -rw-r--r-- 12.0 KB
snap.c -rw-r--r-- 25.2 KB
super.c -rw-r--r-- 27.3 KB
super.h -rw-r--r-- 27.7 KB
types.h -rw-r--r-- 475 bytes
xattr.c -rw-r--r-- 20.2 KB

README

back to top