X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=loader%2Ftools%2Fstatic.c;h=34752287a017b7791f3acfdc417dedf58b021465;hb=10c900a1c09d1a3f62dc866df11dcda22c6ec8b7;hp=257a147793a2666a64baaa0e4bd39524872f2562;hpb=7fd42181a7f66b4403076cd9de98e18140a7eaf8;p=ginge.git diff --git a/loader/tools/static.c b/loader/tools/static.c index 257a147..3475228 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,13 @@ 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!"); + usleep(1); // tcgetattr(-1, NULL); // tcsetattr(-1, 0, NULL);