X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fbinfmt_elf.c;h=7976a238f0a3d60bb4c4a0d1fba0b3ad5183ad08;hb=8644d2a42bdba2d513f71c07eaf1b6f9b718b8eb;hp=f8f6b6b76179da87bfca266adadf360b10f2e91a;hpb=f9d1fe9630b94007902987c39d19f04dc6256eac;p=linux-2.6 diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index f8f6b6b761..7976a238f0 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -775,6 +775,7 @@ static int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) change some of these later */ set_mm_counter(current->mm, rss, 0); current->mm->free_area_cache = current->mm->mmap_base; + current->mm->cached_hole_size = 0; retval = setup_arg_pages(bprm, randomize_stack_top(STACK_TOP), executable_stack); if (retval < 0) {