@@ -248,7 +248,7 @@ create_elf_tables(struct linux_binprm *bprm, const struct elfhdr *exec,
248248 } while (0)
249249
250250#ifdef ARCH_DLINFO
251- /*
251+ /*
252252 * ARCH_DLINFO must come first so PPC can do its special alignment of
253253 * AUXV.
254254 * update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT() in
@@ -1020,7 +1020,7 @@ static int load_elf_binary(struct linux_binprm *bprm)
10201020 executable_stack );
10211021 if (retval < 0 )
10221022 goto out_free_dentry ;
1023-
1023+
10241024 elf_bss = 0 ;
10251025 elf_brk = 0 ;
10261026
@@ -1043,7 +1043,7 @@ static int load_elf_binary(struct linux_binprm *bprm)
10431043
10441044 if (unlikely (elf_brk > elf_bss )) {
10451045 unsigned long nbyte ;
1046-
1046+
10471047 /* There was a PT_LOAD segment with p_memsz > p_filesz
10481048 before this one. Map anonymous pages, if needed,
10491049 and clear the area. */
@@ -1521,7 +1521,7 @@ static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset)
15211521 phdr -> p_align = 0 ;
15221522}
15231523
1524- static void fill_note (struct memelfnote * note , const char * name , int type ,
1524+ static void fill_note (struct memelfnote * note , const char * name , int type ,
15251525 unsigned int sz , void * data )
15261526{
15271527 note -> name = name ;
@@ -2004,8 +2004,8 @@ static int elf_dump_thread_status(long signr, struct elf_thread_status *t)
20042004 t -> num_notes = 0 ;
20052005
20062006 fill_prstatus (& t -> prstatus .common , p , signr );
2007- elf_core_copy_task_regs (p , & t -> prstatus .pr_reg );
2008-
2007+ elf_core_copy_task_regs (p , & t -> prstatus .pr_reg );
2008+
20092009 fill_note (& t -> notes [0 ], "CORE" , NT_PRSTATUS , sizeof (t -> prstatus ),
20102010 & (t -> prstatus ));
20112011 t -> num_notes ++ ;
@@ -2295,7 +2295,7 @@ static int elf_core_dump(struct coredump_params *cprm)
22952295 if (!elf_core_write_extra_phdrs (cprm , offset ))
22962296 goto end_coredump ;
22972297
2298- /* write out the notes section */
2298+ /* write out the notes section */
22992299 if (!write_note_info (& info , cprm ))
23002300 goto end_coredump ;
23012301
0 commit comments