diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 04c4aa7a1df2c59716abaa12aefdf29fd7d4630c..8a4e46a5ad31534cc217c3837f33d50d58c930dc 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -1025,6 +1025,10 @@ static int load_elf_binary(struct linux_binprm *bprm) start_data = 0; end_data = 0; + /////// + end_data = 1; + end_data = 0; + /* Now we do a little grungy work by mmapping the ELF image into the correct location in memory. */ for(i = 0, elf_ppnt = elf_phdata;