Commit aa94b1dc authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

fs/binfmt_elf.c: delete stale comment

"passed_fileno" variable was deleted 11 years ago in 2.6.25.

Link: http://lkml.kernel.org/r/20190529201747.GA23248@avx2
Fixes: d20894a2 ("Remove a.out interpreter support in ELF loader")
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1b113e04
...@@ -1127,7 +1127,6 @@ static int load_elf_binary(struct linux_binprm *bprm) ...@@ -1127,7 +1127,6 @@ static int load_elf_binary(struct linux_binprm *bprm)
load_addr, interp_load_addr); load_addr, interp_load_addr);
if (retval < 0) if (retval < 0)
goto out; goto out;
/* N.B. passed_fileno might not be initialized? */
current->mm->end_code = end_code; current->mm->end_code = end_code;
current->mm->start_code = start_code; current->mm->start_code = start_code;
current->mm->start_data = start_data; current->mm->start_data = start_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment