]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
coredump: extend core dump note section to contain file names of mapped files
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 28 Sep 2012 00:22:16 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:04:03 +0000 (15:04 +1000)
commitc9d170e0d0b89a82ff62ab165edd89b6295c9ee8
tree364304f70105670879a276ff8af5edec8f718b4e
parent1e1694376a33d09e0d2afc4f7b70443dcb534a1f
coredump: extend core dump note section to contain file names of mapped files

This note has the following format:

long count     -- how many files are mapped
long page_size -- units for file_ofs
array of [COUNT] elements of
   long start
   long end
   long file_ofs
followed by COUNT filenames in ASCII: "FILE1" NUL "FILE2" NUL...

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Amerigo Wang <amwang@redhat.com>
Cc: "Jonathan M. Foote" <jmfoote@cert.org>
Cc: Roland McGrath <roland@hack.frob.com>
Cc: Pedro Alves <palves@redhat.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/binfmt_elf.c
fs/compat_binfmt_elf.c
include/linux/elf.h