diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2020-01-30 22:16:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-01-31 10:30:41 -0800 |
commit | a62c5b1b6647ea069b8a23cb8edb7925dea89dd8 (patch) | |
tree | c4ea5c42ed4e6e1ff8bd4621b1a4a87805e9df29 /fs/lockd/svc.c | |
parent | f67ef446291a09114f979a129fa42a859c5eb595 (diff) |
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 'fs/lockd/svc.c')
0 files changed, 0 insertions, 0 deletions