Skip to content
Snippets Groups Projects
Commit c2d1ecd5 authored by KANATSU Minoru's avatar KANATSU Minoru Committed by Pekka Enberg
Browse files

libc: implement stub function for execve


Porting CRuby now, and this is call execve and etc.  I won't support exec from
Ruby, so this function just need to fail.

Signed-off-by: default avatarKANATSU Minoru <icc.pot.tyew272@gmail.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent f0cd4433
No related branches found
No related tags found
No related merge requests found
#include <unistd.h>
#include <osv/stubbing.hh>
int execve(const char *path, char *const argv[], char *const envp[])
{
WARN_STUBBED();
return libc_error(ENOEXEC);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment