Last active 1697039743

Starlanes wrapper for a weird thing I didn't finish a few years ago

wrapper.c Raw
1#include <stdio.h>
2#include <stdlib.h>
3#include <unistd.h>
4int main(int argc, char *argv[]) {
5 char *myenviron[] = { (char*)0};
6 //argv[0] = "wrapper-restrict";
7 execve("/home/jmjl/dev/starlanes/server",argv,myenviron);
8 perror("There was a unexpected technical problem with execve, or the program returned something different than 0");
9 exit(1);
10}