Sign in
skia
/
buildbot
/
0fef7d6691c14788697b32c84241d2ad1a90d535
/
.
/
fiddlek
/
cpp
/
fail_execve.cpp
blob: e30ed654e147ddc0ae6f47d31879810e5523141e [
file
] [
log
] [
blame
]
#include
<unistd.h>
int
main
()
{
char
*
newargv
[]
=
{
NULL
,
(
char
*)
"hello"
,
(
char
*)
"world"
,
NULL
};
char
*
newenviron
[]
=
{
NULL
};
execve
(
"/bin/echo"
,
newargv
,
newenviron
);
return
0
;
}