elf: Allow core dump-related fields to be overridden
authorH. J. Lu <hjl.tools@gmail.com>
Tue, 14 Feb 2012 21:34:52 +0000 (13:34 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 20 Feb 2012 20:48:48 +0000 (12:48 -0800)
commit0953f65d5db728df0fdc3d510a71fd811a3be758
tree2f1c0f221a31da94f4b8565db12b945822af98b4
parent4ee5c0d05ce9b4e48e586a1ee168f166d191ddda
elf: Allow core dump-related fields to be overridden

Allow some core dump-related fields to be overridden.  This allows
core dumps to work correctly for x32.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
fs/binfmt_elf.c