1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341
|
/*
* This file was produced by running the config_h.SH script, which
* gets its values from config.sh, which is generally produced by
* running Configure.
*
* Feel free to modify any of this as the need arises. Note, however,
* that running config_h.SH again will wipe out any changes you've made.
* For a more permanent change edit config.sh and rerun config_h.SH.
*
* $Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $
*/
/* Configuration time: Tue May 20 02:37:09 PDT 1997
* Configured by: karlheg
* Target system: linux bittersweet 2.1.36 #2 thu may 1 11:55:19 pdt 1997 i586 unknown
*/
#ifndef _config_h_
#define _config_h_
/* HAS_PERROR:
* This symbol, if defined, indicates that the perror() routine is
* available to print system error messages. If not defined, you should
* use your own diagnostic routine...
*/
/* perror:
* This symbol is maped to null if the perror() routine is not
* available to print system error messages.
*/
#define HAS_PERROR /**/
#ifndef HAS_PERROR
#define perror(s) ; /* mapped to a null statement */
#endif
/* HAS_SETEGID:
* This symbol, if defined, indicates that the setegid routine is available
* to change the effective gid of the current program.
*/
#define HAS_SETEGID /**/
/* HAS_SETEUID:
* This symbol, if defined, indicates that the seteuid routine is available
* to change the effective uid of the current program.
*/
#define HAS_SETEUID /**/
/* HAS_SETREGID:
* This symbol, if defined, indicates that the setregid routine is
* available to change the real and effective gid of the current
* process.
*/
/* HAS_SETRESGID:
* This symbol, if defined, indicates that the setresgid routine is
* available to change the real, effective and saved gid of the current
* process.
*/
#define HAS_SETREGID /**/
/*#define HAS_SETRESGID /**/
/* HAS_SETREUID:
* This symbol, if defined, indicates that the setreuid routine is
* available to change the real and effective uid of the current
* process.
*/
/* HAS_SETRESUID:
* This symbol, if defined, indicates that the setresuid routine is
* available to change the real, effective and saved uid of the current
* process.
*/
#define HAS_SETREUID /**/
/*#define HAS_SETRESUID /**/
/* HAS_SETRGID:
* This symbol, if defined, indicates that the setrgid routine is available
* to change the real gid of the current program.
*/
/*#define HAS_SETRGID /**/
/* HAS_SETRUID:
* This symbol, if defined, indicates that the setruid routine is available
* to change the real uid of the current program.
*/
/*#define HAS_SETRUID /**/
/* HAS_STRDUP:
* This symbol, if defined, indicates that the strdup routine is
* available to duplicate strings in memory. Otherwise, roll up
* your own...
*/
#define HAS_STRDUP /**/
/* HAS_STRERROR:
* This symbol, if defined, indicates that the strerror routine is
* available to translate error numbers to strings. See the writeup
* of Strerror() in this file before you try to define your own.
*/
#define HAS_STRERROR /**/
/* HAS_SYSLOG:
* This symbol, if defined, indicates that the program can rely on the
* system providing syslog(). Otherwise, the syslog code provided by
* the package should be used.
*/
#define HAS_SYSLOG /**/
/* HAS_SYSTEM:
* This symbol, if defined, indicates that the system routine is
* available to issue a shell command.
*/
#define HAS_SYSTEM /**/
/* I_LIMITS:
* This symbol, if defined, indicates to the C program that it should
* include <limits.h> to get definition of symbols like WORD_BIT or
* LONG_MAX, i.e. machine dependant limitations.
*/
#define I_LIMITS /**/
/* I_PWD:
* This symbol, if defined, indicates to the C program that it should
* include <pwd.h>.
*/
#define I_PWD /**/
/* I_STDLIB:
* This symbol, if defined, indicates that <stdlib.h> exists and should
* be included.
*/
#define I_STDLIB /**/
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
*/
#define I_STRING /**/
/* I_SYS_RESOURCE:
* This symbol, if defined, indicates to the C program that it should
* include <sys/resource.h>.
*/
#define I_SYS_RESOURCE /**/
/* I_SYS_TYPES:
* This symbol, if defined, indicates to the C program that it should
* include <sys/types.h>.
*/
#define I_SYS_TYPES /**/
/* I_SYS_TIME:
* This symbol, if defined, indicates to the C program that it should
* include <sys/time.h>.
*/
#define I_SYS_TIME /**/
/* I_UNISTD:
* This symbol, if defined, indicates to the C program that it should
* include <unistd.h>.
*/
#define I_UNISTD /**/
/* VOIDFLAGS:
* This symbol indicates how much support of the void type is given by this
* compiler. What various bits mean:
*
* 1 = supports declaration of void
* 2 = supports arrays of pointers to functions returning void
* 4 = supports comparisons between pointers to void functions and
* addresses of void functions
* 8 = suports declaration of generic void pointers
*
* The package designer should define VOIDUSED to indicate the requirements
* of the package. This can be done either by #defining VOIDUSED before
* including config.h, or by defining defvoidused in Myinit.U. If the
* latter approach is taken, only those flags will be tested. If the
* level of void support necessary is not present, defines void to int.
*/
#ifndef VOIDUSED
#define VOIDUSED 15
#endif
#define VOIDFLAGS 15
#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
#define void int /* is void to be avoided? */
#define M_VOID /* Xenix strikes again */
#endif
/* CONF_ALLOWFILE:
* Defined to be the filename that cgiwrap checks to see what users are
* allowed to use cgiwrap scripts.
*/
/* CONF_DENYFILE:
* Defined to be the filename that cgiwrap checks to see what users are
* not allowed to use cgiwrap scripts.
*/
/* CONF_ACCESS:
* Defined if you have enabled access control checking of the allow/deny
* files.
*/
/* CONF_CHECKHOST:
* Defined if you have enabled host address checking in the allow/deny
* files.
*/
#define CONF_ALLOWFILE "/etc/cgiwrap.allow" /**/
#define CONF_DENYFILE "/etc/cgiwrap.deny" /**/
#define CONF_ACCESS /**/
#define CONF_CHECKHOST /**/
/* CONF_AFS_SETPAG:
* Defined if the cgiwrap should issue the AFS setpag() call..
*/
/*#define CONF_AFS_SETPAG /**/
/* CONF_SETGROUPS:
* Defined if you want cgiwrap to clear the auxilliary groups for the
* script process.
*/
/* CONF_INITGROUPS:
* Defined if you want cgiwrap to set the auxilliary groups for the
* script process.
*/
#define CONF_SETGROUPS /**/
#define CONF_INITGROUPS /**/
/* CONF_CGIDIR:
* Relative path from the users home dir to their cgi directory,
* for example, "public_html/cgi-bin" or "public_html/auth-cgi-bin".
*/
#define CONF_CGIDIR "public_html/cgi-bin" /**/
/* CONF_CHECK_SCRUID:
* If defined, cgiwrap will verify that owner of the script matches
* the UID it switched to.
*/
/* CONF_CHECK_SCRGID:
* If defined, cgiwrap will verify that group of the script matches
* the GID it switched to.
*/
/* CONF_CHECK_SCRSUID:
* If defined, cgiwrap will verify that the script is not set-uid
*/
/* CONF_CHECK_SCRSGID:
* If defined, cgiwrap will verify that the script is not set-gid
*/
#define CONF_CHECK_SCRUID /**/
#define CONF_CHECK_SCRGID /**/
#define CONF_CHECK_SCRSUID /**/
#define CONF_CHECK_SCRSGID /**/
/* CONF_FIXED_PATHTRANS:
* Defined if you want cgiwrap to set the correct PATH_TRANSLATED
* environment variable, as opposed to the incorrect value that has
* been getting set for several versions.
*/
#define CONF_FIXED_PATHTRANS /**/
/* CONF_HTTPD_USER:
* This symbol contains the userid that the web server runs as.
*/
/* CONF_CHECK_HTTPD_USER:
* This symbol contains the userid that the web server runs as.
*/
#define CONF_CHECK_HTTPD_USER /**/
#define CONF_HTTPD_USER "www-data" /**/
/* CONF_LOG_LOGFILE:
* Defined to be the filename that cgiwrap logs requests to.
*/
/* CONF_LOG_LABEL:
* Defined to be the label that identifies this copy of cgiwrap.
*/
/* CONF_LOG_USEFILE:
* Defined if cgiwrap will log to a file.
*/
/* CONF_LOG_USESYSLOG:
* Defined if cgiwrap will log to syslog..
*/
/*#define CONF_LOG_USEFILE /**/
#define CONF_LOG_USESYSLOG /**/
#define CONF_LOG_LOGFILE "/var/log/cgiwrap.log" /**/
#define CONF_LOG_LABEL "" /**/
/* CONF_SUBDIRS:
* Defined if you want to allow users to store cgi scripts
* in subdirectories under their cgi-bin directory.
*/
#define CONF_SUBDIRS /**/
/* CONF_REDIR_STDERR:
* Sgould cgiwrap redirect stderr from scripts to stdout
*/
#define CONF_REDIR_STDERR /**/
/* CONF_USE_RLIMIT_CPU:
* Defined if you want cgiwrap to issue a set_rlimit call to limit
* the cgi script's usage of cpu resources.
*/
/* CONF_USE_RLIMIT_VMEM:
* Defined if you want cgiwrap to issue a set_rlimit call to limit
* the cgi script's usage of virtual memory resources.
*/
#define CONF_USE_RLIMIT_CPU /**/
#define CONF_USE_RLIMIT_VMEM /**/
/* CONF_USE_SYSTEM:
* Defined this if you want to execute script via system() instead
* of via exec().
*/
/*#define CONF_USE_SYSTEM /**/
/* CONF_USERDIRFILE:
* Defined to be the filename that cgiwrap processes to rewrite user
* directory paths.
*/
#define CONF_USERDIRFILE "/etc/cgiwrap.userdir" /**/
/* HAS_INITGROUPS:
* If defined, this indicates that the system has the initgroups call.
*/
#define HAS_INITGROUPS /**/
/* HAS_SETGID:
* This symbol, if defined, indicates that the setgid routine is available
* to change the real gid of the current program.
*/
#define HAS_SETGID /**/
/* HAS_SETGROUPS:
* If defined, this indicates that the system has the setgroups call.
*/
#define HAS_SETGROUPS /**/
/* HAS_SETUID:
* This symbol, if defined, indicates that the setuid routine is available
* to change the real uid of the current program.
*/
#define HAS_SETUID /**/
/* HAS_SIGSET:
* This symbol, if defined, indicates that the sigset routine is available.
*/
/*#define HAS_SIGSET /**/
#endif
|