minix/lib
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
..
csu libcsu: store argc and argv on the stack 2013-01-25 17:07:02 +00:00
libasyn No more intel/minix segments. 2012-07-15 22:30:15 +02:00
libaudiodriver libaudiodriver: properly deallocate memory 2012-08-24 09:17:27 +00:00
libbdev libbdev: resolve Coverity warnings 2012-07-30 12:10:12 +00:00
libblockdriver libblockdriver: minor whitespace fix 2012-08-31 12:36:17 +00:00
libbz2 Upgrading bzip2 2012-11-21 18:32:06 +01:00
libc kernel, libc: signals fixes 2013-02-04 12:03:46 +01:00
libchardriver libchardriver: resolve Coverity warnings 2012-07-30 12:10:13 +00:00
libcompat_minix ARM updates 2013-01-17 10:03:58 +01:00
libcrypt Updating lib/libcrypt 2013-01-14 11:36:27 +01:00
libcurses Removing useless __NBSD_LIBC define in libcurses 2013-01-17 10:03:58 +01:00
libddekit Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
libdevman retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libedit Fix command line history in ash 2013-02-01 11:41:47 +01:00
libelf Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
libexec libexec: detect short files 2013-02-04 12:04:35 +01:00
libfetch Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
libhgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
liblwip Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
libm Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
libminc ARM updates 2013-01-17 10:03:58 +01:00
libminixfs can't get_block(NO_DEV) any more 2012-11-16 16:37:44 +01:00
libminlib ARM updates 2013-01-17 10:03:58 +01:00
libmthread libmthread: add possibility to randomize scheduler 2013-01-11 09:18:35 +00:00
libnetdriver retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libnetsock libnetsock: resolve Coverity warnings 2012-08-09 00:16:36 +02:00
libprop Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
libpuffs Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
librefuse various symbol referencing fixes 2012-06-28 15:20:53 +02:00
librmt Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
libsffs libsffs: resolve Coverity warnings 2012-07-30 12:10:14 +00:00
libsys ARM: provide free running clock to replace ccnt 2013-01-31 15:19:11 +00:00
libterminfo Re-adding extended keys in minix termcap entry 2013-01-23 21:28:17 +01:00
libtimers Replace NULL macro defs with null.h include 2010-07-22 10:03:31 +00:00
libusb retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libutil Fixing cross build i386 on minix 2013-01-23 21:03:38 +01:00
libvassert No more intel/minix segments. 2012-07-15 22:30:15 +02:00
libvboxfs libvboxfs: fix setting file mtimes 2012-10-17 23:01:24 +02:00
libvirtio virtio: generic virtio library 2013-01-23 09:03:03 +00:00
libvtreefs Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
libz set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
Makefile Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
Makefile.inc minix.ack.mk: use CPPFLAGS for ACK asm files 2011-08-05 14:16:48 +02:00