Revision 9955ffac
ID | 9955ffac9a31aad346fe7f0fcefebe88da7f9df5 |
linux-user: Reduce lseek+reads while loading elf files.
Define BPRM_BUF_SIZE to 1k and read that amount initially. If the
data we want from the binary is in this buffer, use it instead of
reading from the file again.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Files
- added
- modified
- copied
- renamed
- deleted