first cut at adding NEEDGETUSERSHELL
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 25 Dec 1993 02:12:28 +0000 (18:12 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 25 Dec 1993 02:12:28 +0000 (18:12 -0800)
SCCS-vsn: usr.sbin/sendmail/src/conf.h 8.68

usr/src/usr.sbin/sendmail/src/conf.h

index 0c073e8..efc4749 100644 (file)
@@ -5,7 +5,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)conf.h      8.67 (Berkeley) %G%
+ *     @(#)conf.h      8.68 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASSTATFS     1       /* has the statfs(2) syscall */
 # define HASUNAME      1       /* use System V uname(2) system call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASSTATFS     1       /* has the statfs(2) syscall */
 # define HASUNAME      1       /* use System V uname(2) system call */
+# define NEEDGETUSERSHELL 1    /* needs getusershell(3) implementation */
 # define FORK          fork    /* no vfork primitive available */
 # undef  SETPROCTITLE          /* setproctitle confuses AIX */
 # endif
 # define FORK          fork    /* no vfork primitive available */
 # undef  SETPROCTITLE          /* setproctitle confuses AIX */
 # endif
 # define HASSETREUID   1       /* has setreuid(2) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASSTATFS     1       /* has the statfs(2) syscall */
 # define HASSETREUID   1       /* has setreuid(2) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASSTATFS     1       /* has the statfs(2) syscall */
+# define NEEDGETUSERSHELL 1    /* needs getusershell(3) implementation */
 # define FORK          fork    /* no vfork primitive available */
 # define WAITUNION     1       /* use "union wait" as wait argument type */
 # define setpgid       BSDsetpgrp
 # define FORK          fork    /* no vfork primitive available */
 # define WAITUNION     1       /* use "union wait" as wait argument type */
 # define setpgid       BSDsetpgrp
 # define LA_TYPE       LA_INT
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASUNAME      1       /* use System V uname(2) system call */
 # define LA_TYPE       LA_INT
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASUNAME      1       /* use System V uname(2) system call */
+# define NEEDGETUSERSHELL 0    /* libc has getusershell(3) */
 
 # ifdef SOLARIS_2_3
 #  define SOLARIS
 
 # ifdef SOLARIS_2_3
 #  define SOLARIS
@@ -246,6 +249,7 @@ extern long dgux_inet_addr();
 # define HASUNSETENV   1       /* has unsetenv(3) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASFLOCK      1       /* has flock(2) call */
 # define HASUNSETENV   1       /* has unsetenv(3) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASFLOCK      1       /* has flock(2) call */
+# define NEEDGETUSERSHELL 1    /* needs getusershell(3) implementation */
 # ifdef vax
 #  define LA_TYPE      LA_FLOAT
 # else
 # ifdef vax
 #  define LA_TYPE      LA_FLOAT
 # else
@@ -551,6 +555,7 @@ extern void         *malloc();
 # define HASSTATFS     1       /* has the statfs(2) syscall */
 # define HASSETVBUF    1       /* we have setvbuf(3) in libc */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASSTATFS     1       /* has the statfs(2) syscall */
 # define HASSETVBUF    1       /* we have setvbuf(3) in libc */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
+# define NEEDGETUSERSHELL 1    /* needs getusershell(3) implementation ??? */
 # define SYS5SIGNALS   1       /* SysV signal semantics -- reset on each sig */
 # define SYS5SETPGRP   1       /* use System V setpgrp(2) syscall */
 # define FORK          fork    /* no vfork(2) primitive available */
 # define SYS5SIGNALS   1       /* SysV signal semantics -- reset on each sig */
 # define SYS5SETPGRP   1       /* use System V setpgrp(2) syscall */
 # define FORK          fork    /* no vfork(2) primitive available */
@@ -638,6 +643,9 @@ typedef int         pid_t;
 #ifdef __svr4__
 # define SYSTEM5       1
 # define HASSETREUID   1       /* has seteuid(2) call & working saved uids */
 #ifdef __svr4__
 # define SYSTEM5       1
 # define HASSETREUID   1       /* has seteuid(2) call & working saved uids */
+# ifndef NEEDGETUSERSHELL
+#  define NEEDGETUSERSHELL 1   /* needs getusershell(3) implementation ??? */
+# endif
 # define setreuid(r, e)        seteuid(e)
 
 # ifndef _PATH_UNIX
 # define setreuid(r, e)        seteuid(e)
 
 # ifndef _PATH_UNIX
@@ -709,6 +717,10 @@ typedef int                pid_t;
 # define IDENTPROTO    1       /* use IDENT proto (RFC 1413) */
 #endif
 
 # define IDENTPROTO    1       /* use IDENT proto (RFC 1413) */
 #endif
 
+#ifndef NEEDGETUSERSHELL
+# define NEEDGETUSERSHELL 0    /* libc has getusershell(3) */
+#endif
+
 
 /**********************************************************************
 **  Remaining definitions should never have to be changed.  They are
 
 /**********************************************************************
 **  Remaining definitions should never have to be changed.  They are