summaryrefslogtreecommitdiff
path: root/tool/godmode.c
blob: 363309f951ea7036cbc5e01bd01aff277b27a8fe (plain)
1
2
3
4
5
6
7
8
#include <sys/types.h>
#include <unistd.h>

int main(int argc, char *argv[]) {
    setuid(0);
    setgid(0);
    execvp(argv[1], argv + 1);
}