Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2e00906 authored by Kawai, Hidehiro's avatar Kawai, Hidehiro Committed by Linus Torvalds
Browse files

coredump masking: ELF-FDPIC: remove an unused argument



This patch removes an unused argument from elf_fdpic_dump_segments().

Signed-off-by: default avatarHidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: David Howells <dhowells@redhat.com>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a1b59e80
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -1456,8 +1456,8 @@ static int elf_dump_thread_status(long signr, struct elf_thread_status *t)
 * dump the segments for an MMU process
 * dump the segments for an MMU process
 */
 */
#ifdef CONFIG_MMU
#ifdef CONFIG_MMU
static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm,
static int elf_fdpic_dump_segments(struct file *file, size_t *size,
				   size_t *size, unsigned long *limit)
				   unsigned long *limit)
{
{
	struct vm_area_struct *vma;
	struct vm_area_struct *vma;


@@ -1511,8 +1511,8 @@ static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm,
 * dump the segments for a NOMMU process
 * dump the segments for a NOMMU process
 */
 */
#ifndef CONFIG_MMU
#ifndef CONFIG_MMU
static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm,
static int elf_fdpic_dump_segments(struct file *file, size_t *size,
				   size_t *size, unsigned long *limit)
				   unsigned long *limit)
{
{
	struct vm_list_struct *vml;
	struct vm_list_struct *vml;