diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/OS/os.Configuring | 7 | ||||
-rw-r--r-- | src/OS/os.h-BSDI | 4 | ||||
-rw-r--r-- | src/OS/os.h-FreeBSD | 4 | ||||
-rw-r--r-- | src/OS/os.h-NetBSD | 3 | ||||
-rw-r--r-- | src/src/exim.c | 6 | ||||
-rw-r--r-- | src/src/transports/pipe.c | 8 |
6 files changed, 16 insertions, 16 deletions
diff --git a/src/OS/os.Configuring b/src/OS/os.Configuring index 62ab83a15..0adb96a6f 100644 --- a/src/OS/os.Configuring +++ b/src/OS/os.Configuring @@ -1,4 +1,4 @@ -$Cambridge: exim/src/OS/os.Configuring,v 1.2 2006/02/21 16:24:19 ph10 Exp $ +$Cambridge: exim/src/OS/os.Configuring,v 1.3 2006/03/16 12:25:24 ph10 Exp $ Configuring Exim for different Operating Systems ------------------------------------------------ @@ -188,8 +188,9 @@ Support for login_cap functions ------------------------------- Some of the BSD systems support functions for controlling the resources that -user processes can use (e.g. login_getpwclass). If HAVE_LOGIN_CAP is defined, -Exim supports this feature for running pipe deliveries. +user processes can use (e.g. login_getpwclass). If HAVE_SETCLASSRESOURCES is +defined, Exim supports this feature for running pipe deliveries, using the +setclassresources() function. The crypt_h header ------------------ diff --git a/src/OS/os.h-BSDI b/src/OS/os.h-BSDI index c49a0ad86..cb3eeaf91 100644 --- a/src/OS/os.h-BSDI +++ b/src/OS/os.h-BSDI @@ -1,9 +1,9 @@ -/* $Cambridge: exim/src/OS/os.h-BSDI,v 1.2 2006/02/21 16:24:19 ph10 Exp $ */ +/* $Cambridge: exim/src/OS/os.h-BSDI,v 1.3 2006/03/16 12:25:24 ph10 Exp $ */ /* Exim: OS-specific C header file for BSDI */ #define HAVE_BSD_GETLOADAVG -#define HAVE_LOGIN_CAP +#define HAVE_SETCLASSRESOURCES #define HAVE_MMAP #define HAVE_SYS_MOUNT_H #define SIOCGIFCONF_GIVES_ADDR diff --git a/src/OS/os.h-FreeBSD b/src/OS/os.h-FreeBSD index 091089f52..915f3b121 100644 --- a/src/OS/os.h-FreeBSD +++ b/src/OS/os.h-FreeBSD @@ -1,9 +1,9 @@ -/* $Cambridge: exim/src/OS/os.h-FreeBSD,v 1.2 2006/02/21 16:24:19 ph10 Exp $ */ +/* $Cambridge: exim/src/OS/os.h-FreeBSD,v 1.3 2006/03/16 12:25:24 ph10 Exp $ */ /* Exim: OS-specific C header file for FreeBSD */ #define HAVE_BSD_GETLOADAVG -#define HAVE_LOGIN_CAP +#define HAVE_SETCLASSRESOURCES #define HAVE_MMAP #define HAVE_SYS_MOUNT_H #define SIOCGIFCONF_GIVES_ADDR diff --git a/src/OS/os.h-NetBSD b/src/OS/os.h-NetBSD index 7c3ae4f5e..2edcad972 100644 --- a/src/OS/os.h-NetBSD +++ b/src/OS/os.h-NetBSD @@ -1,9 +1,8 @@ -/* $Cambridge: exim/src/OS/os.h-NetBSD,v 1.2 2006/02/21 16:24:19 ph10 Exp $ */ +/* $Cambridge: exim/src/OS/os.h-NetBSD,v 1.3 2006/03/16 12:25:24 ph10 Exp $ */ /* Exim: OS-specific C header file for NetBSD */ #define HAVE_BSD_GETLOADAVG -#define HAVE_LOGIN_CAP #define HAVE_MMAP #define HAVE_SYS_MOUNT_H #define SIOCGIFCONF_GIVES_ADDR diff --git a/src/src/exim.c b/src/src/exim.c index 30ea05c41..9384cc192 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/exim.c,v 1.37 2006/03/09 15:10:16 ph10 Exp $ */ +/* $Cambridge: exim/src/src/exim.c,v 1.38 2006/03/16 12:25:24 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -874,8 +874,8 @@ fprintf(f, "Support for:"); #if HAVE_IPV6 fprintf(f, " IPv6"); #endif -#ifdef HAVE_LOGIN_CAP - fprintf(f, " use_classresources"); +#ifdef HAVE_SETCLASSRESOURCES + fprintf(f, " use_setclassresources"); #endif #ifdef SUPPORT_PAM fprintf(f, " PAM"); diff --git a/src/src/transports/pipe.c b/src/src/transports/pipe.c index 97d69db0f..7fbfc86cc 100644 --- a/src/src/transports/pipe.c +++ b/src/src/transports/pipe.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/transports/pipe.c,v 1.10 2006/02/21 16:24:20 ph10 Exp $ */ +/* $Cambridge: exim/src/src/transports/pipe.c,v 1.11 2006/03/16 12:25:24 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -11,7 +11,7 @@ #include "../exim.h" #include "pipe.h" -#ifdef HAVE_LOGIN_CAP +#ifdef HAVE_SETCLASSRESOURCES #include <login_cap.h> #endif @@ -75,7 +75,7 @@ optionlist pipe_transport_options[] = { (void *)offsetof(pipe_transport_options_block, umask) }, { "use_bsmtp", opt_bool, (void *)offsetof(pipe_transport_options_block, use_bsmtp) }, - #ifdef HAVE_LOGIN_CAP + #ifdef HAVE_SETCLASSRESOURCES { "use_classresources", opt_bool, (void *)offsetof(pipe_transport_options_block, use_classresources) }, #endif @@ -154,7 +154,7 @@ gid = gid; errmsg = errmsg; ob = ob; -#ifdef HAVE_LOGIN_CAP +#ifdef HAVE_SETCLASSRESOURCES if (ob->use_classresources) { struct passwd *pw = getpwuid(uid); |