nicer formatting
[tridge/junkcode.git] / tstid.c
1 #include <stdlib.h>
2 #include <stdio.h>
3
4
5 void report()
6 {
7 printf("uid=%d euid=%d\n",getuid(),geteuid());
8 }
9
10 main()
11 {
12 report();
13 seteuid(65534);
14 report();
15 seteuid(-2);
16 report();
17 }