Ben Gras 298b41b523 libexec: detect short files
if an exec() fails partway through reading in the sections, the target
process is already gone and a defunct process remains. sanity checking
the binary beforehand helps that.

test10 mutilates binaries and exec()s them on purpose; making an exec()
fail cleanly in such cases seems like acceptable behaviour.

fixes test10 on ARM.

Change-Id: I1ed9bb200ce469d4d349073cadccad5503b2fcb0
2013-02-04 12:04:35 +01:00
2010-10-25 08:32:14 +00:00
2013-02-02 01:20:09 +01:00
2013-01-17 10:03:58 +01:00
2013-02-01 11:41:48 +01:00
2013-02-01 11:41:48 +01:00
2013-02-01 13:31:10 +01:00
2013-01-17 10:03:58 +01:00
2013-02-04 12:04:35 +01:00
2013-02-04 12:04:35 +01:00
2013-01-17 10:03:58 +01:00
2013-02-02 01:20:09 +01:00
2013-02-02 01:20:09 +01:00
2013-01-14 11:44:31 +01:00
2013-02-04 12:04:35 +01:00
2013-01-17 10:03:58 +01:00
2013-02-04 12:04:35 +01:00
2013-02-01 11:41:47 +01:00
2013-01-23 21:03:38 +01:00
2010-01-21 10:16:05 +00:00
Description
A fun microkernel meant to match modern usecases
GPL-3.0 148 MiB
Languages
C 78.2%
Roff 10.2%
Assembly 4.6%
Shell 3.7%
Makefile 1.6%
Other 1.2%