[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    [dovecot-cvs] dovecot/src/pop3 main.c,1.21,1.22
From:       cras () dovecot ! org (cras () dovecot ! org)
Date:       2004-12-29 21:24:05
Message-ID: 20041229192402.B9624C004573 () talvi ! dovecot ! org
[Download RAW message or body]

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();
 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic