Loading fs/binfmt_elf.c +1 −1 Original line number Diff line number Diff line Loading @@ -622,7 +622,7 @@ static int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) goto out_free_file; retval = -ENOMEM; elf_interpreter = (char *) kmalloc(elf_ppnt->p_filesz, elf_interpreter = kmalloc(elf_ppnt->p_filesz, GFP_KERNEL); if (!elf_interpreter) goto out_free_file; Loading fs/binfmt_elf_fdpic.c +1 −1 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm, struct pt_regs *regs goto error; /* read the name of the interpreter into memory */ interpreter_name = (char *) kmalloc(phdr->p_filesz, GFP_KERNEL); interpreter_name = kmalloc(phdr->p_filesz, GFP_KERNEL); if (!interpreter_name) goto error; Loading Loading
fs/binfmt_elf.c +1 −1 Original line number Diff line number Diff line Loading @@ -622,7 +622,7 @@ static int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) goto out_free_file; retval = -ENOMEM; elf_interpreter = (char *) kmalloc(elf_ppnt->p_filesz, elf_interpreter = kmalloc(elf_ppnt->p_filesz, GFP_KERNEL); if (!elf_interpreter) goto out_free_file; Loading
fs/binfmt_elf_fdpic.c +1 −1 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm, struct pt_regs *regs goto error; /* read the name of the interpreter into memory */ interpreter_name = (char *) kmalloc(phdr->p_filesz, GFP_KERNEL); interpreter_name = kmalloc(phdr->p_filesz, GFP_KERNEL); if (!interpreter_name) goto error; Loading