minix/servers
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
..
devman Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
ds drop safemap code 2012-10-30 13:55:42 +01:00
ext2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
hgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
inet Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
init Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
ipc ARM updates 2013-01-17 10:03:58 +01:00
is ARM updates 2013-01-17 10:03:58 +01:00
iso9660fs Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
lwip LWIP - fix, removed segments 2012-08-03 00:20:34 -07:00
mfs Cleaning usage of MAJOR/MINOR 2013-01-14 11:36:26 +01:00
pfs PFS: verify nrbytes 2013-01-25 17:03:06 +00:00
pm Remove ability to pass commands to bootloader 2012-11-22 19:16:17 +01:00
procfs ARM updates 2013-01-17 10:03:58 +01:00
rs libexec: detect short files 2013-02-04 12:04:35 +01:00
sched Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
vbfs Add VBFS: VirtualBox Shared Folder File System 2012-04-11 00:27:48 +02:00
vfs libexec: detect short files 2013-02-04 12:04:35 +01:00
vm libexec: detect short files 2013-02-04 12:04:35 +01:00
Makefile ARM updates 2013-01-17 10:03:58 +01:00
Makefile.inc Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00