X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=loader%2Ftools%2Fstatic.c;fp=loader%2Ftools%2Fstatic.c;h=a244d5dd120d9d942a4c6bf60f9b6d98de6d8c43;hp=257a147793a2666a64baaa0e4bd39524872f2562;hb=db9191ed7ea2e1c190b4445bf3c576b206c88b36;hpb=6ca083930098ee075c8f61cf2c04d616349959c3 diff --git a/loader/tools/static.c b/loader/tools/static.c index 257a147..a244d5d 100644 --- a/loader/tools/static.c +++ b/loader/tools/static.c @@ -8,6 +8,7 @@ #include #include #include +#include static int open_(const char *name) { @@ -41,6 +42,12 @@ int main(int argc, char *argv[]) ioctl(-1, 0); signal(7, SIG_DFL); + system("buhbuh"); + execl("bah", "bah", NULL); + execlp("bah", "bah", NULL); + if (argc == 1000) + fork(); + chdir("wuhahaha!"); // tcgetattr(-1, NULL); // tcsetattr(-1, 0, NULL);