]> git.baikalelectronics.ru Git - kernel.git/commit
exec: only build read_code when needed
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2020 04:42:40 +0000 (21:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Jun 2020 18:05:58 +0000 (11:05 -0700)
commita54a10c57fdf75d3946401e667f61728100774d5
tree6cc168311b6600036c1f9595361018d644c4e05b
parent2cd629cae4f5dab86b861592d9ca874c9a120d66
exec: only build read_code when needed

Only build read_code when binary formats that use it are built into the
kernel.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Link: http://lkml.kernel.org/r/20200515143646.3857579-26-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c