]> git.baikalelectronics.ru Git - kernel.git/commit
fs/binfmt_elf.c: allocate less for static executable
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 7 Apr 2020 03:11:29 +0000 (20:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:44 +0000 (10:43 -0700)
commit0693ffebcfe5ac7b31f63ad54587007f7d96fb7b
tree282aa9d1cf0a6a5afd0ba18dd36bd3f84647e5b3
parentc69bcc932ef3568a13cf6d67398cf5e9da88e812
fs/binfmt_elf.c: allocate less for static executable

PT_INTERP ELF header can be spared if executable is static.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200219185012.GB4871@avx2
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c