minix/minix
Lionel Sambuc 37f29f557a servers/rs: Add sanity check on executable size
RS used to do a stat, and check that the stat was successful, but it
didn't check that the executable was not actually empty.

This patch adds a check to detect file which are smaller than the minimum
ELF size possible.

Change-Id: I22b004084f17e7d395e2c1377add7bc8b51c3d5e
2014-07-31 16:00:32 +02:00
..
benchmarks New sources layout 2014-07-31 16:00:30 +02:00
bin New sources layout 2014-07-31 16:00:30 +02:00
commands Move all services to /service 2014-07-31 16:00:31 +02:00
drivers Move all services to /service 2014-07-31 16:00:31 +02:00
fs Move all services to /service 2014-07-31 16:00:31 +02:00
include Move all services to /service 2014-07-31 16:00:31 +02:00
kernel New sources layout 2014-07-31 16:00:30 +02:00
lib servers/rs: Add sanity check on executable size 2014-07-31 16:00:32 +02:00
llvm Remove /multiboot 2014-07-31 16:00:31 +02:00
man New sources layout 2014-07-31 16:00:30 +02:00
net Move all services to /service 2014-07-31 16:00:31 +02:00
sbin New sources layout 2014-07-31 16:00:30 +02:00
servers servers/rs: Add sanity check on executable size 2014-07-31 16:00:32 +02:00
share New sources layout 2014-07-31 16:00:30 +02:00
tests Move all services to /service 2014-07-31 16:00:31 +02:00
usr.bin New sources layout 2014-07-31 16:00:30 +02:00
usr.sbin New sources layout 2014-07-31 16:00:30 +02:00
Makefile New sources layout 2014-07-31 16:00:30 +02:00
Makefile.inc New sources layout 2014-07-31 16:00:30 +02:00