Hardened the proxymap client, in case it ever ends up in
a set-gid program. File: global/dict_proxy.c.
+
+10081007
+
+ Undo the proxymap client change. It broke chrooted servers
+ when they attempted to reconnect to the proxy read/write
+ service. File: global/dict_proxy.c.
int server_flags;
int status;
const char *service;
- char *chroot_path;
+ char *relative_path;
char *kludge = 0;
char *prefix;
CLNT_STREAM **pstream;
map, DICT_TYPE_PROXY);
if (*pstream == 0) {
- chroot_path = concatenate("/" MAIL_CLASS_PRIVATE "/",
+ relative_path = concatenate(MAIL_CLASS_PRIVATE "/",
service, (char *) 0);
- if (access(chroot_path, F_OK) == 0)
- prefix = "/" MAIL_CLASS_PRIVATE;
+ if (access(relative_path, F_OK) == 0)
+ prefix = MAIL_CLASS_PRIVATE;
else
prefix = kludge = concatenate(var_queue_dir, "/",
MAIL_CLASS_PRIVATE, (char *) 0);
var_ipc_ttl_limit);
if (kludge)
myfree(kludge);
- myfree(chroot_path);
+ myfree(relative_path);
}
/*
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
-#define MAIL_RELEASE_DATE "20081006"
+#define MAIL_RELEASE_DATE "20081007"
#define MAIL_VERSION_NUMBER "2.6"
#ifdef SNAPSHOT