From 32a965e09ce4befe971855e11e1fb5ceb51a9ed1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Dec 1999 13:35:20 +0000 Subject: 2nd phase of head branch sync with SAMBA_2_0 - this delets all the files that were in the head branch but weren't in SAMBA_2_0 (This used to be commit d7b208786590b5a28618590172b8d523627dda09) --- source3/tests/trapdoor.c | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 source3/tests/trapdoor.c (limited to 'source3/tests') diff --git a/source3/tests/trapdoor.c b/source3/tests/trapdoor.c deleted file mode 100644 index 83e10d0613..0000000000 --- a/source3/tests/trapdoor.c +++ /dev/null @@ -1,25 +0,0 @@ -/* test for a trapdoor uid system */ - -#include -#include -#include - -main() -{ - if (getuid() != 0) { - fprintf(stderr,"ERROR: This test must be run as root - assuming non-trapdoor system\n"); - exit(0); - } - - if (seteuid(1) != 0) exit(1); - if (geteuid() != 1) exit(1); - if (seteuid(0) != 0) exit(1); - if (geteuid() != 0) exit(1); - - if (setegid(1) != 0) exit(1); - if (getegid() != 1) exit(1); - if (setegid(0) != 0) exit(1); - if (getegid() != 0) exit(1); - - exit(0); -} -- cgit