From 659074a945f430c7c63c6314dde2882668b48907 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Thu, 6 Mar 2008 15:53:49 +0000 Subject: Moving in new toolchain patches. git-svn-id: http://svn.telesphoreo.org/trunk@157 514c082c-b64e-11dc-b46d-3d985efe055d --- util/godmode.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 util/godmode.c (limited to 'util/godmode.c') diff --git a/util/godmode.c b/util/godmode.c new file mode 100644 index 000000000..363309f95 --- /dev/null +++ b/util/godmode.c @@ -0,0 +1,8 @@ +#include +#include + +int main(int argc, char *argv[]) { + setuid(0); + setgid(0); + execvp(argv[1], argv + 1); +} -- cgit v1.2.3