minix/servers/vm
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
..
arch vm: fix sanity checks on arm 2013-02-01 16:45:56 +00:00
alloc.c Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
break.c vm: remove stack handling for signals 2012-08-29 17:31:38 +02:00
cavl_if.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
cavl_impl.h Fix VM -Wall warnings and enable -Werror 2011-06-01 11:30:58 +02:00
exit.c vm: fix a null dereference on out-of-memory 2012-11-09 18:36:51 +01:00
fork.c vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
glo.h VM: make mapping types explicit 2012-10-12 14:52:01 +02:00
main.c libexec: detect short files 2013-02-04 12:04:35 +01:00
Makefile ARM: Provide linker script for VM 2013-01-25 17:07:01 +00:00
mem_anon.c drop safemap code 2012-10-30 13:55:42 +01:00
mem_anon_contig.c vm: replace phys avl by array 2012-12-26 16:14:41 +00:00
mem_directphys.c VM: make mapping types explicit 2012-10-12 14:52:01 +02:00
mem_shared.c vm: replace phys avl by array 2012-12-26 16:14:41 +00:00
memlist.h VM: only single page chunks 2012-09-18 13:17:49 +02:00
memtype.h VM: make mapping types explicit 2012-10-12 14:52:01 +02:00
mmap.c vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
pagefaults.c vm: restore stacktrace on SIGSEGV 2013-01-08 15:47:37 +00:00
pb.c vm: replace phys avl by array 2012-12-26 16:14:41 +00:00
phys_region.h vm: replace phys avl by array 2012-12-26 16:14:41 +00:00
proto.h vm: replace phys avl by array 2012-12-26 16:14:41 +00:00
pt.h vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
queryexit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
region.c vm: fix region reporting bug 2013-01-09 19:50:52 +00:00
region.h vm: replace phys avl by array 2012-12-26 16:14:41 +00:00
regionavl.c vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
regionavl.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
regionavl_defs.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
rs.c vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
sanitycheck.h vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
slaballoc.c vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
unavl.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
util.h vm: use assert() instead of vm_assert(); remove vm_assert(). 2010-04-12 12:37:28 +00:00
utility.c vm: replace phys avl by array 2012-12-26 16:14:41 +00:00
vm.h vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
vmproc.h vm: replace phys avl by array 2012-12-26 16:14:41 +00:00
yielded.h VM: restore >4k secondary cache functionality 2012-09-18 13:17:52 +02:00
yieldedavl.c secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
yieldedavl.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
yieldedavl_defs.h vm - hash table for block cache 2010-10-15 09:10:14 +00:00