summaryrefslogtreecommitdiff
path: root/scripts/test.c
diff options
context:
space:
mode:
authorMarkus Warg <mw@it-sls.de>2010-03-29 09:54:06 +0200
committerMarkus Warg <mw@it-sls.de>2010-03-29 09:54:06 +0200
commit9dceece06fbdc98add6f76f0b1aec05891a394c4 (patch)
treef7227c28ca5f79f30c2ec81ba1a09a4fe3972436 /scripts/test.c
parent5b68967def224a00f54eb54946ff17301bbd3cdb (diff)
downloadcacert-devel-9dceece06fbdc98add6f76f0b1aec05891a394c4.tar.gz
cacert-devel-9dceece06fbdc98add6f76f0b1aec05891a394c4.tar.xz
cacert-devel-9dceece06fbdc98add6f76f0b1aec05891a394c4.zip
remove cacert/ prefix
Diffstat (limited to 'scripts/test.c')
-rw-r--r--scripts/test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/test.c b/scripts/test.c
new file mode 100644
index 0000000..00f1704
--- /dev/null
+++ b/scripts/test.c
@@ -0,0 +1,9 @@
+#include<stdio.h>
+
+int main(int argc, char *argv[])
+{
+ setuid(0);
+ setgid(0);
+
+ execv("whoami", argv);
+}