minix/servers/rs
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
..
const.h No more intel/minix segments. 2012-07-15 22:30:15 +02:00
error.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
exec.c libexec: detect short files 2013-02-04 12:04:35 +01:00
glo.h various coverity-inspired fixes 2012-07-16 14:00:56 +02:00
inc.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
main.c RS: do not zero process name for boot processes 2012-12-06 13:24:30 +00:00
Makefile RS: Make PCI code optional 2012-08-17 00:17:51 +02:00
manager.c RS: fix for fix 2012-11-22 16:25:07 +01:00
memory.c VM: full munmap 2012-09-18 13:17:52 +02:00
proto.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
request.c various warning/errorwarning fixes for gcc47 2012-08-27 16:19:18 +02:00
table.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
type.h RS: support for endpoint-changing driver restarts 2011-12-05 16:28:07 +01:00
utility.c various warning/errorwarning fixes for gcc47 2012-08-27 16:19:18 +02:00