Skip to content

Commit

Permalink
coredump masking: ELF-FDPIC: remove an unused argument
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kawai, Hidehiro authored and Linus Torvalds committed Jul 19, 2007
1 parent a1b59e8 commit e2e0090
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fs/binfmt_elf_fdpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1456,8 +1456,8 @@ static int elf_dump_thread_status(long signr, struct elf_thread_status *t)
* dump the segments for an MMU process
*/
#ifdef CONFIG_MMU
static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm,
size_t *size, unsigned long *limit)
static int elf_fdpic_dump_segments(struct file *file, size_t *size,
unsigned long *limit)
{
struct vm_area_struct *vma;

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

Expand Down

0 comments on commit e2e0090

Please sign in to comment.