mirror of
https://github.com/drasko/codezero.git
synced 2026-01-20 06:43:16 +01:00
Initial changes for execve() support
This commit is contained in:
@@ -47,3 +47,7 @@ int clonetest(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
14
tasks/test0/src/exectest.c
Normal file
14
tasks/test0/src/exectest.c
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Execve test.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <tests.h>
|
||||
|
||||
void exectest(void)
|
||||
{
|
||||
execve("/usr/home/bahadir/executable", 0, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user