* Copyright (c) 1983 Regents of the University of California.
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
"@(#) Copyright (c) 1983 Regents of the University of California.\n\
static char sccsid
[] = "@(#)main.c 5.3 (Berkeley) %G%";
issetuid
= getuid() != geteuid();
if (p
= rindex(*argv
, '/'))
if (strcmp(p
, "driver") == 0 || strcmp(p
, "saildriver") == 0)
else if (strcmp(p
, "sail.log") == 0)
while ((p
= *++argv
) && *p
== '-')
fprintf(stderr
, "SAIL: Unknown flag %s.\n", p
);
fprintf(stderr
, "SAIL: Unknown mode %d.\n", mode
);