version 1.1.2.6, 2010/10/18 11:20:37
|
version 1.1.2.7, 2010/10/18 12:18:21
|
Line 46 sigHand(int sig)
|
Line 46 sigHand(int sig)
|
int |
int |
main(int argc, char **argv) |
main(int argc, char **argv) |
{ |
{ |
char ch, bypass = 0, szChroot[MAXPATHLEN] = "/"; | char ch, bypass = 0, szChroot[MAXPATHLEN] = DEFAULT_CHROOT; |
int status = 0, ret = 1; |
int status = 0, ret = 1; |
struct sigaction sa; |
struct sigaction sa; |
struct passwd *pass = NULL; |
struct passwd *pass = NULL; |
uid_t uid = getuid(); |
|
u_int penalty = 1; |
u_int penalty = 1; |
|
uid_t uid = getuid(); |
|
|
while ((ch = getopt(argc, argv, "vhPc:u:")) != -1) |
while ((ch = getopt(argc, argv, "vhPc:u:")) != -1) |
switch (ch) { |
switch (ch) { |