minix/kernel/arch/i386
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
..
include Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
acpi.c segmentless smp fixes 2012-07-15 22:47:20 +02:00
acpi.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
apic.c SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
apic.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
apic_asm.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
apic_asm.S SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
arch_clock.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
arch_do_vmctl.c Rename sys_vmctl_get_cr3_i386 2012-08-12 23:30:54 +02:00
arch_reset.c Remove ability to pass commands to bootloader 2012-11-22 19:16:17 +01:00
arch_smp.c Kernel: resolve -Wall warnings for SMP 2012-08-14 16:38:03 +00:00
arch_system.c Add stack trace dumps for VFS over serial 2013-01-11 09:18:36 +00:00
arch_watchdog.c SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
breakpoints.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
debugreg.h Fix types in debug register functions 2010-04-28 08:35:05 +00:00
debugreg.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
direct_tty_utils.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
do_iopenable.c Kernel: use okendpt() to resolve stored endpoints 2012-08-15 08:50:30 +00:00
do_readbios.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
do_sdevio.c Kernel: use okendpt() to resolve stored endpoints 2012-08-15 08:50:30 +00:00
exception.c kernel: trap-dependent state restore, trace fixes 2013-01-08 15:47:37 +00:00
glo.h SMP - CPU local run queues 2010-09-15 14:10:18 +00:00
head.S Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
i8259.c Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
io_inb.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_inl.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_intr.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_inw.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outb.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outl.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outw.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
kernel.lds Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
klib.S phys_memset improvements 2012-09-21 14:15:44 +02:00
Makefile.inc ARM updates 2013-01-17 10:03:58 +01:00
memory.c ARM: provide free running clock to replace ccnt 2013-01-31 15:19:11 +00:00
mpx.S Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
oxpcie.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
oxpcie.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
pg_utils.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
pre_init.c kernel: fix sanity check 2013-01-18 21:38:28 +00:00
procoffsets.cf Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
protect.c libexec: detect short files 2013-02-04 12:04:35 +01:00
sconst.h Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
serial.h Add cttybaud boot monitor variable to control speed of serial console (combine with ctty 0) 2011-03-16 12:25:10 +00:00
trampoline.S segmentless smp fixes 2012-07-15 22:47:20 +02:00
usermapped_data_arch.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
usermapped_glo_ipc.S kernel: trap-dependent state restore, trace fixes 2013-01-08 15:47:37 +00:00