Commit e2e00906a06f7e74c49ca0ca85b960f270c83d5e

Authored by Kawai, Hidehiro
Committed by Linus Torvalds
1 parent a1b59e802f

coredump masking: ELF-FDPIC: remove an unused argument

This patch removes an unused argument from elf_fdpic_dump_segments().

Signed-off-by: Hidehiro 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

fs/binfmt_elf_fdpic.c
... ... @@ -1456,8 +1456,8 @@
1456 1456 * dump the segments for an MMU process
1457 1457 */
1458 1458 #ifdef CONFIG_MMU
1459   -static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm,
1460   - size_t *size, unsigned long *limit)
  1459 +static int elf_fdpic_dump_segments(struct file *file, size_t *size,
  1460 + unsigned long *limit)
1461 1461 {
1462 1462 struct vm_area_struct *vma;
1463 1463  
... ... @@ -1511,8 +1511,8 @@
1511 1511 * dump the segments for a NOMMU process
1512 1512 */
1513 1513 #ifndef CONFIG_MMU
1514   -static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm,
1515   - size_t *size, unsigned long *limit)
  1514 +static int elf_fdpic_dump_segments(struct file *file, size_t *size,
  1515 + unsigned long *limit)
1516 1516 {
1517 1517 struct vm_list_struct *vml;
1518 1518