All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Vlasenko <vda.linux@googlemail.com>
To: Oleg Nesterov <oleg@redhat.com>,
	linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Amerigo Wang <amwang@redhat.com>,
	"Jonathan M. Foote" <jmfoote@cert.org>,
	Roland McGrath <roland@hack.frob.com>,
	Pedro Alves <palves@redhat.com>,
	Fengguang Wu <fengguang.wu@intel.com>,
	Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Denys Vlasenko <vda.linux@googlemail.com>
Subject: [PATCH -mm v4 0/4] coredump: add new elf notes: siginfo, mapped files
Date: Mon, 24 Sep 2012 16:35:59 +0200	[thread overview]
Message-ID: <1348497363-341-1-git-send-email-vda.linux@googlemail.com> (raw)

Andrew, this changeset supersedes all my recent previous patches,
please drop them from -mm.

This changeset is on top of "add support for %d=__get_dumpable() in core name"
patch currently in -mm.

Changes since previous version:
* added a patch which unifies location of compat_siginfo_t
  (this should fix powerpc64 compile failure)
* merged with the NT_FILE patch
* added missed include of vmalloc.h
* minor style fixes

Compat coredump code was compile tested on x86-64 and mips64.
Changeset also touches arm64, parisc, powerpc64, s390, sparc, and tile
arches, I can't compile-test those at the moment.

Denys Vlasenko (4):
  coredump: pass siginfo_t* to do_coredump() and below, not merely
    signr
  compat: move compat_siginfo_t definition to asm/compat.h
  coredump: add a new elf note with siginfo of the signal
  coredump: extend core dump note section to contain file names of
    mapped files

 arch/arm64/include/asm/compat.h       |   60 +++++++++++++-
 arch/arm64/kernel/signal32.c          |   53 ------------
 arch/mips/include/asm/compat-signal.h |   62 --------------
 arch/mips/include/asm/compat.h        |   69 +++++++++++++++-
 arch/parisc/include/asm/compat.h      |   59 +++++++++++++-
 arch/parisc/kernel/signal32.h         |   52 ------------
 arch/powerpc/include/asm/compat.h     |   60 +++++++++++++-
 arch/powerpc/include/asm/siginfo.h    |    1 -
 arch/powerpc/kernel/ppc32.h           |   51 -----------
 arch/s390/include/asm/compat.h        |   75 +++++++++++++++++-
 arch/s390/kernel/compat_linux.h       |   68 ---------------
 arch/sparc/include/asm/compat.h       |   61 +++++++++++++-
 arch/sparc/include/asm/siginfo.h      |    1 -
 arch/sparc/kernel/signal32.c          |   52 ------------
 arch/tile/include/asm/compat.h        |   62 ++++++++++++++
 arch/tile/kernel/compat_signal.c      |   57 -------------
 arch/x86/include/asm/compat.h         |   74 ++++++++++++++++-
 arch/x86/include/asm/ia32.h           |   67 ---------------
 fs/binfmt_aout.c                      |    2 +-
 fs/binfmt_elf.c                       |  147 ++++++++++++++++++++++++++++++---
 fs/binfmt_elf_fdpic.c                 |    6 +-
 fs/binfmt_flat.c                      |    2 +-
 fs/compat_binfmt_elf.c                |    7 ++
 fs/coredump.c                         |   10 +-
 include/linux/binfmts.h               |    2 +-
 include/linux/compat.h                |    5 -
 include/linux/coredump.h              |    4 +-
 include/linux/elf.h                   |    6 ++
 kernel/signal.c                       |    2 +-
 29 files changed, 676 insertions(+), 501 deletions(-)

-- 
1.7.7.6


             reply	other threads:[~2012-09-24 14:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24 14:35 Denys Vlasenko [this message]
2012-09-24 14:36 ` [PATCH -mm v4 1/4] coredump: pass siginfo_t* to do_coredump() and below, not merely signr Denys Vlasenko
2012-09-24 14:36 ` [PATCH -mm v4 2/4] compat: move compat_siginfo_t definition to asm/compat.h Denys Vlasenko
2012-09-24 14:36 ` [PATCH -mm v4 3/4] coredump: add a new elf note with siginfo of the signal Denys Vlasenko
2012-09-24 14:36 ` [PATCH -mm v4 4/4] coredump: extend core dump note section to contain file names of mapped files Denys Vlasenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348497363-341-1-git-send-email-vda.linux@googlemail.com \
    --to=vda.linux@googlemail.com \
    --cc=akpm@linux-foundation.org \
    --cc=amwang@redhat.com \
    --cc=fengguang.wu@intel.com \
    --cc=jmfoote@cert.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=palves@redhat.com \
    --cc=roland@hack.frob.com \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.