[dovecot-cvs] dovecot/src/pop3 main.c,1.21,1.22
cras at dovecot.org
cras at dovecot.org
Wed Dec 29 21:24:02 EET 2004
Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv29696/pop3
Modified Files:
main.c
Log Message:
Print effective uid/gid when mail_debug is enabled.
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- main.c 29 Dec 2004 19:10:28 -0000 1.21
+++ main.c 29 Dec 2004 19:24:00 -0000 1.22
@@ -150,6 +150,11 @@
if (getenv("USER") == NULL)
i_fatal("USER environment missing");
+ if (getenv("DEBUG") != NULL) {
+ i_info("Effective uid=%s, gid=%s",
+ dec2str(geteuid()), dec2str(getegid()));
+ }
+
mail_storage_register_all();
clients_init();
More information about the dovecot-cvs
mailing list