diff options
Diffstat (limited to 'www/moinmoin/files/wrapper.c')
-rw-r--r-- | www/moinmoin/files/wrapper.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/moinmoin/files/wrapper.c b/www/moinmoin/files/wrapper.c new file mode 100644 index 000000000000..3f41506f652c --- /dev/null +++ b/www/moinmoin/files/wrapper.c @@ -0,0 +1,13 @@ +/* + MoinMoin setuid wrapper by perky + $FreeBSD$ +*/ +#include <unistd.h> + +int +main(int argc, char *argv[], char *envp[]) +{ + char *margv[] = { PYTHON_PATH, SCRIPT_PATH, NULL }; + + return exect(PYTHON_PATH, margv, envp); +} |