chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@ -1,8 +1,10 @@
[userv.git]
/
debug.c
diff --git
a/debug.c
b/debug.c
index 19713af4bcdf028b34ecfd488e63bfeb53de0fb2..5ec6f94ef885d11be340c50478fcb8d71ad99a4d 100644
(file)
--- a/
debug.c
+++ b/
debug.c
@@
-2,7
+2,7
@@
* userv - ddebug.c
* routines which are different for -DDEBUG
*
* userv - ddebug.c
* routines which are different for -DDEBUG
*
- * Copyright (C)1996-1997 Ian Jackson
+ * Copyright (C)1996-1997
,1999
Ian Jackson
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
@@
-160,7
+160,7
@@
void debug_dumprequest(pid_t mypid) {
"calling uid: %ld\n"
"calling user shell: `%s'\n"
"calling groups:",
"calling uid: %ld\n"
"calling user shell: `%s'\n"
"calling groups:",
- logname, (long)request_mbuf.callinguid,
+ log
in
name, (long)request_mbuf.callinguid,
callinguser_shell);
groupsdump(request_mbuf.ngids,calling_gids,calling_groups);
printf("\n"
callinguser_shell);
groupsdump(request_mbuf.ngids,calling_gids,calling_groups);
printf("\n"
@@
-176,6
+176,8
@@
void debug_dumprequest(pid_t mypid) {
for (i=0; i<request_mbuf.nvars; i++)
printf(" `%s'=`%s'",defvararray[i].key,defvararray[i].value);
printf("\n");
for (i=0; i<request_mbuf.nvars; i++)
printf(" `%s'=`%s'",defvararray[i].key,defvararray[i].value);
printf("\n");
+ if (overridedata) printf("override data: `%s'\n",overridedata);
+ else printf("not overridden\n");
if (getenv("USERVD_SLEEP")) sleep(atoi(getenv("USERVD_SLEEP")));
}
if (getenv("USERVD_SLEEP")) sleep(atoi(getenv("USERVD_SLEEP")));
}