obmc-initfs: init: check init is an executable file

In init, check the new init is an executable file with non-zero
size in addition to the shell being executable with its shared
libraries.

Signed-off-by: Milton Miller <miltonm@us.ibm.com>
1 file changed
tree: d3ecaa623cf34a621d1839b7fa30ff64f60bd41c
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE