X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config.h.in;h=7c70f7f5af3c2f4b67f666e985ec11041d2bc830;hb=e85b1fe629d927c46a0e7f023d0ae8bcbd2c3d86;hp=2d45f3cb6957eedaed2e362c335017f89f3ede8b;hpb=99c6ded71e3f237e8378706e304aa5ca0879c136;p=debian%2Fsudo diff --git a/config.h.in b/config.h.in index 2d45f3c..7c70f7f 100644 --- a/config.h.in +++ b/config.h.in @@ -10,17 +10,9 @@ /* Define to 1 if you want the insults from the "classic" version sudo. */ #undef CLASSIC_INSULTS -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -#undef CRAY_STACKSEG_END - /* Define to 1 if you want insults culled from the twisted minds of CSOps. */ #undef CSOPS_INSULTS -/* Define to 1 if using `alloca.c'. */ -#undef C_ALLOCA - /* Define to 1 if you want sudo to display "command not allowed" instead of "command not found" when a command cannot be found. */ #undef DONT_LEAK_PATH_INFO @@ -28,6 +20,9 @@ /* A colon-separated list of pathnames to be used as the editor for visudo. */ #undef EDITOR +/* Define to 1 to enable environment function debugging. */ +#undef ENV_DEBUG + /* Define to 1 if you want visudo to honor the EDITOR and VISUAL env variables. */ #undef ENV_EDITOR @@ -38,6 +33,10 @@ /* Define to 1 if you want to require fully qualified hosts in sudoers. */ #undef FQDN +/* Define to the type of elements in the array set by `getgroups'. Usually + this is either `int' or `gid_t'. */ +#undef GETGROUPS_T + /* Define to 1 if you want insults from the "Goon Show". */ #undef GOONS_INSULTS @@ -50,13 +49,6 @@ /* Define to 1 if you use AIX general authentication. */ #undef HAVE_AIXAUTH -/* Define to 1 if you have `alloca', as a function or macro. */ -#undef HAVE_ALLOCA - -/* Define to 1 if you have and it should be used (not on Ultrix). - */ -#undef HAVE_ALLOCA_H - /* Define to 1 if you have the `asprintf' function. */ #undef HAVE_ASPRINTF @@ -72,6 +64,9 @@ /* Define to 1 if you use BSD authentication. */ #undef HAVE_BSD_AUTH_H +/* Define to 1 to enable BSM audit support. */ +#undef HAVE_BSM_AUDIT + /* Define to 1 if you have the `closefrom' function. */ #undef HAVE_CLOSEFROM @@ -81,6 +76,18 @@ /* Define to 1 if your `DIR' contains dd_fd. */ #undef HAVE_DD_FD +/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you + don't. */ +#undef HAVE_DECL_SYS_SIGLIST + +/* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you + don't. */ +#undef HAVE_DECL__SYS_SIGLIST + +/* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you + don't. */ +#undef HAVE_DECL___SYS_SIGLIST + /* Define to 1 if you have the `dgettext' function. */ #undef HAVE_DGETTEXT @@ -94,8 +101,8 @@ /* Define to 1 if you have the `dispcrypt' function. */ #undef HAVE_DISPCRYPT -/* Define to 1 if you have the header file. */ -#undef HAVE_ERR_H +/* Define to 1 if you have the header file. */ +#undef HAVE_DLFCN_H /* Define to 1 if your glob.h defines the GLOB_BRACE and GLOB_TILDE flags. */ #undef HAVE_EXTENDED_GLOB @@ -103,6 +110,9 @@ /* Define to 1 if your system has the F_CLOSEM fcntl. */ #undef HAVE_FCNTL_CLOSEM +/* Define to 1 if you have the `fgetln' function. */ +#undef HAVE_FGETLN + /* Define to 1 if you have the `flock' function. */ #undef HAVE_FLOCK @@ -146,6 +156,9 @@ /* Define to 1 if you have the `getifaddrs' function. */ #undef HAVE_GETIFADDRS +/* Define to 1 if you have the `getline' function. */ +#undef HAVE_GETLINE + /* Define to 1 if you have the `getprogname' function. */ #undef HAVE_GETPROGNAME @@ -168,9 +181,27 @@ /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY +/* Define to 1 if you have the `getuserattr' function. */ +#undef HAVE_GETUSERATTR + +/* Define to 1 if you have the `getutid' function. */ +#undef HAVE_GETUTID + +/* Define to 1 if you have the `getutxid' function. */ +#undef HAVE_GETUTXID + /* Define to 1 if you have the `glob' function. */ #undef HAVE_GLOB +/* Define to 1 if you have the `grantpt' function. */ +#undef HAVE_GRANTPT + +/* Define to 1 if you have the header file. */ +#undef HAVE_GSSAPI_GSSAPI_KRB5_H + +/* Define to 1 if you have the `gss_krb5_ccache_name' function. */ +#undef HAVE_GSS_KRB5_CCACHE_NAME + /* Define to 1 if your Kerberos is Heimdal. */ #undef HAVE_HEIMDAL @@ -206,6 +237,16 @@ /* Define to 1 if you use Kerberos V. */ #undef HAVE_KERB5 +/* Define to 1 if you have the `killpg' function. */ +#undef HAVE_KILLPG + +/* Define to 1 if you have the `krb5_get_init_creds_opt_alloc' function. */ +#undef HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC + +/* Define to 1 if your `krb5_get_init_creds_opt_free' function takes two + arguments. */ +#undef HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_TWO_ARGS + /* Define to 1 if you have the `krb5_init_secure_context' function. */ #undef HAVE_KRB5_INIT_SECURE_CONTEXT @@ -218,14 +259,50 @@ /* Define to 1 if you use LDAP for sudoers. */ #undef HAVE_LDAP +/* Define to 1 if you have the `ldapssl_init' function. */ +#undef HAVE_LDAPSSL_INIT + +/* Define to 1 if you have the `ldapssl_set_strength' function. */ +#undef HAVE_LDAPSSL_SET_STRENGTH + +/* Define to 1 if you have the `ldap_create' function. */ +#undef HAVE_LDAP_CREATE + /* Define to 1 if you have the `ldap_initialize' function. */ #undef HAVE_LDAP_INITIALIZE +/* Define to 1 if you have the `ldap_sasl_bind_s' function. */ +#undef HAVE_LDAP_SASL_BIND_S + +/* Define to 1 if you have the `ldap_sasl_interactive_bind_s' function. */ +#undef HAVE_LDAP_SASL_INTERACTIVE_BIND_S + +/* Define to 1 if you have the `ldap_search_ext_s' function. */ +#undef HAVE_LDAP_SEARCH_EXT_S + +/* Define to 1 if you have the `ldap_ssl_client_init' function. */ +#undef HAVE_LDAP_SSL_CLIENT_INIT + +/* Define to 1 if you have the header file. */ +#undef HAVE_LDAP_SSL_H + /* Define to 1 if you have the `ldap_start_tls_s' function. */ #undef HAVE_LDAP_START_TLS_S -/* Define to 1 if you have the `ldapssl_init' function. */ -#undef HAVE_LDAPSSL_INIT +/* Define to 1 if you have the `ldap_start_tls_s_np' function. */ +#undef HAVE_LDAP_START_TLS_S_NP + +/* Define to 1 if you have the `ldap_str2dn' function. */ +#undef HAVE_LDAP_STR2DN + +/* Define to 1 if you have the `ldap_unbind_ext_s' function. */ +#undef HAVE_LDAP_UNBIND_EXT_S + +/* Define to 1 if you have the `dl' library (-ldl). */ +#undef HAVE_LIBDL + +/* Define to 1 to enable Linux audit support. */ +#undef HAVE_LINUX_AUDIT /* Define to 1 if you have the `lockf' function. */ #undef HAVE_LOCKF @@ -239,12 +316,15 @@ /* Define to 1 if you have the `lrand48' function. */ #undef HAVE_LRAND48 -/* Define to 1 if you have the `lsearch' function. */ -#undef HAVE_LSEARCH +/* Define to 1 if you have the header file. */ +#undef HAVE_MAILLOCK_H /* Define to 1 if you have the header file. */ #undef HAVE_MALLOC_H +/* Define to 1 if you have the `mbr_check_membership' function. */ +#undef HAVE_MBR_CHECK_MEMBERSHIP + /* Define to 1 if you have the `memchr' function. */ #undef HAVE_MEMCHR @@ -260,8 +340,14 @@ /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET -/* Define to 1 if you have the `mkstemp' function. */ -#undef HAVE_MKSTEMP +/* Define to 1 if you have the `mkstemps' function. */ +#undef HAVE_MKSTEMPS + +/* Define to 1 if you have the header file. */ +#undef HAVE_MPS_LDAP_SSL_H + +/* Define to 1 if you have the `nanosleep' function. */ +#undef HAVE_NANOSLEEP /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_NDIR_H @@ -269,24 +355,48 @@ /* Define to 1 if you have the header file. */ #undef HAVE_NETGROUP_H +/* Define to 1 if you have the `openpty' function. */ +#undef HAVE_OPENPTY + /* Define to 1 if you use NRL OPIE. */ #undef HAVE_OPIE /* Define to 1 if you use PAM authentication. */ #undef HAVE_PAM +/* Define to 1 if you use a specific PAM session for sudo -i. */ +#undef HAVE_PAM_LOGIN + /* Define to 1 if you have the header file. */ #undef HAVE_PAM_PAM_APPL_H /* Define to 1 if you have the header file. */ #undef HAVE_PATHS_H +/* Define to 1 if you have the `posix_openpt' function. */ +#undef HAVE_POSIX_OPENPT + /* Define to 1 if you have the header file. */ #undef HAVE_PROJECT_H +/* Define to 1 if you have the header file. */ +#undef HAVE_PTY_H + /* Define to 1 if you have the `random' function. */ #undef HAVE_RANDOM +/* Define to 1 if you have the `regcomp' function. */ +#undef HAVE_REGCOMP + +/* Define to 1 if you have the `revoke' function. */ +#undef HAVE_REVOKE + +/* Define to 1 if you have the header file. */ +#undef HAVE_SASL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SASL_SASL_H + /* Define if your struct sockadr has an sa_len field. */ #undef HAVE_SA_LEN @@ -296,9 +406,21 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SECURITY_PAM_APPL_H +/* Define to 1 to enable SELinux RBAC support. */ +#undef HAVE_SELINUX + +/* Define to 1 if you have the `setauthdb' function. */ +#undef HAVE_SETAUTHDB + +/* Define to 1 if you have the `setenv' function. */ +#undef HAVE_SETENV + /* Define to 1 if you have the `seteuid' function. */ #undef HAVE_SETEUID +/* Define to 1 if you have the `setkeycreatecon' function. */ +#undef HAVE_SETKEYCREATECON + /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE @@ -311,12 +433,15 @@ /* Define to 1 if you have the `setrlimit' function. */ #undef HAVE_SETRLIMIT +/* Define to 1 if you have the `setrlimit64' function. */ +#undef HAVE_SETRLIMIT64 + +/* Define to 1 if you have the `setsid' function. */ +#undef HAVE_SETSID + /* Define to 1 if you have the `set_auth_parameters' function. */ #undef HAVE_SET_AUTH_PARAMETERS -/* Define to 1 if you use SIA authentication. */ -#undef HAVE_SIA - /* Define to 1 if you have the `sia_ses_init' function. */ #undef HAVE_SIA_SES_INIT @@ -326,9 +451,6 @@ /* Define to 1 if has the sigaction_t typedef. */ #undef HAVE_SIGACTION_T -/* Define to 1 if the system has the type `sig_atomic_t'. */ -#undef HAVE_SIG_ATOMIC_T - /* Define to 1 if you use S/Key. */ #undef HAVE_SKEY @@ -371,15 +493,27 @@ /* Define to 1 if you have the `strrchr' function. */ #undef HAVE_STRRCHR +/* Define to 1 if you have the `strsignal' function. */ +#undef HAVE_STRSIGNAL + +/* Define to 1 if the system has the type `struct in6_addr'. */ +#undef HAVE_STRUCT_IN6_ADDR + /* Define to 1 if your struct stat has an st_mtim member */ #undef HAVE_ST_MTIM /* Define to 1 if your struct stat has an st_mtimespec member */ #undef HAVE_ST_MTIMESPEC +/* Define to 1 if your struct stat uses an st__tim union */ +#undef HAVE_ST__TIM + /* Define to 1 if you have the `sysconf' function. */ #undef HAVE_SYSCONF +/* Define to 1 if you have the `sysctl' function. */ +#undef HAVE_SYSCTL + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_BSDTYPES_H @@ -400,9 +534,15 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STROPTS_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H +/* Define to 1 if you have the `tcsetpgrp' function. */ +#undef HAVE_TCSETPGRP + /* Define to 1 if you have the header file and the `tcgetattr' function. */ #undef HAVE_TERMIOS_H @@ -413,16 +553,18 @@ /* Define to 1 if you have struct timespec in sys/time.h */ #undef HAVE_TIMESPEC -/* Define to 1 if you have a timespecsub macro or function that takes two - arguments (not three) */ -#undef HAVE_TIMESPECSUB2 - /* Define to 1 if you have the `tzset' function. */ #undef HAVE_TZSET /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the `unsetenv' function. */ +#undef HAVE_UNSETENV + +/* Define to 1 if you have the header file. */ +#undef HAVE_UTIL_H + /* Define to 1 if you have the `utimes' function. */ #undef HAVE_UTIMES @@ -432,6 +574,9 @@ /* Define to 1 if you have the `vasprintf' function. */ #undef HAVE_VASPRINTF +/* Define to 1 if you have the `vhangup' function. */ +#undef HAVE_VHANGUP + /* Define to 1 if you have the `vsnprintf' function. */ #undef HAVE_VSNPRINTF @@ -441,6 +586,12 @@ /* Define to 1 if you have the `waitpid' function. */ #undef HAVE_WAITPID +/* Define to 1 if you have the header file. */ +#undef HAVE_ZLIB_H + +/* Define to 1 if you have the `_getpty' function. */ +#undef HAVE__GETPTY + /* Define to 1 if you have the `_innetgr' function. */ #undef HAVE__INNETGR @@ -456,6 +607,9 @@ /* The message given when a bad password is entered. */ #undef INCORRECT_PASSWORD +/* The name of libvas.so */ +#undef LIBVAS_SO + /* The syslog facility sudo will use. */ #undef LOGFAC @@ -492,7 +646,7 @@ sudo. */ #undef NO_LECTURE -/* Define to 1 if you don't want to use sudo's PAM session support. */ +/* Define to 1 if you don't want to use sudo's PAM session support */ #undef NO_PAM_SESSION /* Define to avoid runing the mailer as root. */ @@ -501,6 +655,27 @@ /* Define to 1 if root should not be allowed to use sudo. */ #undef NO_ROOT_SUDO +/* Define to 1 if you want a single ticket file instead of per-tty files. */ +#undef NO_TTY_TICKETS + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + /* The default password prompt. */ #undef PASSPROMPT @@ -517,6 +692,9 @@ /* The syslog priority sudo will use for successful attempts. */ #undef PRI_SUCCESS +/* Define to 1 if the `putenv' has a const argument. */ +#undef PUTENV_CONST + /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE @@ -536,20 +714,15 @@ /* Define to 1 to send mail when the user is not in the sudoers file. */ #undef SEND_MAIL_WHEN_NO_USER +/* Define to 1 if the `setpgrp' function takes no argument. */ +#undef SETPGRP_VOID + /* Define to 1 if you want sudo to start a shell if given no arguments. */ #undef SHELL_IF_NO_ARGS /* Define to 1 if you want sudo to set $HOME in shell mode. */ #undef SHELL_SETS_HOME -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -#undef STACK_DIRECTION - /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS @@ -568,6 +741,13 @@ /* The number of tries a user gets to enter their password. */ #undef TRIES_FOR_PASSWORD +/* Define to 1 if the `unsetenv' function returns void instead of `int'. */ +#undef UNSETENV_VOID + +/* Define to 1 if you want to create ~/.sudo_as_admin_successful if the user + is in the admin group the first time they run sudo. */ +#undef USE_ADMIN_FLAG + /* Define to 1 if you want to insult the user for entering an incorrect password. */ #undef USE_INSULTS @@ -575,24 +755,15 @@ /* Define to 1 if you use GNU stow packaging. */ #undef USE_STOW -/* Define to 1 if you want a different ticket file for each tty. */ -#undef USE_TTY_TICKETS - -/* Define to "void" if your compiler supports void pointers, else use "char". - */ -#undef VOID +/* Define to 1 if using a non-Unix group lookup implementation. */ +#undef USING_NONUNIX_GROUPS /* Define to avoid using the passwd/shadow file for authentication. */ #undef WITHOUT_PASSWD -/* Path to the ldap.conf file */ -#undef _PATH_LDAP_CONF - -/* Path to the ldap.secret file */ -#undef _PATH_LDAP_SECRET - -/* The fully qualified pathname of sudo_noexec.so */ -#undef _PATH_SUDO_NOEXEC +/* Define to `signed' or nothing if compiler does not support a signed type + qualifier. */ +#undef __signed /* Define to empty if `const' does not conform to ANSI C. */ #undef const @@ -612,7 +783,7 @@ /* Define to `int' if does not define. */ #undef sig_atomic_t -/* Define if your system lacks the size_t type. */ +/* Define to `unsigned int' if does not define. */ #undef size_t /* Define if your system lacks the ssize_t type. */ @@ -621,29 +792,33 @@ /* Define to `int' if doesn't define. */ #undef uid_t -/* Define to the type of elements in the array set by `getgroups'. - Usually this is either `int' or `gid_t'. */ -#undef GETGROUPS_T - /* Define to empty if the keyword `volatile' does not work. Warning: valid code using `volatile' can become incorrect without. Disable with care. */ #undef volatile /* - * Macros to pull sec and nsec parts of mtime from struct stat. - * We need to be able to convert between timeval and timespec - * so the last 3 digits of tv_nsec are not significant. + * Macros to convert ctime and mtime into timevals. */ +#define timespec2timeval(_ts, _tv) do { \ + (_tv)->tv_sec = (_ts)->tv_sec; \ + (_tv)->tv_usec = (_ts)->tv_nsec / 1000; \ +} while (0) + #ifdef HAVE_ST_MTIM -# define mtim_getsec(_x) ((_x).st_mtim.tv_sec) -# define mtim_getnsec(_x) (((_x).st_mtim.tv_nsec / 1000) * 1000) +# ifdef HAVE_ST__TIM +# define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctim.st__tim, (_y)) +# define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtim.st__tim, (_y)) +# else +# define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctim, (_y)) +# define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtim, (_y)) +# endif #else # ifdef HAVE_ST_MTIMESPEC -# define mtim_getsec(_x) ((_x).st_mtimespec.tv_sec) -# define mtim_getnsec(_x) (((_x).st_mtimespec.tv_nsec / 1000) * 1000) +# define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctimespec, (_y)) +# define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtimespec, (_y)) # else -# define mtim_getsec(_x) ((_x).st_mtime) -# define mtim_getnsec(_x) (0) +# define ctim_get(_x, _y) do { (_y)->tv_sec = (_x)->st_ctime; (_y)->tv_usec = 0; } while (0) +# define mtim_get(_x, _y) do { (_y)->tv_sec = (_x)->st_mtime; (_y)->tv_usec = 0; } while (0) # endif /* HAVE_ST_MTIMESPEC */ #endif /* HAVE_ST_MTIM */