While testing ash from busybox, Nadav suggested that osv_execve should:
1) Catch exception when command to be run cannot be run. This will prevent
VM shutdown when we attempt to run non-existen script in ash.
This is implemented in first patch.

2) osv_execve should behave more linux-like when it fails. It should
return -1 and set errno. This is in the second patch.

Additional patch for osv-apps/busybox will be sent.

Justin Cinkelj (2):
  osv_execve: fail gracefully if program file does not exist
  osv_execve: on failure set errno and return -1

 core/osv_execve.cc | 71 +++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 54 insertions(+), 17 deletions(-)

-- 
2.9.4

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to