version 1.1.1.5, 2013/10/14 07:56:33
|
version 1.1.1.6, 2014/06/15 16:12:53
|
Line 1
|
Line 1
|
/* config.h.in. Generated from configure.in by autoheader. */ | /* config.h.in. Generated from configure.ac by autoheader. */ |
|
|
#ifndef _SUDO_CONFIG_H |
#ifndef _SUDO_CONFIG_H |
#define _SUDO_CONFIG_H |
#define _SUDO_CONFIG_H |
Line 70
|
Line 70
|
/* Define to 1 to enable BSM audit support. */ |
/* Define to 1 to enable BSM audit support. */ |
#undef HAVE_BSM_AUDIT |
#undef HAVE_BSM_AUDIT |
|
|
|
/* Define to 1 if you have the `clock_gettime' function. */ |
|
#undef HAVE_CLOCK_GETTIME |
|
|
/* Define to 1 if you have the `closefrom' function. */ |
/* Define to 1 if you have the `closefrom' function. */ |
#undef HAVE_CLOSEFROM |
#undef HAVE_CLOSEFROM |
|
|
Line 259
|
Line 262
|
/* Define to 1 if your Kerberos is Heimdal. */ |
/* Define to 1 if your Kerberos is Heimdal. */ |
#undef HAVE_HEIMDAL |
#undef HAVE_HEIMDAL |
|
|
|
/* Define to 1 if you have the `inet_pton' function. */ |
|
#undef HAVE_INET_PTON |
|
|
/* Define to 1 if you have the `initprivs' function. */ |
/* Define to 1 if you have the `initprivs' function. */ |
#undef HAVE_INITPRIVS |
#undef HAVE_INITPRIVS |
|
|
Line 364
|
Line 370
|
/* Define to 1 if you have the <login_cap.h> header file. */ |
/* Define to 1 if you have the <login_cap.h> header file. */ |
#undef HAVE_LOGIN_CAP_H |
#undef HAVE_LOGIN_CAP_H |
|
|
/* Define to 1 if the system has the type `long long int'. */ | /* Define to 1 if the system has the type 'long long int'. */ |
#undef HAVE_LONG_LONG_INT |
#undef HAVE_LONG_LONG_INT |
|
|
/* Define to 1 if you have the `lrand48' function. */ |
/* Define to 1 if you have the `lrand48' function. */ |
Line 397
|
Line 403
|
/* Define to 1 if you have the <mps/ldap_ssl.h> header file. */ |
/* Define to 1 if you have the <mps/ldap_ssl.h> header file. */ |
#undef HAVE_MPS_LDAP_SSL_H |
#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 <ndir.h> header file, and it defines `DIR'. */ |
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ |
#undef HAVE_NDIR_H |
#undef HAVE_NDIR_H |
|
|
Line 442
|
Line 445
|
/* Define to 1 if you have the <paths.h> header file. */ |
/* Define to 1 if you have the <paths.h> header file. */ |
#undef HAVE_PATHS_H |
#undef HAVE_PATHS_H |
|
|
|
/* Define to 1 if you have the `poll' function. */ |
|
#undef HAVE_POLL |
|
|
/* Define to 1 if you have the `posix_openpt' function. */ |
/* Define to 1 if you have the `posix_openpt' function. */ |
#undef HAVE_POSIX_OPENPT |
#undef HAVE_POSIX_OPENPT |
|
|
Line 581
|
Line 587
|
/* Define to 1 if you have the `strtoll' function. */ |
/* Define to 1 if you have the `strtoll' function. */ |
#undef HAVE_STRTOLL |
#undef HAVE_STRTOLL |
|
|
|
/* Define to 1 if you have the `strtonum' function. */ |
|
#undef HAVE_STRTONUM |
|
|
/* Define to 1 if `d_type' is a member of `struct dirent'. */ |
/* Define to 1 if `d_type' is a member of `struct dirent'. */ |
#undef HAVE_STRUCT_DIRENT_D_TYPE |
#undef HAVE_STRUCT_DIRENT_D_TYPE |
|
|
Line 602
|
Line 611
|
/* Define to 1 if `pr_ttydev' is a member of `struct psinfo'. */ |
/* Define to 1 if `pr_ttydev' is a member of `struct psinfo'. */ |
#undef HAVE_STRUCT_PSINFO_PR_TTYDEV |
#undef HAVE_STRUCT_PSINFO_PR_TTYDEV |
|
|
/* Define if your struct sockadr has an sa_len field. */ | /* Define if your struct sockaddr_in has a sin_len field. */ |
| #undef HAVE_STRUCT_SOCKADDR_IN_SIN_LEN |
| |
| /* Define if your struct sockaddr has an sa_len field. */ |
#undef HAVE_STRUCT_SOCKADDR_SA_LEN |
#undef HAVE_STRUCT_SOCKADDR_SA_LEN |
|
|
/* Define to 1 if the system has the type `struct timespec'. */ |
/* Define to 1 if the system has the type `struct timespec'. */ |
Line 718
|
Line 730
|
/* Define to 1 if you have the `unsetenv' function. */ |
/* Define to 1 if you have the `unsetenv' function. */ |
#undef HAVE_UNSETENV |
#undef HAVE_UNSETENV |
|
|
|
/* Define to 1 if the system has the type 'unsigned long long int'. */ |
|
#undef HAVE_UNSIGNED_LONG_LONG_INT |
|
|
/* Define to 1 if you have the <util.h> header file. */ |
/* Define to 1 if you have the <util.h> header file. */ |
#undef HAVE_UTIL_H |
#undef HAVE_UTIL_H |
|
|
Line 856
|
Line 871
|
/* Define to 1 if you want a two line OTP (S/Key or OPIE) prompt. */ |
/* Define to 1 if you want a two line OTP (S/Key or OPIE) prompt. */ |
#undef LONG_OTP_PROMPT |
#undef LONG_OTP_PROMPT |
|
|
/* Define to the sub-directory in which libtool stores uninstalled libraries. | /* Define to the sub-directory where libtool stores uninstalled libraries. */ |
*/ | |
#undef LT_OBJDIR |
#undef LT_OBJDIR |
|
|
/* The subject of the mail sent by sudo to the MAILTO user/address. */ |
/* The subject of the mail sent by sudo to the MAILTO user/address. */ |
Line 900
|
Line 914
|
/* Define to 1 if you want a single ticket file instead of per-tty files. */ |
/* Define to 1 if you want a single ticket file instead of per-tty files. */ |
#undef NO_TTY_TICKETS |
#undef NO_TTY_TICKETS |
|
|
|
/* Define if your C preprocessor does not support variadic macros. */ |
|
#undef NO_VARIADIC_MACROS |
|
|
/* Define to the address where bug reports for this package should be sent. */ |
/* Define to the address where bug reports for this package should be sent. */ |
#undef PACKAGE_BUGREPORT |
#undef PACKAGE_BUGREPORT |
|
|
Line 928
|
Line 945
|
ones. */ |
ones. */ |
#undef PC_INSULTS |
#undef PC_INSULTS |
|
|
|
/* Enable replacement (v)snprintf if system (v)snprintf is broken. */ |
|
#undef PREFER_PORTABLE_SNPRINTF |
|
|
/* The syslog priority sudo will use for unsuccessful attempts/errors. */ |
/* The syslog priority sudo will use for unsuccessful attempts/errors. */ |
#undef PRI_FAILURE |
#undef PRI_FAILURE |
|
|
Line 975
|
Line 995
|
/* The size of `long int', as computed by sizeof. */ |
/* The size of `long int', as computed by sizeof. */ |
#undef SIZEOF_LONG_INT |
#undef SIZEOF_LONG_INT |
|
|
|
/* Define to 1 to compile the sudoers plugin statically into the sudo binary. |
|
*/ |
|
#undef STATIC_SUDOERS_PLUGIN |
|
|
/* Define to 1 if you have the ANSI C header files. */ |
/* Define to 1 if you have the ANSI C header files. */ |
#undef STDC_HEADERS |
#undef STDC_HEADERS |
|
|
/* Define to 1 if the code in interfaces.c does not compile for you. */ |
/* Define to 1 if the code in interfaces.c does not compile for you. */ |
#undef STUB_LOAD_INTERFACES |
#undef STUB_LOAD_INTERFACES |
|
|
/* The name of the sudoers plugin, including extension. */ |
|
#undef SUDOERS_PLUGIN |
|
|
|
/* An instance string to append to the username (separated by a slash) for |
/* An instance string to append to the username (separated by a slash) for |
Kerberos V authentication. */ |
Kerberos V authentication. */ |
#undef SUDO_KRB5_INSTANCE |
#undef SUDO_KRB5_INSTANCE |
Line 1021
|
Line 1042
|
/* Define to avoid using the passwd/shadow file for authentication. */ |
/* Define to avoid using the passwd/shadow file for authentication. */ |
#undef WITHOUT_PASSWD |
#undef WITHOUT_PASSWD |
|
|
|
/* Enable large inode numbers on Mac OS X 10.5. */ |
|
#ifndef _DARWIN_USE_64_BIT_INODE |
|
# define _DARWIN_USE_64_BIT_INODE 1 |
|
#endif |
|
|
/* Number of bits in a file offset, on hosts where this is settable. */ |
/* Number of bits in a file offset, on hosts where this is settable. */ |
#undef _FILE_OFFSET_BITS |
#undef _FILE_OFFSET_BITS |
|
|
Line 1031
|
Line 1057
|
__func__ */ |
__func__ */ |
#undef __func__ |
#undef __func__ |
|
|
/* Define to `signed' or nothing if compiler does not support a signed type | /* Define to `int' if <time.h> does not define. */ |
qualifier. */ | #undef clockid_t |
#undef __signed | |
|
|
/* Define to empty if `const' does not conform to ANSI C. */ |
/* Define to empty if `const' does not conform to ANSI C. */ |
#undef const |
#undef const |
Line 1089
|
Line 1114
|
/* Define to empty if the keyword `volatile' does not work. Warning: valid |
/* Define to empty if the keyword `volatile' does not work. Warning: valid |
code using `volatile' can become incorrect without. Disable with care. */ |
code using `volatile' can become incorrect without. Disable with care. */ |
#undef volatile |
#undef volatile |
|
|
/* |
|
* 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 |
|
# 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 ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctimespec, (_y)) |
|
# define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtimespec, (_y)) |
|
# else |
|
# 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 */ |
|
|
|
#ifdef __GNUC__ |
|
# define ignore_result(x) do { \ |
|
__typeof__(x) y = (x); \ |
|
(void)y; \ |
|
} while(0) |
|
#else |
|
# define ignore_result(x) (void)(x) |
|
#endif |
|
|
|
/* BSD compatibility on some SVR4 systems. */ |
/* BSD compatibility on some SVR4 systems. */ |
#ifdef __svr4__ |
#ifdef __svr4__ |