Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

gnushit

Name: Anonymous 2009-10-30 14:03

#include <unistd.h>
int main(int argc, char *argv[])
{
    return execl("/bin/true", NULL);
}

This makes GNU true segfault in a call to strrchr().

Name: Anonymous 2009-10-30 19:11

#include <unistd.h>
int main(int argc, char *argv[])
{
    path = "/bin/true";
    return execl(path, path);
}

hopeless. all of you.
don't you know that the argv[0] should be the name of the program?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List