--- embedaddon/sudo/config.h.in 2013/07/22 10:46:10 1.1.1.4 +++ embedaddon/sudo/config.h.in 2014/06/15 16:12:53 1.1.1.6 @@ -1,4 +1,4 @@ -/* config.h.in. Generated from configure.in by autoheader. */ +/* config.h.in. Generated from configure.ac by autoheader. */ #ifndef _SUDO_CONFIG_H #define _SUDO_CONFIG_H @@ -70,6 +70,9 @@ /* Define to 1 to enable BSM audit support. */ #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. */ #undef HAVE_CLOSEFROM @@ -137,9 +140,21 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ENDIAN_H +/* Define to 1 if you have the `exect' function. */ +#undef HAVE_EXECT + +/* Define to 1 if you have the `execvP' function. */ +#undef HAVE_EXECVP + +/* Define to 1 if you have the `execvpe' function. */ +#undef HAVE_EXECVPE + /* Define to 1 if your system has the F_CLOSEM fcntl. */ #undef HAVE_FCNTL_CLOSEM +/* Define to 1 if you have the `fexecve' function. */ +#undef HAVE_FEXECVE + /* Define to 1 if you have the `fgetln' function. */ #undef HAVE_FGETLN @@ -195,6 +210,9 @@ /* Define to 1 if you have the `getline' function. */ #undef HAVE_GETLINE +/* Define to 1 if you have the `getopt_long' function. */ +#undef HAVE_GETOPT_LONG + /* Define to 1 if you have the `getprogname' function. */ #undef HAVE_GETPROGNAME @@ -244,6 +262,9 @@ /* Define to 1 if your Kerberos is 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. */ #undef HAVE_INITPRIVS @@ -349,7 +370,7 @@ /* Define to 1 if you have the header file. */ #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 /* Define to 1 if you have the `lrand48' function. */ @@ -370,6 +391,9 @@ /* Define to 1 if you have the `memrchr' function. */ #undef HAVE_MEMRCHR +/* Define to 1 if you have the `memset_s' function. */ +#undef HAVE_MEMSET_S + /* Define to 1 if you have the `mkdtemp' function. */ #undef HAVE_MKDTEMP @@ -379,9 +403,6 @@ /* 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 @@ -406,6 +427,9 @@ /* Define to 1 if you use NRL OPIE. */ #undef HAVE_OPIE +/* Define to 1 if you have the `optreset' symbol. */ +#undef HAVE_OPTRESET + /* Define to 1 if you use PAM authentication. */ #undef HAVE_PAM @@ -421,9 +445,18 @@ /* Define to 1 if you have the header file. */ #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. */ #undef HAVE_POSIX_OPENPT +/* Define to 1 if you have the `posix_spawn' function. */ +#undef HAVE_POSIX_SPAWN + +/* Define to 1 if you have the `posix_spawnp' function. */ +#undef HAVE_POSIX_SPAWNP + /* Define to 1 if you have the `priv_set' function. */ #undef HAVE_PRIV_SET @@ -554,6 +587,9 @@ /* Define to 1 if you have the `strtoll' function. */ #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'. */ #undef HAVE_STRUCT_DIRENT_D_TYPE @@ -575,7 +611,10 @@ /* Define to 1 if `pr_ttydev' is a member of `struct psinfo'. */ #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 /* Define to 1 if the system has the type `struct timespec'. */ @@ -691,6 +730,9 @@ /* Define to 1 if you have the `unsetenv' function. */ #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 header file. */ #undef HAVE_UTIL_H @@ -715,6 +757,33 @@ /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL +/* Define to 1 if you have the `_execl' function. */ +#undef HAVE__EXECL + +/* Define to 1 if you have the `_execle' function. */ +#undef HAVE__EXECLE + +/* Define to 1 if you have the `_execlp' function. */ +#undef HAVE__EXECLP + +/* Define to 1 if you have the `_exect' function. */ +#undef HAVE__EXECT + +/* Define to 1 if you have the `_execv' function. */ +#undef HAVE__EXECV + +/* Define to 1 if you have the `_execve' function. */ +#undef HAVE__EXECVE + +/* Define to 1 if you have the `_execvP' function. */ +#undef HAVE__EXECVP + +/* Define to 1 if you have the `_execvpe' function. */ +#undef HAVE__EXECVPE + +/* Define to 1 if you have the `_fexecve' function. */ +#undef HAVE__FEXECVE + /* Define to 1 if you have the `_getpty' function. */ #undef HAVE__GETPTY @@ -727,18 +796,60 @@ /* Define to 1 if you have the `_nss_XbyY_buf_alloc' function. */ #undef HAVE__NSS_XBYY_BUF_ALLOC +/* Define to 1 if you have the `_posix_spawn' function. */ +#undef HAVE__POSIX_SPAWN + +/* Define to 1 if you have the `_posix_spawnp' function. */ +#undef HAVE__POSIX_SPAWNP + /* Define to 1 if you have the `_ttyname_dev' function. */ #undef HAVE__TTYNAME_DEV +/* Define to 1 if you have the `__execl' function. */ +#undef HAVE___EXECL + +/* Define to 1 if you have the `__execle' function. */ +#undef HAVE___EXECLE + +/* Define to 1 if you have the `__execlp' function. */ +#undef HAVE___EXECLP + +/* Define to 1 if you have the `__exect' function. */ +#undef HAVE___EXECT + +/* Define to 1 if you have the `__execv' function. */ +#undef HAVE___EXECV + +/* Define to 1 if you have the `__execve' function. */ +#undef HAVE___EXECVE + +/* Define to 1 if you have the `__execvP' function. */ +#undef HAVE___EXECVP + +/* Define to 1 if you have the `__execvpe' function. */ +#undef HAVE___EXECVPE + +/* Define to 1 if you have the `__fexecve' function. */ +#undef HAVE___FEXECVE + /* Define to 1 if the compiler supports the C99 __func__ variable. */ #undef HAVE___FUNC__ +/* Define to 1 if you have dyld with __interpose attribute support. */ +#undef HAVE___INTERPOSE + /* Define to 1 if you have the `__nss_initf_group' function. */ #undef HAVE___NSS_INITF_GROUP /* Define to 1 if you have the `__nss_XbyY_buf_alloc' function. */ #undef HAVE___NSS_XBYY_BUF_ALLOC +/* Define to 1 if you have the `__posix_spawn' function. */ +#undef HAVE___POSIX_SPAWN + +/* Define to 1 if you have the `__posix_spawnp' function. */ +#undef HAVE___POSIX_SPAWNP + /* Define to 1 if your crt0.o defines the __progname symbol for you. */ #undef HAVE___PROGNAME @@ -760,8 +871,7 @@ /* Define to 1 if you want a two line OTP (S/Key or OPIE) 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 /* The subject of the mail sent by sudo to the MAILTO user/address. */ @@ -804,6 +914,9 @@ /* Define to 1 if you want a single ticket file instead of per-tty files. */ #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. */ #undef PACKAGE_BUGREPORT @@ -832,6 +945,9 @@ ones. */ #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. */ #undef PRI_FAILURE @@ -879,15 +995,16 @@ /* The size of `long int', as computed by sizeof. */ #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. */ #undef STDC_HEADERS /* Define to 1 if the code in interfaces.c does not compile for you. */ #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 Kerberos V authentication. */ #undef SUDO_KRB5_INSTANCE @@ -925,6 +1042,11 @@ /* Define to avoid using the passwd/shadow file for authentication. */ #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. */ #undef _FILE_OFFSET_BITS @@ -935,9 +1057,8 @@ __func__ */ #undef __func__ -/* Define to `signed' or nothing if compiler does not support a signed type - qualifier. */ -#undef __signed +/* Define to `int' if does not define. */ +#undef clockid_t /* Define to empty if `const' does not conform to ANSI C. */ #undef const @@ -945,10 +1066,16 @@ /* Define to `int' if does not define. */ #undef dev_t +/* Define to `int' if does not define. */ +#undef errno_t + /* Define to `int' if doesn't define. */ #undef gid_t /* Define to `unsigned int' if does not define. */ +#undef id_t + +/* Define to `unsigned int' if does not define. */ #undef ino_t /* Define to `int' if does not define. */ @@ -957,6 +1084,9 @@ /* Define to an OS-specific initialization function or `os_init_common'. */ #undef os_init +/* Define to `size_t' if does not define. */ +#undef rsize_t + /* Define to `int' if does not define. */ #undef sig_atomic_t @@ -984,41 +1114,6 @@ /* 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 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. */ #ifdef __svr4__