summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2020-01-31 09:16:55 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-01-31 21:30:41 +0300
commita62c5b1b6647ea069b8a23cb8edb7925dea89dd8 (patch)
treec4ea5c42ed4e6e1ff8bd4621b1a4a87805e9df29 /scripts/gdb/linux/utils.py
parentf67ef446291a09114f979a129fa42a859c5eb595 (diff)
downloadlinux-a62c5b1b6647ea069b8a23cb8edb7925dea89dd8.tar.xz
fs/binfmt_elf.c: don't copy ELF header around
ELF header is read into bprm->buf[] by generic execve code. Save a memcpy and allocate just one header for the interpreter instead of two headers (64 bytes instead of 128 on 64-bit). Link: http://lkml.kernel.org/r/20191208171242.GA19716@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions