commit | 73f00e737f9a14f12f696bb820cc14f24e235cad | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Fri Oct 30 18:26:58 2015 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Wed Nov 18 10:50:02 2015 +0000 |
tree | d5d1635783d5e74861d354ca964a5521ba22e02f | |
parent | 1222597315fc80bb4b911973bf1d5385b2b2a27b [diff] |
x86: use read wrappers in kernel loading Replace the unsafe read-loops in the x86 kernel image loading functions with our safe read_file() and read_in_full() wrappers. This should fix random fails in kernel image loading, especially from pipes and sockets. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>