-/* $NetBSD: main.c,v 1.17 2009/05/24 22:55:03 dholland Exp $ */
+/* $NetBSD: main.c,v 1.18 2009/05/25 00:12:32 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.17 2009/05/24 22:55:03 dholland Exp $");
+__RCSID("$NetBSD: main.c,v 1.18 2009/05/25 00:12:32 dholland Exp $");
#endif
#endif /* not lint */
#define PRIO 00 /* default priority */
-uid_t Mother = 51 + (51 << 8);
-
/*
** #### ##### # #### ##### #### ##### # #
** # # # # # # # # # # # #
#ifdef xTRACE
case 't': /* trace */
- if (getuid() != Mother)
- goto badflag;
Trace++;
break;
#endif
case 'p': /* set priority */
- if (getuid() != Mother)
- goto badflag;
prio = atoi(av[0] + 2);
break;
default:
- badflag:
printf("Invalid option: %s\n", av[0]);
}