-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split out rumpclient specific parts of emul.c
- Loading branch information
1 parent
18ca974
commit b224951
Showing
4 changed files
with
29 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#include <rump/rumpclient.h> | ||
|
||
int | ||
emul__fork(void) | ||
{ | ||
return rumpclient_fork(); | ||
} | ||
|
||
int | ||
emul__vfork14(void) | ||
{ | ||
return rumpclient_fork(); | ||
} | ||
|
||
extern char **environ; | ||
|
||
int | ||
emul_execve(const char *filename, char *const argv[], char *const envp[]) | ||
{ | ||
|
||
return rumpclient_exec(filename, argv, environ); | ||
} | ||
|