summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/process.c
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2017-02-07 18:09:14 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-02-17 07:40:25 +0100
commita4a81d8eebdc1d209d034f62a082a5131e4242b5 (patch)
treea275f4fbae1f20d2abbd847d74ff17d3cdd7bbb4 /arch/s390/kernel/process.c
parents390: add no-execute support (diff)
downloadlinux-a4a81d8eebdc1d209d034f62a082a5131e4242b5.tar.xz
linux-a4a81d8eebdc1d209d034f62a082a5131e4242b5.zip
s390/kdump: Use "LINUX" ELF note name instead of "CORE"
In binutils/libbfd (bfd/elf.c) it is enforced that all s390 specific ELF notes like e.g. NT_S390_PREFIX or NT_S390_CTRS have "LINUX" specified as note name. Otherwise the notes are ignored. For /proc/vmcore we currently use "CORE" for these notes. Up to now this has not been a real problem because the dump analysis tool "crash" does not check the note name. But it will break all programs that use libbfd for processing ELF notes. So fix this and use "LINUX" for all s390 specific notes to comply with libbfd. Cc: stable@vger.kernel.org # v4.4+ Reported-by: Philipp Rudo <prudo@linux.vnet.ibm.com> Reviewed-by: Philipp Rudo <prudo@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/process.c')
0 files changed, 0 insertions, 0 deletions